Den 2018-01-31 kl. 14:58, skrev Adam
Armstrong:
No,
Just ignore those lines.
Your install is weird, but it won't affect
observium real snmp commands with paths set.
I suspect if you just run any of the SNMP commands
manually you'll get that nonsense too.
The issue actually has nothing to do with
observium and is a misconfiguration of the distro itself. The
command generating the errors is "snmpget --version".
Is this, perchance, Debian?
Adam.
On 31 Jan 2018, at 13:53, Niklas Larsson
<
niklas@tese.se> wrote:
Hi,
removed from snmp.conf and get this:
root@observium:/opt/observium# php poller.php -h
MIB search path:
/root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (SNMPv2-TC): At line 10 in
/usr/share/snmp/mibs/UCD-DLMOD-MIB.txt
Cannot find module (SNMPv2-SMI): At line 34 in
/usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Cannot find module (SNMPv2-TC): At line 37 in
/usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Did not find 'enterprises' in module #-1
(/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Did not find 'DisplayString' in module #-1
(/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
[snipped]
Anything else that needs to be done (restart something)?
Why are those set? Remove them.
Don't know, has been like that forever (looked at some backups to see
change)
/niklas
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium