[Date Prev]   [Date Next] [Thread Prev]   [Thread Next] [Date Index]   [Thread Index]

 

     Re: notifier ( event notification )

I use winpopup along with pagers, email, and SQL trouble tickets to notify
us.

Just pipe the noclogd to smbclient

==
*	critical	|/usr/local/bin/smbclient -M rtfm
==

for one machine...



or...

==
*	critical	|/usr/local/nocol/bin/winpopup-notify.pl
==

where winpopup-notify.pl looks like this:

==
#!/usr/bin/perl

$line=<STDIN>;
system ("echo \"$line\" | /usr/local/bin/smbclient -M astatine");
system ("echo \"$line\" | /usr/local/bin/smbclient -M rtfm");
system ("echo \"$line\" | /usr/local/bin/smbclient -M arsenic");
==

for multiple machines



On Mon, 17 May 1999, Kenneth Felix wrote:

> Have anybody ever use winpopup messages  for  site event notifications?
>  I would like to setup  notification for  a site going down via smbclient
> winpopup messages.
> 

--

"Life is too short so love the one you got
'Cause you might get run over or you might get shot"

--
Robert Palma
rpalma@nac.net