Coder Social home page Coder Social logo

Comments (4)

 avatar commented on July 20, 2024

I can reproduce the same problem. this is really annoying because since zabbix use fping to check if hosts are alive, it leads to many false positive. what ever, can someone explain me when [printf( " error while sending ping: %s\n", strerror( errno ) );] line 1581 is displayed using fping command? in which situation coz i am not C programer and can't understand....

from fping.

 avatar commented on July 20, 2024

i can also confirm that this only happen with 3.4 version of fping on freebsd systems and only occur with hosts down located in the same network. i have tried with 3.4 fping version (compilled from source) on linux ubuntu and didn't get thoses errors. This is very strange

from fping.

 avatar commented on July 20, 2024

After many hours of testing this lead me to say that fping (3.4 others version?....) is not compatible with freebsd :
Any way to correct that bug?

here is the synthesis :

Different tests using Fping 3.4 (port or manually source compiled) on freebsd (9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825)

Scenario : the host we want to fping is not alive

A) Cases
case 1) :
fping ip_hostdown when ip_hostdown is not located on local network :
result is ALWAYS = ip_hostdown is unreachable

case 2)
fping ip_hostdown when ip_hostdown is located on local network :

result is very rarely = ip_hostdown is unreachable

result is almost always (mainly if i give consecutive tries):
ip_hostdown error while sending ping: Host is down

ip_hostdown error while sending ping: Host is down

ip_hostdown error while sending ping: Host is down

ip_hostdown error while sending ping: Host is down

ip_hostdown error while sending ping: Host is down

ip_hostdown error while sending ping: Host is down

ip_hostdown error while sending ping: Host is down

......
......

==> fping get stuck and never stop if i don't ctrc-c
When i ctrl-c to stop stucked fping ==> ^Cip_hostdown is unreachable

B) source code fping 3.4 : "error while sending ping" is in source code fping.c line 1581
"Host is down" doesn't come from fping source code.

C) Linux test (many version of kernel/distribution) with compiled version of fping 3.4
result is always : ip_hostdown is unreachable

from fping.

schweikert avatar schweikert commented on July 20, 2024

duplicate of #30

from fping.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.