SUMMARY: Solstice X.25 - configuring alerts

From: Dale Shaw (
Date: Wed Jan 20 1999 - 19:30:47 CST

Hi all,

Thanks to Brad Young <> and Sam Vilain <>
for the following suggestions;

From: Brad Young <>

We've used swatch to monitor our /var/adm/messages files, and page us when certain
error conditions occur. Swatch is a Perl script, and is quite configurable. I'm
certain that there are other freeware programs to do this..

and -

To: Dale Shaw <>

If you're going the opensource way, try xlogmaster to monitor your system logs.
Or, adapt your syslog.conf file (see syslog.conf(4))

I've decided to go with swatch, as Brad says it's very configurable. I got it from, which I believe is the
'official' site.



Original E-mail:
After reading through the configuration files and X.25 manuals, I haven't been able to find an answer to my question..
Presently, I run a cron job every 10 minutes that checks the state of an X.25 link (using x25stat), and if found to be in an 'Unknown' state, various alarm bells are rung using things like rwall and I also send WinPopup messages to Windows NT computers used to network management using Samba's smbclient.
This works OK but it's not very clean, in that the link could go down and come back up within the 10 minute window and no alarm would be rung. What I'm after is either something within Solstice X.25 or a fresh way to provide this functionality.
LAPB 'Up' and 'Down' messages are logged to /var/adm/messages, these messages appear at the exact time the link goes up or down. I suppose if there is no better solution, I could run a script that simply tail -f's that file and acts if needed.
Better idea, anyone? :-)

Dale Shaw                :   ,-----.                              :  :  :  (`  | e l e c t   A p p r o a c h  :
Systems Guy              :  |  _)  :----------------------------  :
Ph (02) 6241 5633   ::::::  `------'  :::

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:14 CDT