Ad Widget

Collapse

icmppingloss Host is down=success

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gray
    Junior Member
    • Dec 2010
    • 12

    #1

    icmppingloss Host is down=success

    Hi! Sorry for my english. I have next problem:
    I want to check icmp lost packet to some host on the same direct connect network as Zabbix server, 192.168.15.0/24 for example: 192.168.15.10 - Zabbix and 192.168.15.20 on target host. I have an item:
    icmppingloss[{IPADDRESS},10,200,900,1000]

    So the problem -- if host is down fping sometimes says
    Code:
    z# /usr/local/sbin/fping 192.168.15.21
    192.168.15.21 is unreachable
    and sometimes
    Code:
    z# /usr/local/sbin/fping 192.168.15.21
    192.168.15.21 error while sending ping: Host is down
    
    192.168.15.21 is unreachable
    So then i've got "Host is down" message function icmppingloss return 0%, like I have no any ping losses. I think 100% should be returned in this case.
    In FreeBSD "host is down" is usual showned then host is in direct connect network and local arp table have entry like this:
    Code:
    ? (192.168.15.21) at (incomplete) on fxp0 expired [ethernet].
    So result in attachment: host changes state from Up to Down frequently then is totaly Down.

    FreeBSD 8.2-RELEASE, Zabbix Server v1.8.8 (revision 21965) (28 September 2011) from source, fping: Version 2.4b2_to $Date: 2002/01/16 00:33:42
    Attached Files
    Last edited by Gray; 27-02-2012, 16:00.
  • Anderson
    Junior Member
    • Aug 2014
    • 6

    #2
    somebody??

    Comment

    • Gray
      Junior Member
      • Dec 2010
      • 12

      #3
      Originally posted by Anderson
      somebody??
      It's look like an fping problem. Anyway you can cheet with construction like this icmppingsec[{HOST.IP},3,,,,avg].avg(#2)}=0

      icmppingsec return "0" only when host is down in my case.

      Comment

      Working...