Thanks, Ashwin, it works fine, now!  So as the example files you sent to me
earlier.

I created configuration files under /usr/local/etc without caution,

It actually should be created under /usr/local/etc/snmp.

Apologize for wasting your time about that.

But the "No Such Instance currently exists at this OID" problem still
occurs,
[root@AS ~]# snmpget -v2c -c public localhost sysDescr.0
SNMPv2-MIB::sysDescr.0 = STRING: Linux AS 2.6.35.6-45.fc14.i686 #1 SMP Mon
Oct 18 23:56:17 UTC 2010 i686
[root@AS ~]# snmpget -v2c -c public localhost networkConfiguration.1.1
NETWORK-CONFIGURATION-MIB::HostName = No Such Instance currently exists at
this OID

"snmpd -H" says
"
[root@AS ~]# snmpd -H
Configuration directives understood:
No log handling enabled - using stderr logging
"
so I think the dlmod in snmpd.conf file worked.
Where the problem could occur at?

after running "snmptranslate -Tp -IR networkConfiguration", the output is
what we expected.
+--networkConfiguration(3012)
   |
   +--basicInformation(1)
   |  |
   |  +-- -R-- String    HostName(1)
   |  +-- -R-- String    InterfaceName(2)
   |  +-- -R-- String    HWaddress(3)
   |
   +--basicConfiguration(2)
   |  |
   |  +-- -R-- String    broadcastAddress(1)
   |  +-- -R-- String    maskAddress(2)
   |  +-- -R-- Integer32 priorityType(3)
   |
   +--flagConfiguration(3)
   |  |
   |  +-- -R-- String    UpDown(1)
   |  +-- -R-- String    broadcast(2)
   |  +-- -R-- String    debug(3)
   |  +-- -R-- String    loopback(4
...........
...........
...........  ( I skippped other parts )



2011/2/17 Ashwin Kumar <[email protected]>

> Anthony,
>
> For a quick solution please use these configuration files.
>
> Let me know if it works. Later we can setup more complex security.
>
> FYI..., for time being place the shared object (.so) in /usr/lib/
> directory.
>
>
> I hope you will see joy with this very basic configuration.
> After placing(over-writing) the .conf files. Re-start your daemon.
>
> and issue the snmpget requests.
>
>
>
> Cheers,
>
>
> --
Best Wishes,
姜 宇 <[email protected]>
Anthony Jiang <[email protected]>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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

Reply via email to