Re: pass in /etc/snmp/snmpd.conf?

Paul Herring <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAEWO_9TK=+k_EO_hNqhOSXbJ7e01fJwMnPNgBnLvD5GibRhgNQ@mail.gmail.com>
> MIB::company

Are you sure that literal 'MIB' is right there? Seems awfully generic.

What do you have immediately preceding "DEFINITIONS ::= BEGIN" in your mib
file?



On Thu, May 7, 2020 at 5:47 PM Mike Eggleston <[email protected]> wrote:

> I’m trying to extend SNMP into the monitor I built. When I execute
> “/bin/sh /home/user/script.sh -g .1.3.6.1.4.1.34232.3” I get the right
> value. I have written a MIB into /usr/share/snmp/mibs and snmptranslate
> returns the right OID. I executed “snmpd -f -LS0-7d -Alf /tmp/snmp.log
> -Dexec” and see output in the log file. However, “snmpget -v2c —c public
> localhost MIB::company.3” says the value is not found.
>
> How do I diagnose this lack of returned bales?
>
> TIA
>
> Mike
>
> _______________________________________________
> 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
>


-- 
PJH

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.