Mailinglist archives

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

From: Mak <diffmon_at_gmail.com>
Date: Mon, 28 Apr 2008 23:45:40 +0200

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
Received on Mon Apr 28 2008 - 23:42:08 CEST