I'v created item which is using simplecheck icmpping (attached).
in zabbix_server.conf
FpingLocation=/usr/sbin/fping
on server when i run:
[root@zabbix ~]# su zabbix --shell=/bin/bash
bash-4.1$ /usr/sbin/fping 10.5.172.5
10.5.172.5 is alive
but item always see host as down (has value 0).
how should i use this item correctly?
best regards
Mikolaj Habdank
18623:20110401:121250.630 In substitute_simple_macros() data:'icmpping'
18623:20110401:121250.630 In add_icmpping_item() addr:'10.5.172.5' count:3 interval:0 size:0 timeout:0
18623:20110401:121250.630 End of add_icmpping_item()
18623:20110401:121250.630 In DCflush_nextchecks()
18623:20110401:121250.630 End of get_pinger_hosts():1
18623:20110401:121250.630 In process_pinger_hosts()
18623:20110401:121250.630 In add_pinger_host() addr:'10.5.172.5'
18623:20110401:121250.630 End of add_pinger_host()
18623:20110401:121250.630 In do_ping() hosts_count:1
18623:20110401:121250.630 In process_ping() hosts_count:1
18623:20110401:121250.631 /tmp/zabbix_server_18623.pinger
18623:20110401:121250.631 10.5.172.5
18623:20110401:121250.631 /usr/sbin/fping -q -C3 2>&1 </tmp/zabbix_server_18623.pinger;/usr/sbin/fping6 -q -C3 2>&1 </tmp/zabbix_server_18623.pinger;
18623:20110401:121251.086 Update IP [fping6: Address family for hostname not supported]
18623:20110401:121251.086 End of process_ping()
18623:20110401:121251.087 End of do_ping():SUCCEED
in zabbix_server.conf
FpingLocation=/usr/sbin/fping
on server when i run:
[root@zabbix ~]# su zabbix --shell=/bin/bash
bash-4.1$ /usr/sbin/fping 10.5.172.5
10.5.172.5 is alive
but item always see host as down (has value 0).
how should i use this item correctly?
best regards
Mikolaj Habdank
18623:20110401:121250.630 In substitute_simple_macros() data:'icmpping'
18623:20110401:121250.630 In add_icmpping_item() addr:'10.5.172.5' count:3 interval:0 size:0 timeout:0
18623:20110401:121250.630 End of add_icmpping_item()
18623:20110401:121250.630 In DCflush_nextchecks()
18623:20110401:121250.630 End of get_pinger_hosts():1
18623:20110401:121250.630 In process_pinger_hosts()
18623:20110401:121250.630 In add_pinger_host() addr:'10.5.172.5'
18623:20110401:121250.630 End of add_pinger_host()
18623:20110401:121250.630 In do_ping() hosts_count:1
18623:20110401:121250.630 In process_ping() hosts_count:1
18623:20110401:121250.631 /tmp/zabbix_server_18623.pinger
18623:20110401:121250.631 10.5.172.5
18623:20110401:121250.631 /usr/sbin/fping -q -C3 2>&1 </tmp/zabbix_server_18623.pinger;/usr/sbin/fping6 -q -C3 2>&1 </tmp/zabbix_server_18623.pinger;
18623:20110401:121251.086 Update IP [fping6: Address family for hostname not supported]
18623:20110401:121251.086 End of process_ping()
18623:20110401:121251.087 End of do_ping():SUCCEED
Comment