This optional clause enables an SNMP Agent that will allow you to fetch
statistics from Radiator using SNMP version 1 or 2c. Radiator supports all
the SNMP objects described in the draft IETF standard defined in
draft-ietf-radius-servmib-04.txt, as well as:
- RFC2619 - RADIUS Authentication Server MIB
- RFC2621 - RADIUS Accounting Server MIB
- RFC4669 - RADIUS Authentication Server MIB for IPv6
- RFC4671 - RADIUS Accounting Server MIB for IPv6
Copies of the standards documents are included in the doc directory of
the Radiator distribution.
SNMPAgent requires SNMP_Session-0.92.tar.gz
or
later to be installed first.
Red Hat Enterprise Linux, CentOS and Oracle Linux users can install the
vendor supplied
perl-SNMP_Session RPM package. For .deb based
systems the package may be available as
libsnmp-session-perl or
other similar name. The source package is available for download from
SNMP-session
If you do not include this clause in your Radiator configuration file,
it will not respond to any SNMP requests.
# Example, showing how to enable SNMP handling
<SNMPAgent>
ROCommunity mysnmpsecret
</SNMPAgent>
If you enable SNMPAgent, you will be able to collect server statistics
using a 3rd party SNMP package such as MRTG, Open View etc. You can also
use SNMP to reset the server.
You can test that it is working properly with a command on Unix like
this one, that gets the value of radiusServIdent from the old draft
MIB:
$ snmpget -c public -v 1 localhost .iso.org.dod.internet.
3.79.1.1.1.1
SNMPv2-SMI::experimental.79.1.1.1.1 = STRING: "Radiator 3.6 on zulu"
And this gets the uptime from the new Authentication server MIB:
$ snmpget -c public -v 1 localhost .1.3.6.1.2.1.67.1.1.1.1.2
SNMPv2-SMI::mib-2.67.1.1.1.1.2 = Timeticks: (200) 0:00:02.00