Hi,
Running
/opt/observium/discovery.php -u
has suddenly started throwing errors. Any thoughts on a fix?
# root @ observium in ~ [8:19:51] $ /opt/observium/discovery.php -u MIB search path: /opt/observium/mibs:/opt/observium/mibs/net-snmp Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none) Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none) Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none) Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none) Cannot find module (MTA-MIB): At line 0 in (none) Cannot find module (NETWORK-SERVICES-MIB): At line 0 in (none) Cannot find module (SNMPv2-TC): At line 15 in /opt/observium/mibs/net-snmp/UCD-DISKIO-MIB Cannot find module (SNMPv2-SMI): At line 34 in /opt/observium/mibs/net-snmp/UCD-SNMP-MIB Cannot find module (HCNUM-TC): At line 37 in /opt/observium/mibs/net-snmp/UCD-SNMP-MIB Cannot find module (SNMPv2-TC): At line 40 in /opt/observium/mibs/net-snmp/UCD-SNMP-MIB Did not find 'enterprises' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Did not find 'CounterBasedGauge64' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Did not find 'DisplayString' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Did not find 'TruthValue' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Unlinked OID in UCD-SNMP-MIB: ucdavis ::= { enterprises 2021 } Undefined identifier: enterprises near line 42 of /opt/observium/mibs/net-snmp/UCD-SNMP-MIB …..etc….
Remove whatever lines you've added to /etc/snmp/snmp.conf
And/or blame Debian for shipping a broken SNMP setup.
Adam.
Sent from BlueMail
On 3 Mar 2018, 15:28, at 15:28, Joey Stanford nv0n@rmham.org wrote:
Hi,
Running
/opt/observium/discovery.php -u
has suddenly started throwing errors. Any thoughts on a fix?
# root @ observium in ~ [8:19:51] $ /opt/observium/discovery.php -u MIB search path: /opt/observium/mibs:/opt/observium/mibs/net-snmp Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none) Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none) Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none) Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none) Cannot find module (MTA-MIB): At line 0 in (none) Cannot find module (NETWORK-SERVICES-MIB): At line 0 in (none) Cannot find module (SNMPv2-TC): At line 15 in /opt/observium/mibs/net-snmp/UCD-DISKIO-MIB Cannot find module (SNMPv2-SMI): At line 34 in /opt/observium/mibs/net-snmp/UCD-SNMP-MIB Cannot find module (HCNUM-TC): At line 37 in /opt/observium/mibs/net-snmp/UCD-SNMP-MIB Cannot find module (SNMPv2-TC): At line 40 in /opt/observium/mibs/net-snmp/UCD-SNMP-MIB Did not find 'enterprises' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Did not find 'CounterBasedGauge64' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Did not find 'DisplayString' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Did not find 'TruthValue' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Unlinked OID in UCD-SNMP-MIB: ucdavis ::= { enterprises 2021 } Undefined identifier: enterprises near line 42 of /opt/observium/mibs/net-snmp/UCD-SNMP-MIB …..etc…. _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Thanks Adam.
/etc/snmp/snmp.conf remained unchanged with only
mibdirs /opt/observium/mibs:/opt/observium/mibs/net-snmp in it (which is the same as the http://docs.observium.org/install_debian/ http://docs.observium.org/install_debian/ )
I’ve commented out that line and now snmp.conf is empty but discovery.php -u runs with no errors.
On Mar 3, 2018, at 08:22 , Joey Stanford nv0n@rmham.org wrote:
Hi,
Running
/opt/observium/discovery.php -u
has suddenly started throwing errors. Any thoughts on a fix?
# root @ observium in ~ [8:19:51] $ /opt/observium/discovery.php -u MIB search path: /opt/observium/mibs:/opt/observium/mibs/net-snmp Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none) Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none) Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none) Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none) Cannot find module (MTA-MIB): At line 0 in (none) Cannot find module (NETWORK-SERVICES-MIB): At line 0 in (none) Cannot find module (SNMPv2-TC): At line 15 in /opt/observium/mibs/net-snmp/UCD-DISKIO-MIB Cannot find module (SNMPv2-SMI): At line 34 in /opt/observium/mibs/net-snmp/UCD-SNMP-MIB Cannot find module (HCNUM-TC): At line 37 in /opt/observium/mibs/net-snmp/UCD-SNMP-MIB Cannot find module (SNMPv2-TC): At line 40 in /opt/observium/mibs/net-snmp/UCD-SNMP-MIB Did not find 'enterprises' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Did not find 'CounterBasedGauge64' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Did not find 'DisplayString' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Did not find 'TruthValue' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Unlinked OID in UCD-SNMP-MIB: ucdavis ::= { enterprises 2021 } Undefined identifier: enterprises near line 42 of /opt/observium/mibs/net-snmp/UCD-SNMP-MIB …..etc….
Oh god, who put that stupid line in the docs. Let me go remove it.
adam. On 2018-03-04 16:06:30, Joey Stanford nv0n@rmham.org wrote: Thanks Adam.
/etc/snmp/snmp.conf remained unchanged with only
mibdirs /opt/observium/mibs:/opt/observium/mibs/net-snmp in it (which is the same as the http://docs.observium.org/install_debian/ [http://docs.observium.org/install_debian/%5D%C2%A0)
I’ve commented out that line and now snmp.conf is empty but discovery.php -u runs with no errors.
On Mar 3, 2018, at 08:22 , Joey Stanford <nv0n@rmham.org [mailto:nv0n@rmham.org]> wrote:
Hi,
Running
/opt/observium/discovery.php -u
has suddenly started throwing errors. Any thoughts on a fix?
# root @ observium in ~ [8:19:51] $ /opt/observium/discovery.php -u MIB search path: /opt/observium/mibs:/opt/observium/mibs/net-snmp Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none) Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none) Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none) Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none) Cannot find module (MTA-MIB): At line 0 in (none) Cannot find module (NETWORK-SERVICES-MIB): At line 0 in (none) Cannot find module (SNMPv2-TC): At line 15 in /opt/observium/mibs/net-snmp/UCD-DISKIO-MIB Cannot find module (SNMPv2-SMI): At line 34 in /opt/observium/mibs/net-snmp/UCD-SNMP-MIB Cannot find module (HCNUM-TC): At line 37 in /opt/observium/mibs/net-snmp/UCD-SNMP-MIB Cannot find module (SNMPv2-TC): At line 40 in /opt/observium/mibs/net-snmp/UCD-SNMP-MIB Did not find 'enterprises' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Did not find 'CounterBasedGauge64' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Did not find 'DisplayString' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Did not find 'TruthValue' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Unlinked OID in UCD-SNMP-MIB: ucdavis ::= { enterprises 2021 } Undefined identifier: enterprises near line 42 of /opt/observium/mibs/net-snmp/UCD-SNMP-MIB …..etc….
Been there for years, still is there on my system and everything works fine... Possibly a change on Debian 9.
But I agree it should not be there (anymore?). :-)
Tom
On 3/4/2018 5:38 PM, Adam Armstrong wrote:
Oh god, who put that stupid line in the docs. Let me go remove it.
adam.
On 2018-03-04 16:06:30, Joey Stanford nv0n@rmham.org wrote:
Thanks Adam.
/etc/snmp/snmp.conf remained unchanged with only
|mibdirs /opt/observium/mibs:/opt/observium/mibs/net-snmp| in it (which is the same as the http://docs.observium.org/install_debian/%C2%A0)
I’ve commented out that line and now snmp.conf is empty but discovery.php -u runs with no errors.
On Mar 3, 2018, at 08:22 , Joey Stanford <nv0n@rmham.org mailto:nv0n@rmham.org> wrote:
Hi,
Running
/opt/observium/discovery.php -u
has suddenly started throwing errors. Any thoughts on a fix?
# root @ observium in ~ [8:19:51] $ /opt/observium/discovery.php -u MIB search path: /opt/observium/mibs:/opt/observium/mibs/net-snmp Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none) Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none) Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none) Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none) Cannot find module (MTA-MIB): At line 0 in (none) Cannot find module (NETWORK-SERVICES-MIB): At line 0 in (none) Cannot find module (SNMPv2-TC): At line 15 in /opt/observium/mibs/net-snmp/UCD-DISKIO-MIB Cannot find module (SNMPv2-SMI): At line 34 in /opt/observium/mibs/net-snmp/UCD-SNMP-MIB Cannot find module (HCNUM-TC): At line 37 in /opt/observium/mibs/net-snmp/UCD-SNMP-MIB Cannot find module (SNMPv2-TC): At line 40 in /opt/observium/mibs/net-snmp/UCD-SNMP-MIB Did not find 'enterprises' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Did not find 'CounterBasedGauge64' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Did not find 'DisplayString' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Did not find 'TruthValue' in module #-1 (/opt/observium/mibs/net-snmp/UCD-SNMP-MIB) Unlinked OID in UCD-SNMP-MIB: ucdavis ::= { enterprises 2021 } Undefined identifier: enterprises near line 42 of /opt/observium/mibs/net-snmp/UCD-SNMP-MIB …..etc….
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (4)
-
Adam Armstrong
-
Adam Armstrong
-
Joey Stanford
-
Tom Laermans