first of all sorry for my bad english (google trad)
i'm new to nagios
I add my windows machine via ncpa and my host and it's service are down
define host {
use linux-server
host_name windows-host-ncpa
alias windows 10 host
address 10.0.2.15
max_check_attempts 5;
}
define service {
use generic-service
host_name windows-host-ncpa
service_description check Agent Version
check_command check_ncpa!-t 'bell' -p -P 5693 -M system/agent_version
}
define service {
use generic-service
host_name windows-host-ncpa
service_description CPU Usage
check_command check_ncpa!-t 'bell' -P 5693 -M cpu/percent -w 20 -c 40 -q 'aggregate=avg'
}
define service {
use generic-service
host_name windows-host-ncpa
service_description Memory Usage
check_command check_ncpa!-t 'bell' -P 5693 -M memory/virtual -w 50 -c 80 -u G
}
define service {
use generic-service
host_name windows-host-ncpa
service_description Process Count
check_command check_ncpa!-t 'bell' -P 5693 -M processes -w 150 -c 200
}
define command {
command_name check_ncpa
command_line $USER1$/check_ncpa.py -H $HOSTADDRESS$ $ARG1$
}
and in my ncpa on windows i change just the gid and the token