LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 11-07-2009, 12:55 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,365
Blog Entries: 6

Rep: Reputation: 51
Apache Monitoring Tool..


I have around 30 RHEL Machine where apache Server is running.
I want to monitor every aspect of only Apache Server.
Any tool build for Apache Monitoring.
Yes, Nagios is there but it shows limited options.
Pls Recommend.
 
Old 11-07-2009, 01:33 AM   #2
kaushalpatel1982
Member
 
Registered: Aug 2007
Location: INDIA
Distribution: CentOS, RHEL, Fedora, Debian, Ubuntu, LinuxMint, PCLinuxOS
Posts: 127

Rep: Reputation: 4
What is the exactly your requirement ?

This will help us to provide the solution.
 
Old 11-07-2009, 01:42 AM   #3
EricTRA
Guru
 
Registered: May 2009
Location: Barcelona, Spain
Distribution: LMDE Gnome with Awesome WM + Kernel 3.3.0-1 amd64
Posts: 6,518
Blog Entries: 1

Rep: Reputation: 1217Reputation: 1217Reputation: 1217Reputation: 1217Reputation: 1217Reputation: 1217Reputation: 1217Reputation: 1217Reputation: 1217
Hello,

If you know about Nagios then I can only assume from your post that you are not aware of the NagiosExchange website where you can find a lot of plugins written for Nagios. I did a quick search for apache on their website and came up with the following plugins to monitor apache.

I'm not sure but I think these plugins cover about everything there is to monitor on an apache webserver. Or if you have some specific item or activity you want to monitor you can always 'adapt' one of those plugins to your needs.

Kind regards,

Eric
 
Old 11-09-2009, 09:36 PM   #4
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,365
Blog Entries: 6

Original Poster
Rep: Reputation: 51
Thanks for the suggestion.
What I am looking for a tool completely built for only Monitoring Apache.
 
Old 11-10-2009, 10:06 AM   #5
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by your_shadow03 View Post
Thanks for the suggestion.
What I am looking for a tool completely built for only Monitoring Apache.
is there such a thing?

try server-status module


Code:
www.debian-administration.org/article/Monitoring_Apache_with_mod_status
 
Old 11-21-2009, 07:47 AM   #6
markseger
Member
 
Registered: Jul 2003
Posts: 185

Rep: Reputation: 22
I think your question is still a little vague because I don't know what you mean by 'ever aspect of apache'. For example, you could do something like "ps aux | grep http" every so often and and watch the servers. Is that what you're looking for?

The only problem with this method is it's getting heavy-weight if you care about system overhead, something a lot of people tend to forget.

Collectl, a very lightweight monitoring tool I released several years ago has lots of monitoring options including the ability to monitor specific processes very efficiently. For example, the following command (and these can get cryptic for some of the more advanced capabilities) will only look at all hpptd processes every 5 seconds. Since it uses the process discovery option 'p', it discovers all of the processes at start up and never looks for additional ones to appear. You can leave off that option and there will be a little move overhead because if any new processes appear it must check these individually to see if they too have 'httpd' in their name:

collectl -i:5 -sZ --procfilt chttpd --procopt pt -oT

The output looks like this:

# PROCESS SUMMARY (counters are /sec)
# PID User PR PPID S VSZ RSS CP SysT UsrT Pct AccuTime RKB WKB MajF MinF Command
08:45:18 7184 root 16 1 S 19M 8M 0 0.00 0.00 0 0:00.13 0 0 0 0 /usr/sbin/httpd
08:45:18 7185 apache 18 7184 S 19M 3M 0 0.00 0.00 0 0:00.00 0 0 0 0 /usr/sbin/httpd
08:45:18 7186 apache 18 7184 S 19M 3M 0 0.00 0.00 0 0:00.00 0 0 0 0 /usr/sbin/httpd
08:45:18 7187 apache 18 7184 S 19M 3M 0 0.00 0.00 0 0:00.00 0 0 0 0 /usr/sbin/httpd
08:45:18 7188 apache 18 7184 S 19M 3M 0 0.00 0.00 0 0:00.00 0 0 0 0 /usr/sbin/httpd
08:45:18 7189 apache 23 7184 S 19M 3M 0 0.00 0.00 0 0:00.00 0 0 0 0 /usr/sbin/httpd
08:45:18 7190 apache 22 7184 S 19M 3M 0 0.00 0.00 0 0:00.00 0 0 0 0 /usr/sbin/httpd
08:45:18 7191 apache 22 7184 S 19M 3M 0 0.00 0.00 0 0:00.00 0 0 0 0 /usr/sbin/httpd
08:45:18 7192 apache 22 7184 S 19M 3M 0 0.00 0.00 0 0:00.00 0 0 0 0 /usr/sbin/httpd
08:45:23 7184 root 16 1 S 19M 8M 0 0.00 0.00 0 0:00.13 0 0 0 0 /usr/sbin/httpd
08:45:23 7185 apache 18 7184 S 19M 3M 0 0.00 0.00 0 0:00.00 0 0 0 0 /usr/sbin/httpd
08:45:23 7186 apache 18 7184 S 19M 3M 0 0.00 0.00 0 0:00.00 0 0 0 0 /usr/sbin/httpd
08:45:23 7187 apache 18 7184 S 19M 3M 0 0.00 0.00 0 0:00.00 0 0 0 0 /usr/sbin/httpd
08:45:23 7188 apache 18 7184 S 19M 3M 0 0.00 0.00 0 0:00.00 0 0 0 0 /usr/sbin/httpd
08:45:23 7189 apache 23 7184 S 19M 3M 0 0.00 0.00 0 0:00.00 0 0 0 0 /usr/sbin/httpd
08:45:23 7190 apache 22 7184 S 19M 3M 0 0.00 0.00 0 0:00.00 0 0 0 0 /usr/sbin/httpd
08:45:23 7191 apache 22 7184 S 19M 3M 0 0.00 0.00 0 0:00.00 0 0 0 0 /usr/sbin/httpd
08:45:23 7192 apache 22 7184 S 19M 3M 0 0.00 0.00 0 0:00.00 0 0 0 0 /usr/sbin/httpd

and can easily be directed to a set of rolling log files with -f. There are other options to look at more details around process I/O or process memory usage. To learn more, check out http://collectl.sourceforge.net/Process.html

-mark
 
Old 11-21-2009, 08:07 AM   #7
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by your_shadow03 View Post
Thanks for the suggestion.
What I am looking for a tool completely built for only Monitoring Apache.
cacti or munin could do the job
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Monitoring tool akshay_johari Linux - Software 1 12-05-2008 03:50 PM
apache monitoring tool dianarani Linux - Server 5 06-14-2007 04:37 AM
Network monitoring tool falcon787 Linux - Networking 1 03-20-2007 06:44 AM
SEEKING: Realtime, on-screen Apache Monitoring tool. (Even if it's for Windows...) cyryl_the_wolf Linux - Software 4 08-24-2006 11:08 AM
Network monitoring tool ! chuck77 Linux - General 2 01-15-2002 06:59 PM


All times are GMT -5. The time now is 02:11 AM.

Main Menu
 
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
Open Source Consulting | Domain Registration