How to MSSQL server agent availability

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gselvakumar
Posts: 96
Joined: Wed Mar 02, 2016 4:52 am

How to MSSQL server agent availability

Post by gselvakumar »

Hi,
I am able to monitor MSSQL server availability using NSclient++ but don't know how to monitor server agent availability.Can anyone pls help me with how to monitor MSSQL server agent availability.

Thank & Regards,
Gomathyshankar Selvakumar
Thanks & Regards,
Gomathyshankar Selvakumar
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: How to MSSQL server agent availability

Post by lmiltchev »

You can use "check_nt" with "-v SERVICESTATE" to check the status of your service. In most cases the name of the MSSQL server agent would be "SQLSERVERAGENT". Example:

Code: Select all

[root@localhost libexec]# /usr/local/nagios/libexec/check_nt -H <remote ip> -s welcome -p 12489 -v SERVICESTATE -l SQLSERVERAGENT -d SHOWALL
 SQLSERVERAGENT: Started
Be sure to check out our Knowledgebase for helpful articles and solutions!
gselvakumar
Posts: 96
Joined: Wed Mar 02, 2016 4:52 am

Re: How to MSSQL server agent availability

Post by gselvakumar »

Issue sorted :D
Thanks
Thanks & Regards,
Gomathyshankar Selvakumar
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: How to MSSQL server agent availability

Post by rkennedy »

Closing this one up and marking it resolved.

Feel free to create a new thread in the future if you have any further questions.
Former Nagios Employee
Locked