Ad Widget

Collapse

external scripts not working after update 1.8.5 (server, proxy and agentd)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • huracaniki
    Junior Member
    • Feb 2011
    • 3

    #1

    external scripts not working after update 1.8.5 (server, proxy and agentd)

    Hi all,

    I have the following deploy:

    Mysql Server and Frontend: 1.8.5 version

    Mysql Proxy: 1.8.5 version

    Some agents: 1.8.5 version


    Previously i was on 1.8.2 version of each component, and two external scripts for each host monitored was working flawlessly.

    Now after update, only one of them is working ok. Both makes a mysql query to the DB to get a count.
    So, the script that works is 2 or 3 seconds to complete, the script doesnt works is 10 seconds to complete. Could be any timeout retrieving the data?

    It's curious, that for example today, on each host (21) the script was checked at 01:23 am and no more times, this is a strange behaviour because previously was working ok.

    Edit to add lastest data information

    Contador de Eventos 19 Jul 2011 01:23:08 23 - Graph
    eventos x2 Min 19 Jul 2011 18:19:41 3 -11 Graph
    icmpInAddrMaskReps 19 Jul 2011 18:21:58 0 - Graph
    icmpInAddrMasks 19 Jul 2011 18:21:59 0 - Graph
    icmpInDestUnreachs 19 Jul 2011 18:22:05 3290689 -

    Everything is updated each 120 second except "Contador de Eventos", that is a external script like eventos x2 Min

    Any ideas?

    thanks
    Last edited by huracaniki; 19-07-2011, 18:18.
  • EnigmA-X
    Senior Member
    Zabbix Certified Specialist
    • Oct 2010
    • 116

    #2
    What do you get when you use zabbix_get from your monitoring server (or proxy) to fetch the result?

    Comment

    • huracaniki
      Junior Member
      • Feb 2011
      • 3

      #3
      I'm trying the command at server side but cant connect, from proxy zabbix_get is not able to do.

      I'd try this:

      root@m-adm1:~# zabbix_get -s192.168.5.54 -p10050 -I10.140.145.10 -k"scriptMoniAAA.sh[counter]"
      zabbix_get [19065]: Get value error: bind() failed with error 99: Cannot assign requested address

      root@m-adm1:~# zabbix_get -s10.140.145.10 -p10050 -I192.168.5.54 -k"scriptMoniAAA.sh[counter]"
      zabbix_get [19101]: Get value error: bind() failed with error 99: Cannot assign requested address

      root@m-adm1:~# zabbix_get -s10.140.145.10 -p10050 -k"scripMoniEvAAA.sh[counter]"
      ZBX_NOTSUPPORTED
      root@m-adm1:~# zabbix_get -s10.140.145.10 -p10050 -k"scriptMoniAAA.sh[counter]"
      ZBX_NOTSUPPORTED


      192.168.5.54 is host address
      10.140.145.10 is proxy address but this ubuntu has another iface with 192.168.5.0/24 network to get the packets.

      Maybe i'm using incorrectly the zabbix_get command.

      regards
      Last edited by huracaniki; 20-07-2011, 12:08.

      Comment

      Working...