Windows service monitoring with Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Windows service monitoring with Nagios XI

Post by rferebee »

Good morning,

I have a question regarding monitoring Windows services with XI.

Currently we are monitoring multiple SQL Server services and I would like to configure some of the checks to only alert as Critical when the service is Disabled. A Started or Stopped state would be OK.

Here's the check I would like to update:

Code: Select all

/usr/local/nagios/libexec/check_nt -H 10.228.x.x -s "" -p 1248 -v SERVICESTATE -l MSSQL\$SAGTSTSQL01 -d SHOWALL
MSSQL$SAGTSTSQL01: Stopped
In this scenario, Stopped is OK and we don't want it to show a Critical status.

Could you tell me if and how I could do that?

Thank you!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Windows service monitoring with Nagios XI

Post by scottwilkerson »

I don't believe there is any way builtin to any of the Nagios agents to determine the "Startup Type" (Disabled, Automatic, Manual) of a service, just the Status.

In order to do this you would need to write an addon plugin that could somehow pull this information and then you could add that plugin to an agent.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rferebee
Posts: 733
Joined: Wed Jul 11, 2018 11:37 am

Re: Windows service monitoring with Nagios XI

Post by rferebee »

Ok, thanks for your reply. You can lock this thread.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Windows service monitoring with Nagios XI

Post by scottwilkerson »

rferebee wrote:Ok, thanks for your reply. You can lock this thread.
Great!

Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked