Is there anyway to delay WMI sensors (or any sensor for that matter) after a node comes online? We have servers with PING as the master dependency. PING usually responds before many services do. Is there a way to delay WMI and Windows services checks to allow the particular server to fully start?
How can I delay monitoring for WMI sensors on a server reboot?
Votes:
0
Best Answer
Votes:
0
PTF PingDelayedUp
This can be accomplished with Custom Sensor PTF PingDelayedUp. This ping sensor stays down for the given number of seconds before returning an "Ok" state.
ip-address|hostname -id-sensorID -d=delay [-w=timeout] [-l=size] [-i=TTL] -id=sensorID The sensorID or other unique identifier. -d=delay The delay in seconds before returning an "Ok" state -w=timeout Optional timeout in miliseconds to wait for a reply, default = 500 -l=size Optional send buffer size, default = 32 bytes -i=TTL Optional Time To Live, default = 64
Note: The sensorID parameter has to be an unique value as it is used to store the last time the host was down. As of PRTG V7.3.2 the %sensorid placeholder is available, so -id=%sensorid will do the trick.
The Custom Sensor can be downloaded from this page.
Important Notices
- When using this sensor, you must set the delay to a greater value than the scanning interval. When in a next scan the host is up but the delay has not expired, the sensor will stay down and report "Ok delayed":
Scan | Host Up? | Delay expired? | Sensor state | Message |
---|---|---|---|---|
1st | no | no | Down | ICMP error xxx |
2nd | yes | no | Down | Ok delayed |
3rd | yes | yes | Up | Ok xx msec |
- Using many EXE sensors can lead to performance problems: Major delays may occur. So, if you experience load problems, please reduce the number of EXE sensors. Generally, we recommend to not use more than 100 EXE sensors in a setup.
Created on Sep 2, 2010 12:10:14 PM
Last change on Sep 6, 2010 8:05:57 AM by
Daniel Zobel [Product Manager]
5 Replies
Votes:
0
Hello,
I'm afraid in the moment there is no option available in PRTG to configure such a "delay" for WMI-Sensors. All we can suggest is, if you have triggers on these WMI-Sensors to set them up with long latencies (to avoid unnecessary email-alarms). Or you could also make one WMI Sensor the master for the device instead of the Ping Sensor. This way you would still have one red WMI Sensor, but the other WMI Sensors should be paused then. And as soon as the target is able to respond to WMI Requests all WMI Sensors should start working.
Best Regards.
Votes:
0
PTF PingDelayedUp
This can be accomplished with Custom Sensor PTF PingDelayedUp. This ping sensor stays down for the given number of seconds before returning an "Ok" state.
ip-address|hostname -id-sensorID -d=delay [-w=timeout] [-l=size] [-i=TTL] -id=sensorID The sensorID or other unique identifier. -d=delay The delay in seconds before returning an "Ok" state -w=timeout Optional timeout in miliseconds to wait for a reply, default = 500 -l=size Optional send buffer size, default = 32 bytes -i=TTL Optional Time To Live, default = 64
Note: The sensorID parameter has to be an unique value as it is used to store the last time the host was down. As of PRTG V7.3.2 the %sensorid placeholder is available, so -id=%sensorid will do the trick.
The Custom Sensor can be downloaded from this page.
Important Notices
- When using this sensor, you must set the delay to a greater value than the scanning interval. When in a next scan the host is up but the delay has not expired, the sensor will stay down and report "Ok delayed":
Scan | Host Up? | Delay expired? | Sensor state | Message |
---|---|---|---|---|
1st | no | no | Down | ICMP error xxx |
2nd | yes | no | Down | Ok delayed |
3rd | yes | yes | Up | Ok xx msec |
- Using many EXE sensors can lead to performance problems: Major delays may occur. So, if you experience load problems, please reduce the number of EXE sensors. Generally, we recommend to not use more than 100 EXE sensors in a setup.
Created on Sep 2, 2010 12:10:14 PM
Last change on Sep 6, 2010 8:05:57 AM by
Daniel Zobel [Product Manager]
Votes:
0
Thanks, I will give the custom sensor from Gerard a try on a few nodes.
Votes:
0
Same question from me, but different task:
I have a lot of custom PowerShell sonsors, which overload Probe at startup at same time, is there any way to start this (My) sensors with different delays for each sensor after Probe starts?
Thank you!
Votes:
0
Vasiliy, I'm afraid there are no built-in options to handle this with Powershell sensors either. Sorry.
Add comment