We are using SNMP service checks.
When a service is starting no alert send only when a service is stopped.
Any idea how to fix this?
Article Comments
Hi Sebastian,
No default we get a notification when a service is stopped thats good. But we dont get a notification when a service is stuck on starting. we dont need a notification when a service is started.
Jan, 2023 - Permalink
Hi there,
Thank you very much for clarification.
The SNMP Windows Service Sensor relies on the SNMP metrics that are provided by the monitored Windows device.
Microsoft's SNMP implementation for the svSvcOperatingState on OID 1.3.6.1.4.1.77.1.2.3.1.3 only supports the following integer values:
active(1), continue-pending(2), pause-pending(3), paused(4)
As you can see there is unfortunately no metric for a delayed starting state. You might be able to create a custom sensor that queries the ServiceControllerStatus (see: ServiceControllerStatus Enum#Fields (microsoft.com)) resource via PowerShell, but there is currently no native sensor for querying this specific sensor state.
Best,
Sebastian
Jan, 2023 - Permalink
Hi there,
Do I understand that you want to reverse the default settings and that you want to receive a notification if a certain services is indeed running and not stopped anymore?
Best,
Sebastian
Jan, 2023 - Permalink