View Single Post
  #6 (permalink)  
Old 26-06-2005, 11:11 PM
nixcraft's Avatar
nixcraft nixcraft is offline
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Okay I have done some work and uploaded file aka script @ http://bash.cyberciti.biz/monitoring...ation.bash.php have a look it at script and try it. You need to setup Following for all your ips:
Code:
Q_HOST="192.168.1.2 127.0.0.1"
It creates HTML code but i'm not good at web or fancy effect.. you can modify it as per your needs. Let me know if you need any other stuff into it.

You need to setup the ssh keys based authentication to avoid the password prompt see http://www.cyberciti.biz/nixcraft/vi...entication.php

Once done that you can run the script as follows

geninfo.bash > /var/www/html/output.html

And test it into browser using http://www.mydom/output.html

Hope this helps!
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote