On 11/07/11 07:44, nag ios wrote:
In the command.cfg file i have added the following lines
define command{
command_name check_wmi
command_line $USER1$/check_wmi.pl <http://check_wmi.pl>
-H hostname -u domainname/user -p password -w $ARG1$ -c $ARG2$
}
Hi
Try changing the command to the following
command_line $USER1$/check_wmi.pl <http://check_wmi.pl> -H hostname
-u domainname/user -p password -w $ARG1$ -c $ARG2$ -m $ARG0$
as checkcpu is not passedto the check
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null