Mailinglist archives

Re: [list-arpalert] action on alert doesn't work

From: ARPALERT INFOS <info_at_arpalert.org>
Date: Tue, 29 Apr 2008 11:06:28 +0200 (CEST)

Hi,

Can ou send me your config file ?

Thierry

> Hi,
>
> Is there any posibility to have problems with action on detect. It
> doesn't work for me. I have configure it in arpalert.conf
>
> action on detect = "/usr/local/sbin/arpdef.pl"
>
> arpdef.pl is default scripts from src packages /scripts/contrib/
> Config file is also default, only line with "action on detect" was
> changed.
>
> --------------------- src ----------------
> #!/usr/bin/perl -w
>
> use strict;
> if ( $< ) {
> exit;
> }
>
> #logging ..
> open (LOGFILE,">>/tmp/arpdef.log");
> print LOGFILE (join " ",@ARGV);
>
> print LOGFILE "\n";
> close LOGFILE;
> ------------------------------------------
>
> I don't have any idea why it's not working - /tmp/aprdef.log is empty.
> If i run arpdef.pl standalone not by arpalert then it's working.
>
> --
> Diffmon
>
> --
> To unsubscribe send a mail to list+unsubscribe_at_arpalert.org
>
>

-- 
To unsubscribe send a mail to list+unsubscribe_at_arpalert.org
Received on Tue Apr 29 2008 - 11:06:27 CEST