You are correct. " rouser foo noauth system" works. Is there a snmplib function that I can use in my front-end that can validate the given oid in the same manner that the agent would in the context of v3 users? Unfortunately snmp_parse_oid() will parse correctly oids like "iso", "org" whereas agent throws error.
-----Original Message----- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 28, 2005 11:46 AM To: Aggarwal , Ajay Cc: [email protected] Subject: RE: OIDs instead of names in snmpd.conf On Wed, 2005-09-28 at 11:36 -0400, Aggarwal , Ajay wrote: > Yes ".iso" works too. > > So on v4 UCD agent, it has to be a fully qualified OID, > whether numeric or name? Not quite. The v4 UCD library interpreted non-fully-qualified OIDs as being relative to 'mib2' (I think). So I suspect that something like rouser foo noauth system would probably work. But for safety, it's best to fully qualify everything. Either as a full OID starting with '.', or using the "MIB::name" syntax. (Though numeric OIDs are safer still, as this doesn't rely on the MIB files being present at all). Dave ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
