Monitoring windows services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
wjoyner
Posts: 32
Joined: Thu Mar 22, 2018 7:28 am

Monitoring windows services

Post by wjoyner »

I am running into a problem with monitoring sql services where if its a named instance it changes the service name from MSSQLSERVER
to MSSQL$Instancename.

When you run the check it states the service is not found.

[nagios@Nagiosserver]$ /usr/local/nagios/libexec/check_nt -H servername -s "xxxxxx" -p 12489 -v SERVICESTATE -l MSSQL$Instancename -d SHOWALL
MSSQL: Not found


These servers are running the NSClient
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Monitoring windows services

Post by lmiltchev »

Try the solution, posted in our KB article on the topic here:

https://support.nagios.com/kb/article/n ... d-168.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
wjoyner
Posts: 32
Joined: Thu Mar 22, 2018 7:28 am

Re: Monitoring windows services

Post by wjoyner »

Thank you, that works perfectly!
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Monitoring windows services

Post by lmiltchev »

I am glad I could help! :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked