Hi guys,
This post is not a problem, just an open discussion (if this needs to be posted elsewhere please let me know)
The question is this: An administrator wants to monitor a windows service which is in a Manual state instead of Automatic.
(in this particular case the service is controlled by another application)
My input would be not to monitor it at all, because you just can't tell whether the service went down intentionally and also when it will be up again.
Does anyone have any experience with this?
monitoring "manual" windows services
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: monitoring "manual" windows services
I agree that there is not a great way to determine, without sifting through event logs, how or why a service stopped. You could create a service for the secondary one, that this depends on on the windows server, and set the currently requested service as a dependent of the one not being requested to be monitored. At least this way, you can make sure not to get alerts for the manual service when the other service is down. Might that suite what you are looking for?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: monitoring "manual" windows services
In my case it's a citrix server controlling a printer service on demand.
Citrix start/stops the spooler service as needed.
The Citrix services are monitored already.
IMHO there's really no reason or way to monitor this.
Citrix start/stops the spooler service as needed.
The Citrix services are monitored already.
IMHO there's really no reason or way to monitor this.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: monitoring "manual" windows services
You could use the negate plugin to check that it is not running, basically giving the reverse of normal
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Re: monitoring "manual" windows services
If you know how the Citrix server stops the service, or which eventlog, or registry is changed, you could write a wrapper Powershell script somehow which will only alert when the print spooler service is down when it is not stopped by Citrix.
Grtz
Grtz
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: monitoring "manual" windows services
Any word OP?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.