nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

multiple server status script

This is a discussion on multiple server status script within the Linux software forums, part of the Linux Getting Started category; thanks monk...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 03-08-2006, 06:48 AM
Junior Member
User
 
Join Date: Aug 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tungsten
Default

thanks monk
Reply With Quote
  #22 (permalink)  
Old 24-10-2008, 01:16 AM
Junior Member
User
 
Join Date: Aug 2008
OS: Red Hat
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rockcharles1 is on a distinguished road
Smile

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
Attached Files
File Type: txt info1.txt (986 Bytes, 10 views)

Last edited by rockcharles1; 24-10-2008 at 01:19 AM.
Reply With Quote
  #23 (permalink)  
Old 01-03-2009, 04:52 PM
Junior Member
User
 
Join Date: Mar 2009
OS: Debian
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jrex1983 is on a distinguished road
Default solution for that error

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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&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
Reply With Quote
  #24 (permalink)  
Old 11-04-2009, 12:45 AM
Member
User
 
Join Date: Feb 2009
OS: Debian / Red Hat
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cjredding is on a distinguished road
Default

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.
Reply With Quote
  #25 (permalink)  
Old 04-05-2009, 09:27 AM
Junior Member
User
 
Join Date: May 2009
OS: CentOs 5.2
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ABudgetWebHost is on a distinguished road
Default

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!
Reply With Quote
  #26 (permalink)  
Old 04-05-2009, 06:14 PM
Member
User
 
Join Date: Feb 2009
OS: Debian / Red Hat
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cjredding is on a distinguished road
Default

Quote:
Originally Posted by ABudgetWebHost View Post
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!
Have you tried Nagios? It is a free Open Source software that can do all of that. And it runs on a Linux box. It is also relatively easy to set up.
Reply With Quote
  #27 (permalink)  
Old 06-05-2009, 08:51 PM
Junior Member
User
 
Join Date: May 2009
OS: CentOs 5.2
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ABudgetWebHost is on a distinguished road
Default

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!
Reply With Quote
  #28 (permalink)  
Old 06-05-2009, 09:44 PM
Member
User
 
Join Date: Feb 2009
OS: Debian / Red Hat
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cjredding is on a distinguished road
Default

Quote:
Originally Posted by ABudgetWebHost View Post
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!
Yes it does work with CentOS because that is what I am using it on. Do you have dag yum repositories installed on you CentOS server? DAG: Frequently Asked Questions
Then all you have to do is do yum install nagios. Or you can download the source files and configure, make, make install it.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

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


All times are GMT +5.5. The time now is 09:01 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38