HI
I see that if I add the cisco sub-folder to the module path is does work:
/usr/bin/snmpbulkwalk -Cr'100' -t '1' -r '5' -v2c -c *** -Pu -OQUs -m CISCO-RTTMON-MIB -M /appl/observium/mibs/rfc:/appl/observium/mibs/net-snmp 'udp':'host':'161' rttMonCtrl
MIB search path: /appl/observium/mibs/rfc:/appl/observium/mibs/net-snmp
Cannot find module (CISCO-RTTMON-MIB): At line 1 in (none)
rttMonCtrl: Unknown Object Identifier (Sub-id not found: (top) -> rttMonCtrl)
/usr/bin/snmpbulkwalk -Cr'100' -t '1' -r '5' -v2c -c *** -Pu -OQUs -m CISCO-RTTMON-MIB -M /appl/observium/mibs/rfc:/appl/observium/mibs/net-snmp:/appl/observium/mibs/cisco 'udp':'host':'161'
rttMonCtrl
rttMonCtrlAdminOwner.1 = "IPSLA"
rttMonCtrlAdminOwner.2 = "IPSLA"
rttMonCtrlAdminOwner.3 = "IPSLA"
rttMonCtrlAdminOwner.4 = "IPSLA"
....
So, where/how to add the extra path in the scripts?
André
From: observium <observium-bounces@observium.org>
On Behalf Of André Punt via observium
Sent: Monday, 14 January 2019 11:06
To: observium@observium.org
Cc: Punt, André <Andre.Punt@kpn.com>
Subject: [Observium] SLA polling
Hi,
I have an old server running observium and am busy migrating to a new server.
Currently running into the following problem:
##### Module Start: sla #####
o CISCO-RTTMON-MIB
CMD[/usr/bin/snmpbulkwalk -Cr'100' -t '1' -r '5' -v2c -c *** -Pu -OQUs -m CISCO-RTTMON-MIB -M /appl/observium/mibs/rfc:/appl/observium/mibs/net-snmp 'udp':'host':'161' rttMonCtrl]
CMD EXITCODE[1]
CMD RUNTIME[0.0451s]
STDOUT[
]
STDERR[
MIB search path: /appl/observium/mibs/rfc:/appl/observium/mibs/net-snmp
Cannot find module (CISCO-RTTMON-MIB): At line 1 in (none)
rttMonCtrl: Unknown Object Identifier (Sub-id not found: (top) -> rttMonCtrl)
]
SNMP STATUS[FALSE]
SNMP ERROR[#996 - MIB or oid not found]
Updated this morning (r9661) but still the same problem
Base install is in /appl/observium
The MIB is present in the path: /appl/observium/mibs/cisco/CISCO-RTTMON-MIB
Any ideas where to start looking to solve this?
(also had the problem in r9472 and in r8959 but worked before that)
Regards,
André