View Single Post
  #2 (permalink)  
Old 06-07-2005, 05:12 PM
rockdalinux's Avatar
rockdalinux rockdalinux is offline
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 695
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Sure one can write such script, but ulr http://netsaint.kirenet.com uses diffrent software and not scripting... here is what i do to find out uptime and what users are doing between multiple server

RH1-box1

RH2-box2

Suse-box3

Debian-mysystem


At Debian-mysystem i have script like
Code:
#!/bin/sh
BOX="IP1 IP2 IP3 IP4"
USR="jadmin"
for ip in $BOX
do
echo "Server Uptime and Load @ $ip"
 ssh $USR@$ip uptime 
 ssh $USR@$ip w
echo "-----------------------------------------------------------"
done
Note that I have ssh keys for user jadmin from my Debian-mysystem

This is just simple script you can modify it to send output to /var/www/mydomain.com/status dir in plain or html format
Reply With Quote