I am new on Nagios and I am trying to use NRPE for manage my windows service.
I want to manage specific service like the service "Power" and want to see if he is started or not. ( I succes with check_nt )
But actually i got some error :
with this code on the winprod.cfg file :Critical: MMCSS=stopped(auto),delayed
(clr_optimization_v4.0.30319_32=stopped
(delayed)
clr_optimization_v4.0.30319_64=stopped
(delayed),sppsvc=stopped (delayed))
Code: Select all
define service{
use local-service
host_name windowsPC
service_description Power
check_command check_nrpe_1arg!alias_service service=Power "critical=state ='stopped'"
}
Code: Select all
[/External Alias]
alias_cpu=checkCPU warn=90 crit=95 time=1m time=5m time=15m
alias_service=checkServiceState CheckAll
-check_nrpe!alias_service
-check_nrpe!alias_service!Power
-check_nrpe!alias_service "Power"
-etc...
If someone can help me/guide me to succes this, it would be amazing