Difference between revisions of "Template:FAQ:Applications 06"

From Net-SNMP Wiki
Jump to: navigation, search
(5.4 release synchronisation)
m (Fix reference to the AGENT section)
Line 22: Line 22:
 
the access control won't allow you access to it.
 
the access control won't allow you access to it.
  
See the entries on access control in the [[FAQ:AGENT|AGENT section]] for how to configure the Net-SNMP agent, or consult the agent's own documentation.
+
See the entries on access control in the [[FAQ:Agent|AGENT section]] for how to configure the Net-SNMP agent, or consult the agent's own documentation.

Revision as of 15:23, 28 December 2006


This is almost definitely due to the access configuration of the agent. Many pre-configured systems (such as most Linux distributions) will only allow access to the system group by default, and need to be configured to enable more general access.

The easiest way to test this is to try a GETNEXT request that ought to return the entry of interest. e.g.

       snmpgetnext -v1 -c public localhost UCD-SNMP-MIB::versionTag

instead of

       snmpget     -v1 -c public localhost UCD-SNMP-MIB::versionTag.0

If the agent responds with "end of MIB" or a different object, then either the agent doesn't implement that particular object at all, or the access control won't allow you access to it.

See the entries on access control in the AGENT section for how to configure the Net-SNMP agent, or consult the agent's own documentation.