Hi all,
Thanks to Brad Young <bbyoung@amoco.com> and Sam Vilain <sam.vilain@nz.unisys.com>
for the following suggestions;
--------------------------------------------------------------------------------
From: Brad Young <bbyoung@amoco.com>
To: Dale.Shaw@select.com.au
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 -
--------------------------------------------------------------------------------
From: sam.vilain@nz.unisys.com
To: Dale Shaw <Dale.Shaw@select.com.au>
If you're going the opensource way, try xlogmaster to monitor your system logs.
http://www.gnu.org/software/xlogmaster/xlogmaster.html
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
ftp://ftp.stanford.edu/general/security-tools/swatch, which I believe is the
'official' site.
Thanks!
Dale.
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 : ,-----. : Dale.Shaw@select.com.au : : (` | e l e c t A p p r o a c h : Systems Guy : | _) :---------------------------- : Ph (02) 6241 5633 :::::: `------' http://www.select.com.au :::
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:14 CDT