diff options
author | jim-p <jim@pingle.org> | 2009-10-14 17:10:40 -0400 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2009-10-14 17:11:35 -0400 |
commit | 196610ae4ce93843d877993c6f1a400c7670df1e (patch) | |
tree | 945bf5c141930b56844b018a1d543e137e7ed8ee /config/widget-havp/havp_alerts.inc | |
parent | a0275915f127d728e5088920bd8da9a944a7d6b4 (diff) | |
download | pfsense-packages-196610ae4ce93843d877993c6f1a400c7670df1e.tar.gz pfsense-packages-196610ae4ce93843d877993c6f1a400c7670df1e.tar.bz2 pfsense-packages-196610ae4ce93843d877993c6f1a400c7670df1e.zip |
Add separate packages for snort and havp dashboard widgets.
Diffstat (limited to 'config/widget-havp/havp_alerts.inc')
-rw-r--r-- | config/widget-havp/havp_alerts.inc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/config/widget-havp/havp_alerts.inc b/config/widget-havp/havp_alerts.inc new file mode 100644 index 00000000..ecbfe897 --- /dev/null +++ b/config/widget-havp/havp_alerts.inc @@ -0,0 +1,15 @@ +<?php + +require_once("includes/havp_alerts.inc.php"); + +$havp_alerts_title = "HAVP Alerts"; +$havp_alerts_title_link = "havp_alerts.php"; + +$havp_alerts_logfile = "{$g['varlog_path']}/havp/access.log"; +$nentries = 5; +$havp_alerts = get_havp_alerts($havp_alerts_logfile, $nentries); + +/* AJAX related routines */ +handle_havp_ajax($havp_alerts_logfile, $nentries = 5); + +?>
\ No newline at end of file |