====== radius ======
^ Author | [[ etmsys@rit.edu | Eric Meddaugh ]] |
^ Compatibility | Xymon 4.2 |
^ Requirements | unix, Linux |
^ Download | None |
^ Last Update | 2006-11-26 |
===== Description =====
Monitor Radius server.
===== Installation =====
- Add script to server's ext folder
- Add the following to the server hobbitlaunch.cfg
[radius]
ENVFILE /home/hobbit/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD $BBHOME/ext/radius.sh
LOGFILE $BBSERVERLOGS/radius.log
INTERVAL 1m
===== Source =====
==== radius.sh ====
#!/bin/sh
#
#
# This required the radclient utility:
#
# http://www.freeradius.org
#
## Add to the hobbitserver.cfg in the TEST2RRD section: radius=tcp, this will show a graph of respond time.
## Built on Solaris 10.
COLUMN=radius
### Radius User here
RADIUSUSER=
### Radius Password here
RADIUSPASS=
### Radius shared password here
RADIUSSECRET=
TIMEOUT=10
$BBHOME/bin/bbhostgrep --no-down ${COLUMN} |
while read L
do
set $L
IP="$1"
HOSTNAME="$2"
COLOR=green
/bin/ptime /usr/local/bin/radclient -t $TIMEOUT $IP auth $RADIUSSECRET >$BBTMP/${COLUMN}.out 2>&1 <
===== Known Bugs and Issues =====
* No known bugs
===== To Do =====
===== Credits =====
===== Changelog =====
* **2006-11-26**
* Initial release