NSCLient 4.1.73
Windows 2012 R2 Server
Defined host and several services all but two are working both are check_nrpe types. See below.
Code: Select all
define service {
use generic-service
host_name metro-12r2-ltdb
service_description Check OS Version
check_command check_nrpe!CheckWMI! -a "Query=Select Version,Caption from win32_OperatingSystem" columnSyntax="%value%" columnSeparator=", " ignore-perf-data
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups NT-admins
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
servicegroups OSVersion
use generic-service
}
define service {
use generic-service
host_name metro-12r2-ltdb
service_description Check All Service
check_command check_nrpe!checkservicestate! -a CheckAll
servicegroups ALLServices
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups NT-admins
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
}
Check All Service Notifications for this service have been disabled UNKNOWN 01-22-2017 18:34:08 6d 6h 33m 52s 3/3 ERROR: Missing argument exception.
Check OS Version Notifications for this service have been disabled CRITICAL 01-22-2017 18:34:08 10d 5h 19m 57s 3/3 Missing argument(s).
These are the first two services for Windows Server I defined using Check_NRPE
I attached my nsclient.ini file
Any thoughts on why this is not working? What am I missing here?
Thanks