LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 09-19-2012, 07:11 AM   #1
linux-server
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Rep: Reputation: Disabled
Linux server Health Check


Hi All,

I am working on Linux Servers. I have to manually check server health daily by running commands like prstat -a, df -h etc and to ensure that server health is fine.

I need to know if i can display these details on any GUI. So that i can easily check the server health.

Please note that I can not install any software for that.

Thanks,
Ashish
 
Old 09-19-2012, 07:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
why is it being on a gui easier? If you're not installing any additional tools then no, there's no simpler way to check than running a few tiny commands.
 
Old 09-19-2012, 07:21 AM   #3
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 609

Rep: Reputation: 180Reputation: 180
You can put together some kind of script which sends information about your server periodically via emails or something like that, but you'll have to be very careful about automating those simple commands you listed previously.
 
Old 09-19-2012, 08:12 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6
Posts: 1,601

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Do your servers have any recent versions of snmpd installed?

If so then you can use the "exec" option to allow you to run a script through an OID call and return the values to something like Nagios for monitoring.

This way you aren't installing any software, you're just extending what already exists.
 
1 members found this post helpful.
Old 09-19-2012, 08:33 AM   #5
linux-server
LQ Newbie
 
Registered: Sep 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
@All : Thanks for your Support.

\
 
Old 09-25-2012, 02:43 PM   #6
pantdk
Member
 
Registered: Oct 2011
Location: New Delhi
Posts: 207
Blog Entries: 3

Rep: Reputation: 16
each & everything about the Linux server as per the performance harddisk cpu memory swap i/owait
network utilization etc

Sar install collect all report & get Graphical report "ksar"

Last edited by pantdk; 09-25-2012 at 02:45 PM.
 
Old 09-27-2012, 02:03 PM   #7
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,281

Rep: Reputation: 61
There is a program called Webmin that might be what your after, Its a web-based tool for administering a linux server,
 
Old 09-27-2012, 02:31 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
Quote:
Originally Posted by fotoguy View Post
There is a program called Webmin that might be what your after, Its a web-based tool for administering a linux server,
no, that's not for mass monitoring at all.
 
Old 09-28-2012, 06:13 AM   #9
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,281

Rep: Reputation: 61
Quote:
Originally Posted by acid_kewpie View Post
no, that's not for mass monitoring at all.
work well for me when I was running servers.

But I see he can't install any software any way
 
Old 10-02-2012, 03:57 AM   #10
pantdk
Member
 
Registered: Oct 2011
Location: New Delhi
Posts: 207
Blog Entries: 3

Rep: Reputation: 16
install sysstat & get all sar logs which give u the approx all the os level log & any performance issue occurred like disk read write/cpu utilization memory utilization


1. CPU utilization
2. Memory paging and its utilization
3. Network I/O, and transfer statistics
4. Process creation activity
5. All block devices activity
6. Interrupts/sec etc.

yum install sysstat*

cat /etc/cron.d/sysstat
Sample outputs:

# run system activity accounting tool every 10 minutes
*/10 * * * * root /usr/lib64/sa/sa1 1 1
# generate a daily summary of process accounting at 23:53
53 23 * * * root /usr/lib64/sa/sa2 -A


sar -n "memory"

sar -q "run queue/cpu Load"

sar -u "CPU utilization "

man sar "more on"

ksar download
http://sourceforge.net/projects/ksar/
unzip the ksar

take a report from the server in which the problem occur on "24dated"
LC_ALL=C sar -A -f /var/log/sa/sa24 > /tmp/sardata.txt



take that sardate.txt into the server where u unzip that zip file of ksar now run the ./run.sh after changing the permission chmod a+x run.sh & now give the path of the sardata.txt file & save it as pdf so that you get the proper report which can share & also justify the any error occurred happen at that period related to the health/performance

Last edited by pantdk; 10-02-2012 at 04:03 AM.
 
Old 10-02-2012, 07:00 AM   #11
Turbocapitalist
Member
 
Registered: Apr 2005
Distribution: Ubuntu, Debian, OS X (bsd)
Posts: 156

Rep: Reputation: 30
You could also look at Cacti,

http://www.cacti.net/

It does a lot of monitoring of system health.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Hardware health check abohmeed Linux - Hardware 5 04-22-2012 07:35 AM
how to check raid health rajiv.patil82 Linux - Hardware 1 04-06-2010 05:34 AM
Need a script which does Health check for Linux and send mail notification? your_shadow03 Linux - Newbie 6 11-26-2009 07:20 PM
check the health of a drive? genmaicha Linux - General 3 08-28-2009 06:57 PM
Health Check / Server Completion Check Software? tells Linux - Enterprise 0 04-20-2006 12:03 PM


All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration