Linux / UNIX Tech Support Forum
This is a discussion on multiple server status script within the Linux software forums, part of the Linux Getting Started category; thanks monk...
|
|||||||
| Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
| Sponsored Links | ||
|
|
|
|||
|
Vivek
Thank you !! For contribution to submit wonderful script I see one error while running the script, can you please look why I am getting this error awk: BEGIN{print " awk: ^ unterminated string I am not getting the disk size in the output I attached the output as text file, rename the file as html Regards Charles Last edited by rockcharles1; 24-10-2008 at 01:19 AM. |
|
|||
|
hi
replace the below code : rfs="$($_CMD df -hT | grep -vE "Filesystem|shm" | awk 'BEGIN{print "<ul>"}{w=sprintf("%d",$6);print "<li>" $7 " & nbsp; " $6 "(" $2 ")<BR> <img src=\"indicator.gif\" height=\"4\" width=\"" w "\"> <BR><img src=\"graph.gif\"> <BR>" $4"/"$3 "</li> "}END{ print "</ul> "}')" its working fine i checked out. Regards Rex |
|
|||
|
This script is great.
But there is some software out there that can do all those things for you as well. Have you looked into Nagios We use that to monitor all of our linux / windows servers. |
|
|||
|
I joined this forum just so I could maybe get in on this! I need a nice server status script that can show stats from at least 2 servers at once.
Ideally, the script would show the following: http Up/Down FTP Up/Down iMAP Up/Dow SMTP Up/Down Server Uptime Duration (xx amount of days, hours, minutes, etc.) Server percentage for that month would be great! I don't suppose anyone has the code for something like that? If so, I'm sure you would be helping millions of people like me that are looking fo rthis exact thing! Thanks a million! |
|
|||
|
Quote:
|
|
|||
|
I took a look at nagios, but it doesnt say that it works with centos 5.2, which is the OS i have on my server. Do you have any idea if it does/will work on CentOs 5.2? It looked very confusing to setup. thanks for the suggestions though!
|
|
|||
|
Quote:
Then all you have to do is do yum install nagios. Or you can download the source files and configure, make, make install it. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| hda: status timeout: status=0xd0 { Busy } | surmandal | Linux hardware | 3 | 24-03-2008 08:16 PM |
| single DHCP server with multiple VLAN's | frank | Computer Networking and Internet/broadband | 2 | 07-12-2007 12:38 PM |
| login into multiple servers thru script... | avcert1998 | Shell scripting | 2 | 17-03-2007 03:29 AM |
| Script to add users to multiple servers. | deepakhg | Shell scripting | 0 | 17-03-2007 03:02 AM |
| shell script that parses multiple log files and checks for a | Anonymous | Shell scripting | 1 | 15-11-2006 09:38 PM |