Search found 5 matches

by mcnabbm
Tue Dec 10, 2013 11:07 am
Forum: Nagios XI
Topic: WMI text strings
Replies: 6
Views: 221

Re: WMI text strings

I think the backslashes are inserted through the XI interface. I had my SA run the command from the command line and it seems to work. It just doesn't have the right syntax for the XI front-end to pass it correctly.
by mcnabbm
Tue Dec 10, 2013 11:05 am
Forum: Nagios XI
Topic: WMI text strings
Replies: 6
Views: 221

Re: WMI text strings

PROD [andersonr@nagios-p1-s1 ~]$ /usr/local/nagios/libexec/check_nrpe -H besp1s1 -t 30 -c CheckWMIValue -a "Query=Select Displayname, Started, StartMode, State, Status from Win32_BaseService Where Started=0 and Displayname='BlackBerry Dispatcher'"
OK: Everything seems fine.
by mcnabbm
Fri Dec 06, 2013 9:13 am
Forum: Nagios XI
Topic: WMI text strings
Replies: 6
Views: 221

Re: WMI text strings

COMMAND: /usr/local/nagios/libexec/check_nrpe -H besp1s1 -t 30 -c CheckWMIValue -a "Query=Select Displayname, Started, StartMode, State, Status from Win32_BaseService Where Started=0 and Displayname=\'BlackBerry Dispatcher\'" OUTPUT: WMIQuery failed: ExecQuery of 'Select Displayname, Start...
by mcnabbm
Tue Dec 03, 2013 4:30 pm
Forum: Nagios XI
Topic: WMI text strings
Replies: 6
Views: 221

WMI text strings

I am using WMI to do checks on our windows servers for specific processes such as "BlackBerry Dispatcher". I have not been able to get the syntax correct in the where clause to only look for the one service. I would also like to see the output but don't get anything. Please help. "Que...
by mcnabbm
Thu Oct 31, 2013 12:27 pm
Forum: Nagios XI
Topic: check_nrpe with WMI scripting
Replies: 1
Views: 173

check_nrpe with WMI scripting

COMMAND: /usr/local/nagios/libexec/check_nrpe -H BAMDEV1D1 -t 30 -c CheckWMIValue -a "Query=Select DriveLetter, FreeSpace from win32_Volume where DriveType=3" MinCrit=5000 Check:Disk=FreeSpace AliasCol=DriveLetter OUTPUT: OK: Everything seems fine.|'C: Disk'=3375972352;0;5000 'D: Disk'=847...