LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 06: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, 06:19 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 06:21 AM   #3
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
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, 07:12 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,474

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
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, 07: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, 01:43 PM   #6
pantdk
Member
 
Registered: Oct 2011
Location: New Delhi
Posts: 248
Blog Entries: 3

Rep: Reputation: 17
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 01:45 PM.
 
Old 09-27-2012, 01:03 PM   #7
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
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, 01:31 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 05:13 AM   #9
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
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, 02:57 AM   #10
pantdk
Member
 
Registered: Oct 2011
Location: New Delhi
Posts: 248
Blog Entries: 3

Rep: Reputation: 17
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 03:03 AM.
 
Old 10-02-2012, 06:00 AM   #11
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,295
Blog Entries: 3

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

http://www.cacti.net/

It does a lot of monitoring of system health.
 
  


Reply



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 06:35 AM
how to check raid health rajiv.patil82 Linux - Hardware 1 04-06-2010 04:34 AM
Need a script which does Health check for Linux and send mail notification? your_shadow03 Linux - Newbie 6 11-26-2009 06:20 PM
check the health of a drive? genmaicha Linux - General 3 08-28-2009 05:57 PM
Health Check / Server Completion Check Software? tells Linux - Enterprise 0 04-20-2006 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:46 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
Open Source Consulting | Domain Registration