Re: [foxboro] Reports
- From: "Kevin Fitzgerrell" <fitzgerrell@xxxxxxxxx>
- To: foxboro@xxxxxxxxxxxxx
- Date: Thu, 29 Mar 2007 09:36:29 +0900
Tom,
For the weekly systems admin report I've got a perl program running
once a week on our server we use for systems admin stuff.
At this site, all our AWs have 2nd ethernet access from the MIS
network. All the WPs can be reached only by rlogin from the AWs.
The perl program that telnets in to each AW, runs some commands,
interprets and reports on the results, and in some cases takes some
actions. Then the program telnets in to each WP and does the same
thing. Once it's finished with an AW and the WPs connected on that
nodebus it exits and goes on to the next AW and it's WPs. We have 11
nodes on a fiber LAN on one system and one node on another system.
Doing it this way puts no traffic over the CBLAN.
The program is fairly large so I'll attach it to this and cc you
directly. Anyone else who wants a copy feel free to ask off list.
Some of the things it does:
report on login failures
report on station details - name, type, ram, cpu, uptime
workstation has rebooted in the last 10 days
the last backup is older than 95 days (AW) or 370 days (WP)
mirror drive status
any partition on the hard drive is >70% full
more than 200 processes running (max is 266), and any defunct or
startup processes running
calctool, perfmeter, S99, extra shelltool windows running
any station configuration paramaters are less than 50% available
any problems noted in /var/adm/messages log files
current version of LAN and ethernet drivers
a corrupted port monitor
presence of unix crash files
presence of lost+found or wastebasket files
presence of core and a.out files, some common ones are removed
any files that have grown past size limits, oversize files are trimmed
presence of system monitor dump files (other than INI15)
check for /opt/fox/ADMON directory - this will keep device monitor
configuration from being updated
cpu idle time 1 minute average < 80% or individual sample < 65%
error messages in AIM* log files indicating a need to run xrebuild
Because this program resides on our server, not on each AW/WP it's
easy to manage and whenever I find something new that I need to check
and report on it's easy to add.
Regards,
Kevin FitzGerrell
-- No attachments (even text) are allowed --
-- Type: application/octet-stream
-- File: sanitized_server_telnet_SAR.pl
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
- References:
- [foxboro] Reports
- From: Kevin_Fitzgerrell
- Re: [foxboro] Reports
- From: tom.vandewater
Other related posts:
- » Re: [foxboro] Reports
- » Re: [foxboro] Reports
- » Re: [foxboro] Reports
- » Re: [foxboro] Reports
- » Re: [foxboro] Reports
- [foxboro] Reports
- From: Kevin_Fitzgerrell
- Re: [foxboro] Reports
- From: tom.vandewater