Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-q option and same subnet hosts output to STDERR #1

Closed
daddydubber opened this issue Apr 12, 2012 · 0 comments
Closed

-q option and same subnet hosts output to STDERR #1

daddydubber opened this issue Apr 12, 2012 · 0 comments

Comments

@daddydubber
Copy link

If running fping using the -q option to only return exit status on a "down" host in the same subnet, the system outputs on STDERR "ICMP Host Unreachable ....".

While there are ways to programmatically get around this, is it possible for fping to deal with this output when using the -q option? I would expect this as the standard behavior.

This behavior exists in the legacy and current versions fping <= version 3

Ex.:
/usr/local/sbin/fping -q 192.168.1.10
ICMP Host Unreachable from 192.168.1.5 for ICMP Echo sent to 192.168.1.10

This is on STDERR as redirecting STDERR removes the messages.
Ex.
/usr/local/sbin/fping -q 192.168.1.10 2> /dev/null

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants