Date: Wed, 05 Sep 2012 04:00:18 +0400 From: =?UTF-8?B?TWF4aW0gR2Fsa2lu?= <lifefornazgul@mail.ru> To: freebsd-questions@freebsd.org Subject: Snmpd.conf and own OIDs Message-ID: <1346803218.429230917@f230.mail.ru>
next in thread | raw e-mail | index | archive | help
Guys, please help. Before us is a challenge, there is a script that rake the value. Furthermore, this value should be placed in any OID or create your own Object Identificator (OID) for example: 1.3.6.h.h.h.h.h. To then get this OID with snmpwalk / snmpget on a remote computer. read a lot of information, but have not found a concrete example ... My OS "FreeBSD 9.0-RELEASE , net-snmp 5.7.1_7 Wrote a bash script which gives the value of "integer" "5." Added to snmpd.conf exec .1.3.6.1.4.1.1958 / usr / local / bin / bash / home / user / bin / test.sh then try to get the value: snmpwalk-v2c-c public localhost .1.3.6.1.4.1.1958 an error that the OID is not found. what am I doing wrong? SNMPv2-SMI :: enterprises.1958 = No Such Object available on this agent at this OID
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1346803218.429230917>
