gustaf.frisk

AO-script, compare alarm.time_arrival to "today" date

Discussion created by gustaf.frisk on Aug 21, 2009
Latest reply on Aug 26, 2009 by nrtimm
I have a server which I want to monitor at a specific time in week about if a reboot did go throuh or not.
I have made the ntevl probe to send an alarm when an event i eventlog appears that is unique at bootup.
That alarm I will hide or assign to a special user and then at a specific time one day a week I will check if the alarm has arrived that day.
If it hasn't arrived I will send a "real" alarm for our engineers to attend to.
How can I compare the alarm.time_arrival to os.date in a script to see if it has arrived "today"?

Regards Gustaf

Outcomes