-
Notifications
You must be signed in to change notification settings - Fork 2
MFD:ifTable:Testing
If you have not been compiling as you went along, try and compile now.
|
|
After running make, you should have an executable named ifTable.
You can run the ifTable agent as a regular SNMP agent, or as an AgentX sub-agent. The default is to run as a sub-agent. While testing, the -f (do not fork into background) and -L (log to stderr) options are recommended.
AgentX Sub-agent: |
ifTable -f -L |
|
Standard SNMP Agent: |
ifTable -M -f -L [udp[:port]] |
Note that running the sub-agent application as a master agent will runwithout any access control. All SNMPv1 and SNMPv2c requests will be accepted, regardless of the community string.
For that reason, when testing I run as a regular user (not root), and only bind to the localhost interface, like so:
|
A simple snmpwalk will quickly test the module:
|
If you ran the agent with debugging, you should see something like this:
|