Ad Widget

Collapse

Monitoring Apache httpd with python script and Zabbix Sender

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • masteinhauser
    Junior Member
    • Sep 2011
    • 10

    #1

    Monitoring Apache httpd with python script and Zabbix Sender

    I just cross-posted this to IRC, but thought this might be easier to get a response and document for others who have the same problem later on.
    --

    After setting Zabbix up and configuring everything for ~200 hosts with 10k+ items, I've run into an issue when trying to monitor Apache2. I am using the script and method 1 (located here) which works great for retrieving items, but not at all for sending them back to the Zabbix trapper.

    I have:
    - imported the provided template
    - updated the template to use Zabbix trapper
    - updated the item keys to use a {IPADDRESS} macro because they are IP specific for our system
    - updated the python script to follow what the man pages say for zabbix_sender.

    I have also confirmed the allowed_hosts is empty but I have tried it with the IPs inserted into it without success.

    I am (now) running 1.9.6 and I started with 1.9.5. The issue I am receiving is this:

    Code:
    zabbix_sender [13444]: DEBUG: answer [{
    	"response":"success",
    	"info":"Processed 0 Failed 20 Total 20 Seconds spent 0.000315"}]
    info from server: "Processed 0 Failed 20 Total 20 Seconds spent 0.000315"
    sent: 20; skipped: 0; total: 20
    Does anyone have an idea of what might be happening?
  • jnowl
    Junior Member
    • Oct 2011
    • 2

    #2
    apache monitoring

    I am having the same issue. Any update?

    Comment

    • Axilla
      Senior Member
      • Aug 2010
      • 130

      #3
      Can you post the script that sending the data back to zabbix using Zabbix Sender and a sample host name? I suspect it may be mishandeling spaces in your hostnames or something.

      Comment

      Working...