Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

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 196) is:

Table 196: 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.