Ad Widget

Collapse

zabbix_sender previously working, suddenly failing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • groknaut
    Junior Member
    • Feb 2012
    • 7

    #1

    zabbix_sender previously working, suddenly failing

    hiya,

    in one of my environments, this zabbix_sender check started failing today, and i can't figure out why.

    Code:
    [root@admin2-dev ~]# /usr/bin/zabbix_sender -s admin2.dev -c /etc/zabbix/zabbix_agentd.conf -z zabbix.dev.foo.com -k chef_client[status] -o 0 -vv
    zabbix_sender [31156]: DEBUG: answer [{
            "response":"success",
            "info":"Processed 0 Failed 1 Total 1 Seconds spent 0.000023"}]
    Info from server: "Processed 0 Failed 1 Total 1 Seconds spent 0.000023"
    sent: 1; skipped: 0; total: 1
    it is indeed still working in another environment:

    Code:
    [root@admin2-prod ~]# /usr/bin/zabbix_sender -s admin2.prod -c /etc/zabbix/zabbix_agentd.conf -z zabbix.prod.foo.com -k chef_client[status] -o 0 -vv
    zabbix_sender [14527]: DEBUG: answer [{
            "response":"success",
            "info":"Processed 1 Failed 0 Total 1 Seconds spent 0.000042"}]
    Info from server: "Processed 1 Failed 0 Total 1 Seconds spent 0.000042"
    sent: 1; skipped: 0; total: 1

    "prod" and "dev" environments are set up the same, in this case: same zabbix versions, same base configs, same OS.

    can anyone help me figure out what's going on? i do see from reading various forum posts and bugs that zabbix server doesn't really log sufficient details on zabbix_sender calls. is that right?

    thanks,
    kallen


    DETAILS:

    zabbix agent and server version: 1.8.10
    OS: Centos 5.8

    In the template:

    Item:
    Description: Chef Client Status
    Type: zabbix trapper
    Key: chef_client[status]
    Type of information: Numeric (unsigned)
    Data type: Decimal


    Trigger:
    Name: Chef Client status {HOSTNAME}
    Expression: {Template_Chef_Client:chef_client[status].last(0)}>0
    No dependencies


    the Host definition:
    Name: admin2.dev
    DNS name: admin2.dev.foo.com
  • Davidus
    Senior Member
    • Dec 2010
    • 281

    #2
    Restarting zabbix server might help.
    I`m using zabbix 1.8.4 on RHEL 5.5. I restart zabbix server with following commands

    service zabbix_server stop
    service zabbix_server start

    Comment

    • groknaut
      Junior Member
      • Feb 2012
      • 7

      #3
      i did restart the zabbix server. but it didn't help the problem.

      any other ideas?

      Comment

      • groknaut
        Junior Member
        • Feb 2012
        • 7

        #4
        and suddenly today i see all nodes are now working, whereas they were not working yesterday. working means the server says -- Info from server: "Processed 1 Failed 0 Total 1

        i don't know why.. wish i did.

        thanks

        Comment

        Working...