- This topic has 4 replies, 3 voices, and was last updated 4 months, 3 weeks ago by .
-
Topic
-
first time post so do not beat me up here.
Working on scripts for the alert file which makes a copy of the alert file, looks for certain alerts based on a group name, when it finds those alerts it de-activates them. Then I run a command that cycles the monitor daemon and starts it up with the new alert file. We would be running this before schedule downtime of certain systems so that we do not get alerts every 5 mins knowing that the system is down. Then when the down time is over run another scripts that cycles the monitor daemon again, but sets the alert file to use back to the default alert file.
I would like to output some information to a log file when the script runs where for each site it returns what is the active file that is being used by the monitor daemon for alerts. After it is bounced.
I can not seem to find the location or even a command to run will within a site prompt to return what the name is of the file that the monitor daemon is currently using.
Any help as to where I can find the command or even a file that has that information stored would be helpful.
THanks
- You must be logged in to reply to this topic.