How to monitor specific windows services using nsclient++

C. Bensend benny at bennyvision.com
Wed Jun 8 20:05:24 CEST 2011


> Actually i want to monitor specific windows services using nagios and
> nsclient++ agent installed on Windows servers...

OK.

$USER1$/check_nrpe -H $HOSTADDRESS$ -u -c CheckServiceState -a
   ShowAll "$ARG1$"="$ARG2$"

Then, in your Nagios service command definition, call that command
with two arguments:

1) The service name from the Windows services snap-in
2) started or stopped, according to what state you want the service
   to be in during normal operation

>                  Also i don't know which critical windows services to
> monitor exactly but my boss says it should be done... Can you people give
> me
> some help regarding this..

On our Windows systems, we monitor a basic set of standard services:

* Disk volume space
* CPU utilization
* Memory utilization
* My NSClient++ version
* My NSClient++ configuration version
* My plugins version
* Windows version (for informational purposes only)

Benny


-- 
"You were doing well until everyone died."
                                    -- "God", Futurama



------------------------------------------------------------------------------
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
_______________________________________________
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