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] check_windows_ plugin configuration
-
- Posts: 52
- Joined: Fri Oct 10, 2014 3:17 pm
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: [Help] check_windows_ plugin configuration
You are missing the 120 value after -tsh.shekhar89 wrote:command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -t -c $ARG1$
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 52
- Joined: Fri Oct 10, 2014 3:17 pm
Re: [Help] check_windows_ plugin configuration
Hi Box293,
Thanx its working now
Thanx its working now