Re: [Nagios-users] Check_WMI

2011-07-11 Thread nag ios
It worked when i changed it and in the service definition i have added check_command check_wmi!checkcpu!70!80! and when i'm checking the service its showing the error as Error:Service Status Not Found! but On Mon, Jul 11, 2011 at 12:31 PM, David Wilkinson < nagios-us...@noroutetohos

Re: [Nagios-users] Check_WMI

2011-07-11 Thread Axel Rosenski
On Montag, 11. Jul. 11 08:44:56 nag ios wrote: > define service{ > use local-service > host_name localhost > service_description checkcpu > check_command check_wmi!checkcpu!c!70!80 > } > > define command{ > command_name check_wmi >

Re: [Nagios-users] Check_WMI

2011-07-11 Thread David Wilkinson
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 -H hostname -u domainname/user -p password -w $ARG1$ -c $ARG2$ } Hi Try