Using WMI

nag ios nagiostool at gmail.com
Tue Jul 12 09:41:30 CEST 2011


Hi ,
       To check my windows machine i have tried to edit the windows.cfg file
and created the window.cfg with few changes the content of the files are

define host{

use windows-server ; Inherit default values from a Windows server template
(make sure you keep this line!)

host_name winserver

alias My Windows Server

address 192.168.1.2

}


define service{
use                         generic-service
host_name              winserver
service_description  checkcpu
check_command     check_wmi!CHECKCPU! -m checkcpu
}

and in the command.cfg file i have included
as====================================

define command{
command_name                         check_wmi
command_line                            $USER1$/check_wmi.pl -H hostname -u
domainname/user -p password -w $ARG1$ -c $ARG2$ -m $ARG0$
}



and when i'm checking the inforamtion abt the windows machine in browser i'm
getting the error as

                                   Error:Host Status Information Not Found!

Can anyone help me....???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110712/6f857331/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list