Established 1986
Kevin Martin - PO Box 82783 - Portland, OR 97282
System Status Snapshots - THESE LINKS SHOW SAMPLE PAGES
Ping monitor
Disk usage
Disk status (DiskSuite boxes only)
Syslogs
Virtual Adrian logs
Centralized administration
To avoid having to manually log on to each local machine just to check its
logs, I've thrown a few scripts onto whorfin and copied my (non-privileged)
$HOME/.ssh/identity.pub onto each local Sun box as an addendum to
kmartin's .ssh/authorized_keys. That way a kmartin cron job can
process a list of boxes and collect the results in one place. (The
slick part is collecting those results as html. Here is a
skeleton script which I used to create all
the report-generating scripts, except the first one -- the ping monitor
is a freeware C program called sntop. The full list is:
- Ping monitor - a quick check that the
boxes are up, run by whorfin every three minutes;
- Disk usage - the output of df -k;
- Disk status - the DiskSuite metastat command;
- Syslogs - tail /var/adm/messages
and tail /var/log/syslog - these logs are now
rotated nightly.
- Virtual Adrian logs - tail -24
/var/adm/sa/monitor.log - this log is also rotated
nightly.
The scripts that update these pages reside on whorfin in
/home/kmartin (the wildcard for the filenames is
??stat), and the crontab used to run them is
kmartin's crontab, not root's. To update crontab, remember you have to
set the VISUAL environment variable first.
Back: Relationships
-
Next: Resources
Please Note
If a search engine dropped you directly into this document, you
should go to the index page to find out
what you're reading. This document is a record of a project
from 1999-2000 -- it is not a current guide to installing any
software product.