Hi !
I have a small problem with LOG Event.
Situation: I trigger for an event and when the event has occured, the Bad Status Action is fired, but how do I check for another message in the Event Viewer to fire the Good Status Action ?
Regards
Sven
LOG Event
HostMonitor changes status back to "good" (and starts "good" action) in case there are no NEW "bad" event in the NT Event Log.
If you need to start different actions when different events appear in the log, you can use 2 different "NT Event Log tests" (probably with "Reverse alert" option).
Regards
Alex
If you need to start different actions when different events appear in the log, you can use 2 different "NT Event Log tests" (probably with "Reverse alert" option).
Regards
Alex
Hello !
That might be a solution, but if I wish to present it on a Custom HTML report and publish it on an intranet web, I have a problem.
For example The first Event could be an error event reporting disk trouble and the second reporting the disk is OK again after the array is fixed, how can I then get it displayed as a "red button" on my report until the secon event ?
Regards
Sven
That might be a solution, but if I wish to present it on a Custom HTML report and publish it on an intranet web, I have a problem.
For example The first Event could be an error event reporting disk trouble and the second reporting the disk is OK again after the array is fixed, how can I then get it displayed as a "red button" on my report until the secon event ?
Regards
Sven
I don't know how eventlog tests work (don't use them), but reading above I see the same problem I had with a cluster environment.
A possible solution could (perhaps) be:
- Create one test, which triggers the 'bad' status.
- As action, execute a scripts, which imports a text file wich changes the test, so it wil now trigger the 'good' status.
- As long as the 'good' status is not found, it should give a red warning.
- When the 'good' status is found, change the test back to its original.
Hope it helps......
A possible solution could (perhaps) be:
- Create one test, which triggers the 'bad' status.
- As action, execute a scripts, which imports a text file wich changes the test, so it wil now trigger the 'good' status.
- As long as the 'good' status is not found, it should give a red warning.
- When the 'good' status is found, change the test back to its original.
Hope it helps......
Yes, something like that.
Probably better create 2 tests:
Test A) checking for bad event description, does not use "Reverse alert" option, execute Script A when found then event;
Test B) checking for good event description, use "Reverse alert" option, execute Script B when found then event, setup test as disabled;
Script A) disables TestA and enables TestB
Script B) enables TestA and disables TestB
How it will work:
1 - initially) TestA have Good status, TestB is disabled (you can skip disabled tests from the report)
2 - "Bad" event occurs) TestA becames disabled (no report), TestB becomes enabled and changes status to "Bad" (because of "reverse alert" option). It will have "Bad" status until "good" message in the Event Log.
3 - "Good" event occurs) TestB becomes disabled, TestB becomes enabled and changes status to "Good".
A little complicated but I think it will work.
Regards
Alex
Probably better create 2 tests:
Test A) checking for bad event description, does not use "Reverse alert" option, execute Script A when found then event;
Test B) checking for good event description, use "Reverse alert" option, execute Script B when found then event, setup test as disabled;
Script A) disables TestA and enables TestB
Script B) enables TestA and disables TestB
How it will work:
1 - initially) TestA have Good status, TestB is disabled (you can skip disabled tests from the report)
2 - "Bad" event occurs) TestA becames disabled (no report), TestB becomes enabled and changes status to "Bad" (because of "reverse alert" option). It will have "Bad" status until "good" message in the Event Log.
3 - "Good" event occurs) TestB becomes disabled, TestB becomes enabled and changes status to "Good".
A little complicated but I think it will work.
Regards
Alex