Yes sorry for the mistake

In pf.conf add [paths] section and externalapi = your script

And in the violations you want, then add actions=external

It will launch your script when a violation occur.

Regards

Le 2012-11-09 10:51, st3fan0 ste a écrit :

i have found external command possibility explained in Administration Guide under Violation Action Section and seems that in action.pm thare is already added action_external function with system(@args) call but there arent information on how we can add it in single violation ( thru web gui we havent any external choise when we try to edit a violation configuration )
------------------------------------------------------------------------
Date: Fri, 9 Nov 2012 10:34:55 -0500
From: [email protected]
To: [email protected]
Subject: Re: [PacketFence-users] External scripts on Violation

Hi,
you probably have to modify action.pm and add a new condition like script and code what you want to do with this condition. (action_execute).


Regards

Le 2012-11-09 04:15, st3fan0 ste a écrit :

    There are some documentation about how to configure external
    scripts called by violation?
    iam not able to find some informations in the administrator guide
    about that config option, my goal would be to perform an external
    scripts when a violation was triggered, like for example:

    external = php sendMessage.php violantion_ip violation_type

    i want to be able to send an email to the client that has done the
    specific violation.


    
------------------------------------------------------------------------------
    Everyone hates slow websites. So do we.
    Make your web apps faster with AppDynamics
    Download AppDynamics Lite for free today:
    http://p.sf.net/sfu/appdyn_d2d_nov



    _______________________________________________
    PacketFence-users mailing list
    [email protected]  
<mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/packetfence-users



--
Fabrice Durand
[email protected]  <mailto:[email protected]>  ::  +1.514.447.4918 (x135) 
::www.inverse.ca  <http://www.inverse.ca>
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://packetfence.org)

------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ PacketFence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users


--
Fabrice Durand
[email protected] ::  +1.514.447.4918 (x135) ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence 
(http://packetfence.org)

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to