Ad Widget

Collapse

external check - "flapping"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • highland
    Junior Member
    • Feb 2011
    • 9

    #1

    external check - "flapping"

    Hello

    I've defined item with type=external check, and key=netin.sh (or netout.sh), store-value=delta. The problem is that it sometimes it gets good values and draw graph correctly, but a minute later not. This "flapping" is constant.

    Code:
    zabbix@sparc /root $ /etc/zabbix/externalscripts/netout.sh
    2670441195
    zabbix@sparc /root $ /etc/zabbix/externalscripts/netin.sh
    367251059
    zabbix@sparc /root $ id
    uid=1005(zabbix) gid=1008(zabbix) groups=1008(zabbix)
    Logs:
    Code:
    Parameter [22919][router1:netout.sh] became supported
    Item [router1:netin.sh] error: Script /etc/zabbix/externalscripts/netin.sh returned nothing.
    Parameter [router1:netin.sh] is not supported, old status [0]
    Parameter [22916][router1:netin.sh] became supported
    Item [router1:netin.sh] error: Script /etc/zabbix/externalscripts/netin.sh returned nothing.
    Parameter [router1:netin.sh] is not supported, old status [0]
    Item [router1:netout.sh] error: Script /etc/zabbix/externalscripts/netout.sh returned nothing.
    Parameter [router1:netout.sh] is not supported, old status [0]
    Item [router1:netin.sh] error: Script /etc/zabbix/externalscripts/netin.sh returned nothing.
    Item [router1:netout.sh] error: Script /etc/zabbix/externalscripts/netout.sh returned nothing.
    The effect is correct graph - but it has "blank spaces" and "pikes" (pikes appear after a few faled tries finish with success - it than has much greater value to draw).

    CPU/load on zabbix server is ok, script is working correctly (i have logging in logfile for that script).

    Where is the problem ?

    Thanx
  • JBo
    Senior Member
    • Jan 2011
    • 310

    #2
    Hi,

    Originally posted by highland
    I've defined item with type=external check, and key=netin.sh (or netout.sh), store-value=delta. The problem is that it sometimes it gets good values and draw graph correctly, but a minute later not. This "flapping" is constant.
    I have seen this problem with scripts that may sometimes timeout.
    You may raise it to 30s (max. allowed value) in zabbix_server.conf and zabbix_agentd.conf:
    Timeout=30

    Hope this helps,
    JBo

    Comment

    • highland
      Junior Member
      • Feb 2011
      • 9

      #3
      Thanx JBo ! It helped !

      Comment

      Working...