[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


testagent.sh Script Overview and Syntax

You can run the testagent.sh script to verify that the jnprsnmpd SNMP agent is functioning. Before you do so, you must configure the testagent.sh file with the community string for your network.

The syntax for the testagent.sh file (Table 140) is:

snmpget_path -M mib_location -c community port sysDescr



Table 140: testagent.sh Syntax 
Keyword
Function

snmpget_path

Specifies the path for the snmpget utility.

Default value is radiusdir/snmp/bin/snmpget.

-M mib_location

Specifies the path for the MIBs used by the SNMP agent.

Default value is /radiusdir/snmp/mibs.

-c community

Specifies the community string for your network.

Default value is COMMUNITY.

port

Specifies the default port for SNMP traffic.

Default value is localhost:161.

sysDescr

Specifies the MIB variable to be retrieved.

Default value is system.sysDescr.0.



[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]