[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

4.3.0 fping problem



Hi, I am putting in a new install with Xymon 4.3.0 beta 2. When I try to use 'fping' as my ping utility, I receive connection errors for all hosts, including the server itself:
"Service conn on <host> is not OK : Host does not respond to ping
System unreachable for 1 poll periods (0 seconds)"

Using' hobbitping' works fine, but because it doesn't report back the times in microseconds correctly I need to use fping. I'm a little stumped as to what I'm missing to have fping work correctly.

My sudoers file is set as: "xymon ALL=(ALL) NOPASSWD: /usr/local/sbin/fping". Typing in "sudo /usr/local/sbin/fping -Ae <host>" on the command line as my xymon user gives me a response with no password needed. My hobbitserver.cfg file has entry: FPING="sudo /usr/local/sbin/fping -Ae".
[xymon (at) pxxxxxx etc]$ id
uid=500(xymon) gid=500(xymon) groups=500(xymon)
[xymon (at) xxxxxx etc]$ which fping
/usr/local/sbin/fping
[xymon (at) xxxxxx etc]$ ls -l /usr/local/sbin/fping
-rwxr-xr-x 1 root root 48827 Jul  8 13:07 /usr/local/sbin/fping
[xymon (at) xxxxxx etc]$ /usr/local/sbin/fping -Ae y.y.y.y
This program can only be run by root, or it must be setuid root.
[xymon (at) xxxxxx etc]$ sudo /usr/local/sbin/fping -Ae y.y.y.y
y.y.y.y is alive (0.85 ms)

I've compiled with 'hobbitping' and then with 'fping', updating the hobbitserver.cfg with the same result.

I don't think this is a DNS issue because hobbitping works and the IP's reported back to my tests are correct.

Any ideas?

Thanks,
Mario