![]() |
SNMP problem
Hi I have a question about SNMP/snmpwalk
I already created a custom OID. And it was success to walk the index. such as below. [root@localhost ~]# snmpwalk -c public -v2c 127.0.0.1 1.3.6.1.4.1.228.11.4.32 SNMPv2-SMI::enterprises.228.11.4.32.1 = STRING: "2561-int" SNMPv2-SMI::enterprises.228.11.4.32.2 = STRING: "2581-int" SNMPv2-SMI::enterprises.228.11.4.32.3 = STRING: "2582-int" But when i walk the exact interface it returned [root@localhost ~]# snmpwalk -c public -v2c 127.0.0.1 1.3.6.1.4.1.228.11.4.32.1 SNMPv2-SMI::enterprises.228.11.4.32.1 = No Such Instance currently exists at this OID [root@localhost ~]# Have any ideas??? Thanks |
You could (should?) use snmpget http://linux.die.net/man/1/snmpget and/or play with some of the options shown here http://linux.die.net/man/1/snmpwalk
|
Thank you for your reply.
But is it normal? It return No Such Instance currently exists at this OID When i walk the exact interface? it already try to use snmpget. It cannot return result as snmpwalk.... May i know have any configuration i need to change? if i have a custom OID ?? Thank you [root@localhost scripts]# snmpget -c public -v2c 127.0.0.1 1.3.6.1.4.1.228.11.4.32 SNMPv2-SMI::enterprises.228.11.4.32 = No Such Instance currently exists at this OID [root@localhost scripts]# snmpget -c public -v2c 127.0.0.1 1.3.6.1.4.1.228.11.4.32.1 SNMPv2-SMI::enterprises.228.11.4.32.1 = No Such Instance currently exists at this OID [root@localhost scripts]# |
Is it related with the snmpd version?
----------------------------- NET-SNMP version: 5.3.2.2 Web: http://www.net-snmp.org/ Email: net-snmp-coders@lists.sourceforge.net [root@localhost ~]# ----------------------------- snmpd.conf pass .1.3.6.1.4.1.228.11.4.32 /var/www/mrtg/filter ----------------------------- |
All times are GMT -5. The time now is 10:40 PM. |