Fwd: How to monitor specific windows services using nsclient++

Matthew Jurgens nagiosusers at edcint.co.nz
Thu Jun 9 14:21:51 CEST 2011


On 9/06/2011 4:59 AM, Manish Kumar wrote:
> Thanks...@ all for your prompt help..i will try it out..
>
> @Claudio :) exactly.. thanks..
>
>
What you might find more useful is not to have to install NSClient++ on 
any servers at all, nor to rely on a "proxy" NSClient++, nor to use NRPE.

All of the checks that have been listed so far can be done in a 
client-less manner using check_wmi_plus
www.edcint.co.nz/checkwmiplus

The site lists the Nagios command definitions you need.
You can check all the services in a single check

Here's a manually run example:
/opt/nagios/bin/plugins/check_wmi_plus.pl -H win2008r2a -m checkservice 
-u USER -p PASS -a auto
OK - Found 54 Services(s), 51 OK and 3 with problems. 'Shell Hardware 
Detection' (ShellHWDetection) is Stopped, 'Software Protection' (sppsvc) 
is Stopped, 'Windows Licensing Monitoring Service' (WLMS) is 
Stopped.|'Total Service Count'=54; 'Service Count OK State'=51; 'Service 
Count Problem State'=3;

-- 
Smartmon System Monitoring <http://www.smartmon.com.au>
www.smartmon.com.au <http://www.smartmon.com.au>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110609/0276d88d/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
-------------- 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