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.
Logs:
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
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)
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.
CPU/load on zabbix server is ok, script is working correctly (i have logging in logfile for that script).
Where is the problem ?
Thanx
Comment