Add apache /status to Zabbix
Project ID: 1232404576
Project Details
  • Status:
    Closed (Cancelled)
  • Posted:
    1/19/2009 at 17:36 EST
  • Cancelled:
    2/19/2009 at 23:42 EST
  • Project Creator:
  • Budget:
    N/A
  • Description:
    Hi,

    In apache 2.0 you can add mod_status(default). You can then enable extra information and per virtual domain CPU information is shown like this:

    Srv PID Acc M CPU SS Req Conn Child Slot Client VHost Request
    0-0 7179 0/15/216 W 1.15 2 0 0.0 0.14 0.99 <ip> www.xxx.com GET /favicon.ico HTTP/1.1
    1-0 6972 0/42/297 W 0.35 0 0 0.0 0.21 1.04 <ip> localhost GET /server-status HTTP/1.1
    2-0 7396 2/7/235 W 0.50 1 0 0.0 0.01 1.15 <ip> www.xxx.com GET /wp-admin/ HTTP/1.1
    3-0 7278 0/30/401 _ 0.57 1 0 0.0 0.03 8.85 <ip> www.xxx.org GET /IPSF/ipsf.css HTTP/1.1
    4-0 7397 0/2/271 _ 0.00 2 4 0.0 0.01 1.08 <ip> www.xxx.net GET /forum/style_images/css_21.css HTTP/1.1
    5-0 6390 8/169/284 C 2.89 0 0 80.8 1.22 3.28 <ip> www.xxx.nl GET /images/stories/images/xxx.jpg HTTP/1.1

    This is what I add in httpd.conf:
    <Location /server-status>
    SetHandler server-status

    Order Deny,Allow
    Deny from all
    Allow from .foo.com
    </Location>

    What I want is that zabbix reads this every X minutes from multiple servers and notifies me when a site has a high CPU usage during X minutes. Also the graphs and history in zabbix should work.

    Regards,
    Michel.
  • Tags:
Project Bids
Programmer Bid Delivery Time Time of Bid Rating  
wearethebest $100 7 days 1/20/2009 at 12:26 EST (No Feedback Yet)
Hello, 3rd level linux administrator here. ready to work. i am doing a similiar project now. Please check PM for details.
aleksandr85 $120 3 days 2/1/2009 at 11:05 EST 10.00/10
(3 reviews)
Hello! Please, review details in PMB. Regards, Aleksandr.
bilke $120 4 days 1/22/2009 at 6:20 EST (No Feedback Yet)
Hi, experienced linux/solars admin/system integrator. you can check my xing profile.