This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
Judy,
To page after hours, James suggested me before to use an action followed by
inline action. The inline action performs a script to check the time and
exit(1) or exit (0) (shell script terms) depends on current time. The action
does the paging, I called the nvpage command to do the paging.
Attached is a development script, will give you a rough idea of time
comparison of time and supported nodes after hours. It has some logging in
it for testing. I am sure you can improve it.
Hope it helps,
Jack
-----Original Message-----
From: Judy Stobby [mailto:jstobby@co.el-dorado.ca.us]
Sent: Thursday, 26 July 2001 8:39 a.m.
To: nv-l@tkg.com
Subject: [NV-L] Ruleset for Paging
Hi,
I have a ruleset that sends mail when certain nodes go down. The
ruleset sends the event to the email address which then sends a numeric
message when the event occurs. I would like to change this to page only
after hours. Do I need add a script to my ruleset that specifies the
times for after hours? Would this be done in an Inline Action?
Next question, does anybody have a script for this and would be willing
to share it with me?
page_time.sh
Description: Binary data
|