Hi,
Is there something link an "event id" in hostmon? I mean a unique identifier field for each alert event in hostmon?
Thanks for helping.
Regards,
Jromariz.
Event ID
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Event ID
You may use %FailureID% macro-variable, that can be used to identify failure.
Quote from manual:
http://www.ks-soft.net/hostmon.eng/mfra ... .htm#macro
Quote from manual:
http://www.ks-soft.net/hostmon.eng/mfra ... .htm#macro
This variable allows you to use unique failure ID as parameter of the actions. HostMonitor assigns unique failure ID for each failed test and keeps the same ID when test fails several times in a row (note: "failure" conditions may depend on "Treat Unknown as Bad" or "Treat Warning as Bad" test properties). HostMonitor assigns different IDs for different test items; it assigns new unique ID when test restores "good" status and then fails again. HostMonitor sets %FailureID% variable to 0 when test has "good" status.
Never mind, just found a way. But another question: As described on the manual "...HostMonitor sets %FailureID% variable to 0 when test has "good" status...". The problem is that I would like to track the failure by it´s ID and when hostmon sets the %FailureID% to 0 when test reports "good" status, it is not possible to associate the event by the ID anymore.
Hope you´ll understand.
Any ideas?
Thanks.
Jromariz.
Hope you´ll understand.
Any ideas?
Thanks.
Jromariz.