More checks on handler_tree
[freeradius.git] / scripts / freeradius_acct
index c200fc8..a61627c 100755 (executable)
@@ -2,7 +2,21 @@
 #
 # Plugin to count the daily amount of freeradius authentication packets.
 #
-# Written by Alan DeKok <aland@freeradius.org>
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+#
+#    Copyright (C) 2008 Alan DeKok <aland@deployingradius.com>
 #
 # Magic markers - optional - used by installation scripts and
 # munin-config:
@@ -29,12 +43,12 @@ if [ "$1" = "config" ]; then
     echo 'graph_category Other'
 
     echo 'requests.label Accounting-Requests'
-    echo 'requests.info total incoming request packets'
+    echo 'requests.info total received request packets'
     echo 'requests.type DERIVE'
     echo 'requests.min 0'
 
     echo 'responses.label Accounting-Responses'
-    echo 'responses.info total outgoing response packets'
+    echo 'responses.info total sent response packets'
     echo 'responses.type DERIVE'
     echo 'responses.min 0'