Hello Stephen,
you can install monit for that.
yum install monit
then have a configuration file that match specific pattern:
check file radius.log with path /usr/local/pf/logs/radius.log
group RADIUS
every 450 cycles # every 15 minutes (if 1 cycle is 2 seconds)
if match "Rejected user" then alert
if match "Sponge Bob" then alert
Regards
Fabrice
Le 21-02-08 à 16 h 37, Stephen Gaucher via PacketFence-users a écrit :
I would like to configure PacketFence to email me if its auth status
is set to rejected (it fails a RADIUS check). What’s the easiest way
to do this? Thank you!
City of Vernon Disclaimer: This transmission (including any
attachments) may contain confidential information, privileged material
(including material protected by the FOI act or other applicable
privileges), or constitute non-public information. Any use of this
information by anyone other than the intended recipient is prohibited.
If you have received this transmission in error, please immediately
reply to the sender and delete this information from your system. Use,
dissemination, distribution, or reproduction of this transmission by
unintended recipients is not authorized and may be unlawful.
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users
--
Fabrice Durand
fdur...@inverse.ca :: +1.514.447.4918 (x135) :: www.inverse.ca
Inverse inc. :: Leaders behind SOGo (http://www.sogo.nu) and PacketFence
(http://packetfence.org)
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users