Nagios – how to determine the name of a service in Windows
By Ronald Bruintjes. Filed in Linux, Network, Windows |Tags: client, Linux, monitor, nagios, Security, service, Windows
I’ve recently set up Nagios on one of our test servers, and the Windows client for Nagios allows you to monitor services (whether they started, stopped, etc.). However, the name of the service to monitor isn’t always the same as the name in the Services application in Administrative Tools.
To find out the name of the service, you’ll have to look at the registry:
- Open up regedit (Run, regedit)
- Navigate to HKEY_LOCAL_MACHINE
- Navigate to SYSTEM
- Navigate to CurrentControlSet
- Navigate to Services
- Find the service you plan on monitoring. The name of the node is the name you need to enter on the Nagios server as the name of the service.

Related posts:



Friday, April 24th 2009 at 9:18 am |
Just open a command prompt and enter:
sc query
Friday, April 24th 2009 at 12:30 pm |
Hey Jason,
Thanks! That’s a whole lot quicker.
Friday, May 8th 2009 at 8:36 am |
Hi, I can
Wednesday, May 13th 2009 at 1:19 pm |
Hi Shawn,
If your RSS reader isn’t listed on the left hand side of the webpage, you can add the following URL to your reader manually:
Hope this helps!
Tuesday, June 23rd 2009 at 1:59 am |
Hi ALl,
I am stuck in a strange problem that my windows server ar egiving error when we ar echecking their nagios service as “No Data Recieved from the host even for the existing server after reboot as well as for newly configured hosts.
Please suggest me step by step so as how to use NSCLIENT++ or NC_NET.
Thanks in advance.
Thursday, July 9th 2009 at 1:27 am |
Just open a command prompt and enter:
set
Friday, September 18th 2009 at 2:38 am |
sc query |findstr /i “service_name”
Monday, September 21st 2009 at 9:24 am |
Ah, but if I know the service name, I don’t have to determine the service name…:-)
And if you use the displayed name of the service this will just output the line with that displayed name, not the actual service name.
What would help is redirecting the output of “sc query” to a file, and then do a find in that file – that will give you some context.
Friday, February 5th 2010 at 8:46 am |
Or from the Services (mmc) console:
* double-click the service you want to monitor, in order to open up the properties (or right-click + properties)
* look at the ‘Service Name’ at the top
Wednesday, July 7th 2010 at 8:46 am |
Yuor web blog looks fantastic. Being a blog writer personally, I truly value the time you took in composing this article.