This is good. I'll use it for the short term but what I really want
is to be able to be paged when any threshold is exceeded not just
when a host is not answering to ICMP requests. For example, when
a Unix host has exceeded a cpu load of say 5 I want the icon to flash,
a page saying that the cpu load is X.XXX, and also I want a log of that
event to a static file. The onscreen stripchart is nice but I'll want
a permanent record.
-Ed
Doug Hughes wrote:
>
> >Has anyone integrated pager notifications with tkined? As well as
> >receiving a flash'ing icon, or receiving writes to the screen, or
> >syslog entries, I want to receive pager notifications.
> >
> >Also, when I choose write as a threshold action I would like an option
> >to have it write to a file instead of the screen.
> >
> >If anyone has worked on these two enhancements I'd like to hear from
> >you.
> >
> >Thanks,
> >
> > Ed
> >P.S. I already have the pag'ing itself working. I just need to
> >integrate it with tkined.
> >
>
> I have a mod to ip_monitor.tcl which I've posted in the past that sends
> email when a host goes down. I integrate it with the patch that makes
> a host 'blue' when it comes back up (so that if you've been away you know
> a host was down). It's pretty easy to stick in there. Most people have
> an email to paging gateway, so voila.
>
> To effect the mod, check your ip_monitor.tcl and look frofor
> proc ReachabilityProc {ids} {
>
> page down a bit until you find
> if {$rtt < 0} {
>
> Right after the 'ined -noupdate color $id red'
>
> I put a line that looks like this:
>
> exec echo "[ined name $id] is down - [exec date]" | /usr/ucb/mail -s "host [ined name $id] is down" admin,doug
-- Edward A. Sanborn Director of Information Technology HealthGate Data Corp. (617) 321-6000 x.236 380 Pleasant St., Suite 230 Malden, MA. 02148 http://www.healthgate.com-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.