Windows Service monitoring using NagiosXi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sandyspatil
Posts: 15
Joined: Tue Dec 07, 2010 6:31 am

Windows Service monitoring using NagiosXi

Post by sandyspatil »

Hi
I am using a NagiosXI trial version. Can I monitor the specific windows service like Fax, any third party software service using the NagiosXi.
Also Plz tell me the procedure for that because i am monitoring windows FAX service using passive check configuration wizard but not able to monitor it.
Can U help me in that!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Windows Service monitoring using NagiosXi

Post by tonyyarusso »

For Windows monitoring, you will want to install the NSClient++ agent on the remote machine. You can find instructions for doing this on the Library. Details on specific types of checks are outlined in the NSClient++ upstream documentation.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
sandyspatil
Posts: 15
Joined: Tue Dec 07, 2010 6:31 am

Re: Windows Service monitoring using NagiosXi

Post by sandyspatil »

Ya this is OK but using NSClient++ I can't monitor windows services like Windows Firewall & some application services like avast! antivirus etc.
Can U help me in that!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
User avatar
admin
Site Admin
Posts: 256
Joined: Mon Oct 12, 2009 8:21 am

Re: Windows Service monitoring using NagiosXi

Post by admin »

Hi Sandy - In order to monitor a service, you need to know the actual service name it runs under on Windows. For instance, the Windows Fax server might be called "faxservice", or something similar. Once you know the service name, you can monitor its state (assuming the NSClient++ agent is installed).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Ethan Galstad
President
sandyspatil
Posts: 15
Joined: Tue Dec 07, 2010 6:31 am

Re: Windows Service monitoring using NagiosXi

Post by sandyspatil »

Can We add this service during the Host Addition in Nagios XI.
Can U Pl z tell me the exact procedure for that.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Windows Service monitoring using NagiosXi

Post by Box293 »

Sandy,
Here is a screenshot of the Windows Firewall service.
Windows Firewall Service.png
See how the Service name is MpsSvc, this is what you need to provide during the Windows Server wizard.

Run the Windows Server wizard. When you get to the Services section populate it with the Service name MpsSvc, see the following screenshot:
Windows Firewall Specified during Windows Server wizard.png
Finish the Wizard and you will now be monitoring the Windows Firewall.

Talking of Windows Firewall, don't forget to put a Firewall rule for NSClient++ (TCP 12489) so the Nagios XI server can talk to the Windows box with NSClient++.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
sandyspatil
Posts: 15
Joined: Tue Dec 07, 2010 6:31 am

Re: Windows Service monitoring using NagiosXi

Post by sandyspatil »

Thanks to all
Using your posts Now I can monitor Various Windows Services using Nagios XI.
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Windows Service monitoring using NagiosXi

Post by rdedon »

Just contact us again if you have any questions or issues.

Thank you.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
reke75
Posts: 2
Joined: Thu Jan 06, 2011 6:07 am

Re: Windows Service monitoring using NagiosXi

Post by reke75 »

Hello,

I hava another question...
How you do when you have a service with a "space" in his name :

Example : DNS Server or Printer Spooler ???

Because when i fill in Printer Spooler, Nagios uderstood only Printer....

I have tried %20% ....

Thanks for your help...

Julien
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Windows Service monitoring using NagiosXi

Post by tonyyarusso »

If it's in the context of a wizard, the escaping is supposed to be done for you, and any problems would constitute a bug. If you're manually defining something in the CCM, usually you'll want to use single quotes around the entire string.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked