Snmpd.conf and own OIDs
Maxim Galkin
lifefornazgul at mail.ru
Wed Sep 5 00:52:32 UTC 2012
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
More information about the freebsd-questions
mailing list