Ad Widget

Collapse

system.run do not return data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LePascal
    Member
    • Nov 2012
    • 33

    #1

    system.run do not return data

    hello,

    I'm using zabbix 2.4. I try to get data from a monitored windows server, using zabbix agent 2.3.

    When i make system.run["ping localhost > c:\toto.txt"] it is ok : the file is created and contains the result of ping localhost.

    When i make system.run["ping localhost] no data is retrieved on the zabbix server.

    In both case, the item is shown as "unsupported". It is executed because of the retrying unsupported item interval.

    I think there is somethins bad in the zabbix_agent.conf, but i don't know what.

    Thank you for reply.
  • LePascal
    Member
    • Nov 2012
    • 33

    #2
    I found the solution : set timeout = 30 on the zabbix server.

    Comment

    • kloczek
      Senior Member
      • Jun 2006
      • 1771

      #3
      Originally posted by LePascal
      I found the solution : set timeout = 30 on the zabbix server.
      A) you have special build in keys to test network using ICMP
      B) if on executing ping you must extend timeout to 30s probably you are doing something wrong
      http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
      https://kloczek.wordpress.com/
      zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
      My zabbix templates https://github.com/kloczek/zabbix-templates

      Comment

      Working...