Xymon Mailing List Archive search

fping/hobbitping problem

5 messages in this thread

list Steve Holmes · Mon, 12 Feb 2007 11:48:35 -0500 ·
Greetings,

I'm upgrading from BB to hobbit today (:-), and have a small problem with fping or hobbitping I can't seen to get around.

Initially I configured hobbit to use fping since that is what we've been using and the message in the config say that hobbitping is "unstable". 
But I get a red face on the bbtest column of the server and the message on the detail page says that fping -Ae failed. 
My fping doesn't have a -A option. I went to the fping.org page and it doesn't have a -A option, either. 
I haven't been able to find where in the sources the flags are set for fping to change it to something else (like -ae ???). 
Then I reconfigged and remade hobbit to use hobbitping, but the problem persists. 
?

Is there another version of fping I'm not aware of? Why does hobbitping have the same problem??

Thanks for any help. I'm really looking forward to getting hobbit up and running!

Steve Holmes
Purdue University
list Steve Holmes · Mon, 12 Feb 2007 11:54:42 -0500 ·
Sorry, I'm running Solaris 10 on the server, and hobbit-4.2.0.


Steve.
list Jason Altrincham Jones · Mon, 12 Feb 2007 16:56:18 -0000 ·
This is the one I use:

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
   -t n       individual target initial timeout (in millisec) (default
500)
   -u         show targets that are unreachable
   -v         show version
   targets    list of targets to check (if no -f specified)

[root at svr-gbn-bbr-01 server]# fping -v
fping: Version 2.4b2_to $Date: 2001/01/25 11:25:04 $
fping: comments to user-90b69162d730@xymon.invalid


from: http://www.fping.com/

Hope this helps.
Jason.
quoted from Steve Holmes

-----Original Message-----
From: Steve [mailto:user-08c0215782b3@xymon.invalid] 
Sent: 12 February 2007 16:49
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] fping/hobbitping problem

Greetings,

I'm upgrading from BB to hobbit today (:-), and have a small problem
with 
fping or hobbitping I can't seen to get around.

Initially I configured hobbit to use fping since that is what we've been

using and the message in the config say that hobbitping is "unstable". 

But I get a red face on the bbtest column of the server and the message
on 
the detail page says that fping -Ae failed. 

My fping doesn't have a -A option. I went to the fping.org page and it 
doesn't have a -A option, either. 

I haven't been able to find where in the sources the flags are set for 
fping to change it to something else (like -ae ???). 

Then I reconfigged and remade hobbit to use hobbitping, but the problem 
persists. 

?

Is there another version of fping I'm not aware of? Why does hobbitping 
have the same problem??

Thanks for any help. I'm really looking forward to getting hobbit up and

running!

Steve Holmes
Purdue University
list Henrik Størner · Mon, 12 Feb 2007 18:00:52 +0100 ·
quoted from Jason Altrincham Jones
On Mon, Feb 12, 2007 at 11:48:35AM -0500, Steve wrote:
But I get a red face on the bbtest column of the server and the message on the detail page says that fping -Ae failed. 
My fping doesn't have a -A option. I went to the fping.org page and it doesn't have a -A option, either. 
You mean "fping.com", I think. The man-page there is badly out of date,
and nowhere near the man-page you'll find inside the source archive
available at the same site. Try grabbing the fping.tar.gz file and build
that.

The "-Ae" option (from the *real* fping man-page):

  -A   Display targets by address rather than DNS name.
  -e   Show elapsed (round-trip) time of packets.

Hobbit was tested with fping version 2.4b2_to.

I haven't been able to find where in the sources the flags are set for fping to change it to something else (like -ae ???). 
The "-Ae" is built into Hobbit, but you can override the command Hobbit
uses via the FPINGCMD setting in hobbitserver.cfg.

Then I reconfigged and remade hobbit to use hobbitping, but the problem persists. 
Check the FPINGCMD setting in hobbitserver.cfg. Re-installing Hobbit
doesn't overwrite the config files (that would be bad for upgrades), so even though you changed the compile-time settings, the run-time ones are still picked up from hobbitserver.cfg and may not have changed at all.


Regards,
Henrik
list Steve Holmes · Mon, 12 Feb 2007 12:22:57 -0500 ·
Thanks. BTW, the second time I configured with hobbitping selected, before I did the make install I removed everything in the hobbit home and then hobbitping worked. Must have had something held over from the previous install that didn't get overwritten.

I'm going to stick with hobbitping unless it bites me.

Now on to the challenge of migrating my BB configuration over to hobbit. Heeyah!

Steve.