[Nagiosplug-devel] [ nagiosplug-Bugs-1637767 ] check_ping 1.4.5 on FreeBSD 5.4 fails
SourceForge.net
noreply at sourceforge.net
Tue Jun 5 17:19:06 CEST 2007
Bugs item #1637767, was opened at 2007-01-17 17:33
Message generated for change (Comment added) made by pentarh
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1637767&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General plugin execution
Group: Release (specify)
>Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Pentarh Udi (pentarh)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_ping 1.4.5 on FreeBSD 5.4 fails
Initial Comment:
Says "Could not open pipe: " for any command arguments.
After some researching I found that "configure" script did not created appropriate defines as well. It only created
#define PING_COMMAND=""
So after patching config.h, removing the define above and placing following defines i get it worked:
#define PING_COMMAND "/sbin/ping -t %u -c %u %s"
#define PING_HAS_TIMEOUT
#define PING_PACKETS_FIRST
----------------------------------------------------------------------
>Comment By: Pentarh Udi (pentarh)
Date: 2007-06-05 19:19
Message:
Logged In: YES
user_id=1694463
Originator: YES
There is a configure option --with-ping-command or something similar. You
can check it via "./configure --help".
Also I suggest to install it from FreeBSD ports - there are no problems.
----------------------------------------------------------------------
Comment By: Holger Weiss (hweiss)
Date: 2007-06-05 19:05
Message:
Logged In: YES
user_id=759506
Originator: NO
Good idea IMO.
Holger
----------------------------------------------------------------------
Comment By: Matthias Eble (psychotrahe)
Date: 2007-06-05 19:04
Message:
Logged In: YES
user_id=1694341
Originator: NO
sbin is in $PATH by default at least on my freebsd 6.2 box.
Should we consider to add the common pathes like /bin, /usr/bin, /sbin,
and /usr/sbin to
the configure script (after searching $PATH)?
Matthias
----------------------------------------------------------------------
Comment By: Holger Weiss (hweiss)
Date: 2007-06-05 18:07
Message:
Logged In: YES
user_id=759506
Originator: NO
I cannot reproduce this on a FreeBSD 5.5-STABLE (2006-11-06) box, neither
with check_ping 1.4.5 nor with 1.4.9:
$ ./configure
$ grep PING_COMMAND config.h
#define PING_COMMAND "/sbin/ping -n -c %d %s"
I _can_ of course reproduce the problem if I remove /sbin from my $PATH
prior to "./configure", though. I'd guess this was the problem here.
Please let us know whether you can still reproduce the problem with
check_ping 1.4.9 and after verifying that your $PATH includes "/sbin". For
the moment, I set the status of the bug report to 'pending', which means
that it'll be closed automatically if we don't get further feedback.
Thanks a lot, Holger
----------------------------------------------------------------------
Comment By: Matthias Eble (psychotrahe)
Date: 2007-06-05 15:25
Message:
Logged In: YES
user_id=1694341
Originator: NO
I tried this with freebsd 6.2 but cannot reproduce the problem.
Has anyone of the devs got a freebsd 5.4 box up and running?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1637767&group_id=29880
More information about the Devel
mailing list