RE: sysUpTime returns an error
"Tanya Brudner" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, Thanks again but I am still a bit confused: My access rights (as defined in the /etc/snmp/snmpd.conf) (almost from the sample file) are defined as following: Com2sec my-sec-ro default public Com2sec my-sec-rw default private Group my-ro-group v1 my-sec-ro Group my-rw-group v1 my-sec-rw Group my-ro-group usm my-sec-ro Group my-rw-group usm my-sec-rw View all included .1 access my-rw-group "" v1 noauth exact all all none access my-ro-group "" v1 noauth exact all none none access my-rw-group "" usm noauth exact all all none access my-ro-group "" usm noauth exact all none none rwuser myuser authPriv (the user is created directly by putting the createUser directive in the /var/lib/... snmpd.conf file). Perhaps there is anything wrong here, or you can advice on something else I could try... Thanks again, -Tanya -----Original Message----- From: Wes Hardaker [mailto:[email protected]] Sent: Wednesday, December 31, 2008 18:47 To: Tanya Brudner Cc: [email protected] Subject: Re: sysUpTime returns an error >>>>> On Tue, 30 Dec 2008 22:23:01 +0200, "Tanya Brudner" <[email protected]> said: TB> I have a problem with Get-request on a single mib: SysUpTime. TB> On a snmpget -v3 ..... system.sysUpTime.0, it returns TB> ""DISMAN-EVENT-MIB::sysUpTimeInstance = No such Object available on this TB> agent at this OID" It looks like you don't have access rights to that object. Check your access control settings, or check that the agent was compiled to include the system group (it should have been unless you're doing something odd). The DISMAN-EVENT-MIB part is actually just misleading. It is the right object. The DISMAN-EVENT-MIB defines the scalar instance as something special for it's own purposes. Just ignore that part in your error comment as it's not relevant to your problem. -- Wes Hardaker Sparta, Inc. ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users