Ad Widget

Collapse

How monitoring Apache server with zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • webnginx
    Junior Member
    • Mar 2012
    • 1

    #1

    How monitoring Apache server with zabbix

    Hello

    I would like monitoring remote Apache server with my zabbix server.

    I find this wiki http://www.zabbix.com/wiki/templates/apache and I follow instructions "method2"

    I download and import xml template and script query_apachestats.py in folder /etc/zabbix/externalscripts/query_apachestats.py with correct authoring (chmod +x)

    I modified zabbix-server.conf to ExternalScripts=/etc/zabbix/externalscripts.

    I restarted my zabbix server complete (host)

    I link my remote apache host with the download template and activate items on my host.

    But, all items have status changed from "Active" to "Not supported" with following message returns (in interface or zabbix-serveur.log)

    error: Script /etc/zabbix/externalscripts/query_apachestats.py returned nothing.

    I use Zabbix Appliance 1.8.10 based on centos Linux with MySQL back-end.

    Do you have any solutions ?

    thanks (in French : "Merci par avance")
  • ericgearhart
    Senior Member
    • Jan 2009
    • 115

    #2
    First question: is http://<your apache server>/server-status?auto available? I mean, from your Zabbix server can you do

    curl http://<your apache server>/server-status?auto

    and get output from the curl?
    (PS I wrote "method 2" on the wiki)

    Comment

    Working...