How can you tell what alert file is being used by the monitor daemon? I know the log tells you when the monitor daemon first comes up, but it’s been a few days and the log has cycled out. I want to do a query and have the system tell me.
Unless you specify differently you will always use the default.alrt file
I teach that you should always use the default so as not to use the wrong file by mistake. If you use several different Alert files, e.g., weekdays, nights, weekends, etc., simplly copy the one you wish to use to default.alrt and restart the daemon.
This way if someone has to restart the daemon for another reason they don’t restart with the wrong Alerts file
We use the default.alrt by default. However, there are occasions, like when we have a planned outage, that we don’t want a subset of the alerts not to be triggered. So, I schedule a script to run that puts in an alert file with certain alerts removed when the outage is to begin, then schedule a script to run the puts the default back in when the outage is over.
We use the default.alrt file but configure different alerts within that file for weekday, weeknight, and weekend.
Almost all our alerts call a argument driven script that pages/emails and cycles the interface.
To help with toggling off any alerts for a given thread our alert script checks if we have created a file called $HCISITEDIR/Alerts/$threadName.off.
This gives us control to turn alerts on/off for any combination of threads we desire.
Our alert script also concatenates an entry to $HCISITEDIR/$threaName.log showing:
– what alert got triggerred
– when it got triggerred
– the action taken
– who got email/paged
An additional enhancement on the wish list is to have it concatenate the information entry to an all_alerts file so they are consolidate all in one file in addition to the individual theard logs.
Russ Ross
RussRoss318@gmail.com
Author
Replies
Viewing 4 reply threads
The forum ‘Cloverleaf’ is closed to new topics and replies.