Ad Widget

Collapse

icmpping Always return 0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sbedoya
    Junior Member
    • May 2009
    • 14

    #1

    icmpping Always return 0

    Hello,

    I have read a lot of people with this problem, and diferent solutions, but anyone works for mi.

    My configuration:

    fping -v
    fping: Version 2.4b2_to $Date: 2002/01/16 00:33:42 $
    ------------------------------------------------------------------------------------
    fping -help

    Usage: fping [options] [targets...]
    -a show targets that are alive
    -A show targets by address
    -b n amount of ping data to send, in bytes (default 56)
    -B f set exponential backoff factor to f
    -c n count of pings to send to each target (default 1)
    -C n same as -c, report results in verbose format
    -e show elapsed time on return packets
    -f file read list of targets from a file ( - means stdin) (only if no -g specified)
    -g generate target list (only if no -f specified)
    (specify the start and end IP in the target list, or supply a IP netmask)
    (ex. fping -g 192.168.1.0 192.168.1.255 or fping -g 192.168.1.0/24)
    -i n interval between sending ping packets (in millisec) (default 25)
    -l loop sending pings forever
    -m ping multiple interfaces on target host
    -n show targets by name (-d is equivalent)
    -p n interval between ping packets to one target (in millisec)
    (in looping and counting modes, default 1000)
    -q quiet (don't show per-target/per-ping results)
    -Q n same as -q, but show summary every n seconds
    -r n number of retries (default 3)
    -s print final stats
    -S addr set source address
    -t n individual target initial timeout (in millisec) (default 500)
    -T n set select timeout (default 10)
    -u show targets that are unreachable
    -v show version
    targets list of targets to check (if no -f specified)

    ----------------------------------------------------------------------------------------------------------------------
    fping 10.0.2.1
    10.0.2.1 is alive
    ----------------------------------------------------------------------------------------------------------------------
    -rwx--x--x 1 zabbix root 56909 2009-10-28 11:53 fping
    ----------------------------------------------------------------------------------------------------------------------
    on zabbix_server.conf

    # Source IP address for outgoing connections
    #SourceIP=
    ----------------------------------------------------------------------------------------------------------------------
    Zabbix 1.6.4
    SUSE 11

    I don't know what else do!!!!

    Someone can help me, please ?

    Regards,
    Santi
    Last edited by sbedoya; 28-10-2009, 14:42.
  • MrKen
    Senior Member
    • Oct 2008
    • 652

    #2
    -rwx--x--x 1 zabbix root 56909 2009-10-28 11:53 fping

    That looks wrong to me! Zabbix manual p.116

    Run these commands as user ‘root’ in order to setup correct permissions:

    shell> chown root:zabbix /usr/sbin/fping
    shell> chmod 710 /usr/sbin/fping
    shell> chmod ug+s /usr/sbin/fping

    MrKen
    Disclaimer: All of the above is pure speculation.

    Comment

    • sbedoya
      Junior Member
      • May 2009
      • 14

      #3
      Thanks MrKen..!!!

      It works..!!

      Regards,
      Santi

      Comment

      Working...