hi,
> On Fri, 18 Oct 2002 [EMAIL PROTECTED] wrote:
>
> > Oct 18 01:33:52 bkpsnr mon[4052]: calling alert file.alert for
> routers/ping (/usr/lib/mon/
> > alert.d/file.alert,-d /usr/lib/mon/log.d routers.log) sh:
> fping: not found
> >
> > I have compiled fping and the executable is in /usr/local/sbin
>
> is fping in the path of the mon process? if so, check the perms on fping
> to be sure it's executable, owned by root, and suid.

i solved the problem by editing the fping.monitor file.
changed the line
my $CMD = "fping -e -r $RETRIES -t $TIMEOUT";
to
my $CMD = "/usr/local/sbin/fping -e -r $RETRIES -t $TIMEOUT";

then the fping monitor worked.
i think you have to specify the path to fping in file.alert or you set a
variable like this (in shell scripting):
FPING=`which fping`
this should work too.
>
> _______________________________________________
> mon mailing list
> [EMAIL PROTECTED]
> http://linux.kernel.org/mailman/listinfo/mon

_______________________________________________
mon mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to