no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | monitors:radius [2009/11/23 06:08] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== 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' | ||
| + | - Add the following to the server hobbitlaunch.cfg | ||
| + | < | ||
| + | [radius] | ||
| + | ENVFILE / | ||
| + | NEEDS hobbitd | ||
| + | CMD $BBHOME/ | ||
| + | LOGFILE $BBSERVERLOGS/ | ||
| + | INTERVAL 1m | ||
| + | </ | ||
| + | |||
| + | ===== Source ===== | ||
| + | ==== radius.sh ==== | ||
| + | <hidden onHidden=" | ||
| + | < | ||
| + | #!/bin/sh | ||
| + | |||
| + | # | ||
| + | # | ||
| + | # This required the radclient utility: | ||
| + | # | ||
| + | # http:// | ||
| + | # | ||
| + | |||
| + | ## 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/ | ||
| + | while read L | ||
| + | do | ||
| + | set $L | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | / | ||
| + | User-Name = $RADIUSUSER | ||
| + | User-Password = $RADIUSPASS | ||
| + | EOF | ||
| + | | ||
| + | |||
| + | if test $? -ne 0 | ||
| + | then | ||
| + | COLOR=red | ||
| + | MSG=" | ||
| + | |||
| + | `cat $BBTMP/ | ||
| + | |||
| + | Seconds: ${SECONDS} | ||
| + | " | ||
| + | else | ||
| + | COLOR=green | ||
| + | MSG=" | ||
| + | |||
| + | `cat $BBTMP/ | ||
| + | |||
| + | Seconds: ${SECONDS} | ||
| + | " | ||
| + | fi | ||
| + | |||
| + | $BB $BBDISP " | ||
| + | |||
| + | $MSG" | ||
| + | $RM $BBTMP/ | ||
| + | done | ||
| + | |||
| + | exit 0 | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ===== Known Bugs and Issues ===== | ||
| + | |||
| + | * No known bugs | ||
| + | |||
| + | ===== To Do ===== | ||
| + | |||
| + | ===== Credits ===== | ||
| + | |||
| + | ===== Changelog ===== | ||
| + | |||
| + | * **2006-11-26** | ||
| + | * Initial release | ||