Hi all,
I installed the centreon OVA and activated it with the 100 IT license. Installed and issues a ssl certificate so the webpage is secure.
Installed the following packages:
Windows NS Client 0.5 and Windows NS Client API.
Followed the manual at: Windows NRPE 0.5 | Centreon Documentation
On a windows server I installed the centreon-nsclient and made the following config file.
; SCHEDULER SECTION - Section for the Scheduler module.
[/settings/scheduler/schedules]
host_check = Check_OK "Everything is working fine"
CPU Load = checkCPU warn=80 crit=90 time=5m time=1m time=30s
Memory Usage = checkMem MaxWarn=80% MaxCrit=90% ShowAll=long type=physical type=virtual type=paged type=page
Drive C: Disk Usage = CheckDriveSize MinWarn=10% MinCrit=5% Drive=C: ShowAll
Uptime = CheckUptime MinCrit=12h ShowAll
Print Spooler Service = check_service service=spooler
; SCHEDULER SECTION - Section for the Scheduler module.
[/settings/scheduler]
; THREAD COUNT - Number of threads to use.
threads = 5
[/settings/scheduler/schedules/default]
interval = 1m
channel = NRDP
; LOG SECTION - Configure log file properties.
[/settings/log/file]
; MAXIMUM FILE SIZE - When file size reaches this it will be truncated to 50% if set to 0 (default) truncation will be disabled
max size = -1
; LOG SETTINGS - Section for configuring the log handling.
[/settings/log]
; LOG LEVEL - Log level to use. Available levels are error,warning,info,debug,trace
level = info
; DATEMASK - The size of the buffer to use when getting messages this affects the speed and maximum size of messages you can recieve.
date format = %Y-%m-%d %H:%M:%S
; FILENAME - The file to write log data to. Set this to none to disable log to file.
file name = ${exe-path}/nsclient.log
; CRASH HANDLER - Section for configuring the crash handler.
[/settings/crash]
; RESTART SERVICE NAME - The url to submit crash reports to
restart target = NSCP
; CRASH ARCHIVE LOCATION - The folder to archive crash dumps in
archive folder = ${shared-path}/crash-dumps
; SUBMISSION URL - The url to submit crash reports to
submit url = https://crash.nsclient.org/post
;
[/paths]
; Path for shared-path -
shared-path = C:\Program Files\centreon-nsclient\NSClient++
; Path for module-path -
module-path = ${exe-path}/modules
; Path for exe-path -
exe-path = C:\Program Files\centreon-nsclient\NSClient++
; MODULES - A list of modules.
[/modules]
; Scheduler - Use this to schedule check commands and jobs in conjunction with for instance passive monitoring through NSCA
Scheduler = enabled
; CheckSystem - Various system related checks, such as CPU load, process state, service state memory usage and PDH counters.
CheckSystem = enabled
; CheckDisk - CheckDisk can check various file and disk related things.
CheckDisk = enabled
; CheckHelpers - Various helper function to extend other checks.
CheckHelpers = enabled
; NRDPClient - NRDP client can be used both from command line and from queries to check remote systes via NRDP
NRDPClient = enabled
; REALTIME FILTERS - A set of filters to use in real-time mode
[/settings/system/windows/real-time/memory]
; REALTIME FILTERS - A set of filters to use in real-time mode
[/settings/system/windows/real-time/checks]
; SERVICE MAPPING SECTION - Configure which services has to be in which state
[/settings/system/windows/service mapping]
; COUNTER - Definition for counter: default
[/settings/system/windows/counters/default]
; COUNTER TYPE - The type of counter to use long, large and double
type = UNKNOWN
; FLAGS - Extra flags to configure the counter (nocap100, 1000, noscale)
flags = UNKNOWN
; COLLECTION STRATEGY - The way to handled values when collecting them: static means we keep the last known value, rrd means we store values in a buffer from which you can retrieve the average
collection strategy = UNKNOWN
; Interpret instances - IF we shoul interpret instance (default auto). Values: auto, true, false
instances = UNKNOWN
; COUNTER - The counter to check
counter = UNKNOWN
; BUFFER SIZE - Size of buffer (in seconds) larger buffer use more memory
buffer size = UNKNOWN
; REALTIME FILTERS - A set of filters to use in real-time mode
[/settings/system/windows/real-time/process]
; WINDOWS CHECK SYSTEM - Section for system checks and system settings
[/settings/system/windows]
; DEFAULT LENGTH - Used to define the default interval for range buffer checks (ie. CPU).
default buffer length = 1h
; REALTIME FILTERS - A set of filters to use in real-time mode
[/settings/system/windows/real-time/cpu]
; COUNTERS - Add counters to check
[/settings/system/windows/counters]
; disk_queue_length - To configure this create a section under: /settings/system/windows/counters/disk_queue_length
disk_queue_length = UNKNOWN
; CONFIGURE REALTIME CHECKING - A set of options to configure the real time checks
[/settings/system/windows/real-time]
; INCLUDED FILES - Files to be included in the configuration
[/includes]
; TARGET - Target definition for: default
[/settings/NRDP/client/targets/default]
; TIMEOUT - Timeout when reading/writing packets to/from sockets.
timeout = 30
address = https://<my-ip>/nrpd/
token = <mytoken>
; SMTP CLIENT SECTION - Section for SMTP passive check module.
[/settings/NRDP/client]
; HOSTNAME - The host name of the monitored computer. Set this to auto (default) to use the windows name of the computer. auto Hostname ${host} Hostname ${host_lc} Hostname in lowercase ${host_uc} Hostname in uppercase ${domain} Domainname ${domain_lc} Domainname in lowercase ${domain_uc} Domainname in uppercase
hostname = auto
; CHANNEL - The channel to listen to.
channel = NRDP
; REMOTE TARGET DEFINITIONS -
[/settings/NRDP/client/targets]
; CLIENT HANDLER SECTION -
[/settings/NRDP/client/handlers]
The logfile shows that the server refuses the connection. It looks like the NRDP daemon is not running/installed. Does anyone know what the steps are to make sure the connection is being accepted? As I mentioned before it is the OVA from the website as default as possible.