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

Claudio Kuenzler ck at claudiokuenzler.com
Wed Jun 8 20:49:05 CEST 2011


Well this is exactly what you need, you already wrote it. Just replace the
Servicename by the service you want to check, eg lanmanserver:

define service{
        use                     generic-service
        host_name               winserver
        service_description     Server Services
        check_command           check_nt!SERVICESTATE!-d SHOWALL -l lanmanserver
        }


or for several services at the same time:

define service{
        use                     generic-service
        host_name               winserver
        service_description     Server Services
        check_command           check_nt!SERVICESTATE!-d SHOWALL -l
lanmanserver, dnsserver
        }




On Wed, Jun 8, 2011 at 8:42 PM, Manish Kumar <manikumar85 at gmail.com> wrote:

> Hi Claudio,
> *
> *
> Thanks...This is what i am looking for exactly..
>
> - Standard Services (lanmanserver, .. whatever you want)
> - Specific Services (e.g. for DNS Server 'dns', DHCP Server....)
>
> can you give me the exact command syntax that to be written in
> commands.cfg/windows.cfg
>
> something like this...
>
> define service{
>         use                     generic-service
>         host_name               winserver
>         service_description     W3SVC
>         check_command           check_nt!SERVICESTATE!-d SHOWALL -l W3SVC
>         }
>
> Also i would like to get e-mail notification if this particular service gets down or stopped someways..
>
> How to write the command for this..
>
>
> Thanks..
>
> Manish
>
>
>
>
> On Wed, Jun 8, 2011 at 11:39 PM, Claudio Kuenzler <ck at claudiokuenzler.com>wrote:
>
>> Hi Manish,
>>
>> I personally monitor the following things on a Windows host:
>>
>> - CPU
>> - Memory
>> - Disk (all Partitions)
>> - Standard Services (lanmanserver, .. whatever you want)
>> - Specific Services (e.g. for DNS Server 'dns', DHCP Server....)
>>
>> For the services you will find the names of the services in Manage
>> Computer -> Services. Depending on what your machine is doing, you should
>> create a list for each server, which services to monitor.
>>
>> On Wed, Jun 8, 2011 at 8:05 PM, Manish Kumar <manikumar85 at gmail.com>wrote:
>>
>>> In addition to my previous question...just wanted to elaborate..
>>>
>>> How i can monitor which important windows services are running on a
>>> remote windows servers and their state using NSClient++ installed on the
>>> windows servers and check_nt plugin.
>>>
>>> thanks..
>>>
>>>
>>> ---------- Forwarded message ----------
>>> From: Manish Kumar <manikumar85 at gmail.com>
>>> Date: Wed, Jun 8, 2011 at 11:27 PM
>>> Subject: How to monitor specific windows services using nsclient++
>>> To: nagios-users at lists.sourceforge.net
>>>
>>>
>>> Hi there,
>>>
>>> Actually i want to monitor specific windows services using nagios and
>>> nsclient++ agent installed on Windows servers...
>>>
>>>                  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..
>>>
>>> Thanks...in advance...
>>>
>>>
>>>
>>> --
>>> Thanks
>>> Manish Kumar
>>> http://in.linkedin.com/in/manishkumar85
>>>  <http://cens.cdac.in/>
>>>
>>>
>>>
>>> --
>>> Thanks
>>> Manish Kumar
>>> http://in.linkedin.com/in/manishkumar85
>>>  <http://cens.cdac.in/>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>
>
>
> --
> Thanks
> Manish Kumar
> http://in.linkedin.com/in/manishkumar85
>  <http://cens.cdac.in/>
>
>
> ------------------------------------------------------------------------------
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110608/f5d0aca6/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