[Help] check_windows_ plugin configuration
Posted: Fri Oct 24, 2014 6:39 am
Hi Friends,
Help me in configuring check_windows_updates.ps1, I am getting error : "Incorrect command line arguments supplied" [ screenshot attached]
But when i am trying to check from nagios server, i m getting the updates details . [screenshot attached]
" ./check_nrpe -H 192.168.160.129 -t 120 -c check_updates" = Getting all the updates avaliable.
Can any one help me in configuring??
Here is my command.cfg details :
define command{
command_name check_nrpe
command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -t -c $ARG1$
My service defination :
define service{
use generic-service
host_name winserver
service_description Windows Update
check_command check_nrpe!check_updates
}
Help me in configuring check_windows_updates.ps1, I am getting error : "Incorrect command line arguments supplied" [ screenshot attached]
But when i am trying to check from nagios server, i m getting the updates details . [screenshot attached]
" ./check_nrpe -H 192.168.160.129 -t 120 -c check_updates" = Getting all the updates avaliable.
Can any one help me in configuring??
Here is my command.cfg details :
define command{
command_name check_nrpe
command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -t -c $ARG1$
My service defination :
define service{
use generic-service
host_name winserver
service_description Windows Update
check_command check_nrpe!check_updates
}