need plugin to check Host for a failed Windows service
Posted: Wed Oct 12, 2011 5:52 pm
On a Windows Host, we sometimes had the windows "Task Manager" service die, so I looked around for a plugin to check this.
check_all_services.wsf (aka Check Automatic Services for Windows) from Nagios Exchange seemed to be what I need and more, since it checks all windows services that are started automatically. But I get false positives from services that evidently start up on demand, like "Performance Logs and Alerts". I can enter exceptions for some of them, and that works.
But the biggest problem seems to be with "Microsoft .NET Framework" services, where the service name includes the specific version that's running. I'm told that versions will change with Windows updates, so it starts to be maintenance to list the exceptions. Calling the plugin with exceptions that include wildcards doesn't seem to work.
Maybe I'm going down the wrong alley here, and should be using a different plugin and/or looking for specific Services that have failed.
Any advice on approach and which plugin to try is appreciated. Thanks...Lyle
check_all_services.wsf (aka Check Automatic Services for Windows) from Nagios Exchange seemed to be what I need and more, since it checks all windows services that are started automatically. But I get false positives from services that evidently start up on demand, like "Performance Logs and Alerts". I can enter exceptions for some of them, and that works.
But the biggest problem seems to be with "Microsoft .NET Framework" services, where the service name includes the specific version that's running. I'm told that versions will change with Windows updates, so it starts to be maintenance to list the exceptions. Calling the plugin with exceptions that include wildcards doesn't seem to work.
Maybe I'm going down the wrong alley here, and should be using a different plugin and/or looking for specific Services that have failed.
Any advice on approach and which plugin to try is appreciated. Thanks...Lyle