I've built a custom script collecting data, but when adding as an Item after a few mins it goes to status "Not supported" and shows error "Port number must be numeric in [bps[myswitch,Port-channel1]]". I could not find documentation for the Items error codes, so am not sure why its complaining.
added to zabbix_agentd.conf:
UserParameter=bps[*],/etc/zabbix/get_geman_stat.pl $1 $2
In browser: Configuration, Items added
Type: Simple Check
Key: bps[myswitch,Port-channel1]
All else defaults
The script runs fine on the server/agent (same box):
zabbix@myhost$ /etc/zabbix/get_geman_stat.pl myswitch Port-channel1
764234329
added to zabbix_agentd.conf:
UserParameter=bps[*],/etc/zabbix/get_geman_stat.pl $1 $2
In browser: Configuration, Items added
Type: Simple Check
Key: bps[myswitch,Port-channel1]
All else defaults
The script runs fine on the server/agent (same box):
zabbix@myhost$ /etc/zabbix/get_geman_stat.pl myswitch Port-channel1
764234329
Comment