This code is correctly setting the directory for me. Are you running an old version or do you have local modifications?
Adam.
From: observium observium-bounces@observium.org On Behalf Of adama--- via observium Sent: 16 January 2019 19:21 To: Observium observium@observium.org Cc: adama@memetic.org Subject: Re: [Observium] SLA polling
Aha this is interesting.
The correct mibdir should be set by the mib definition.
Let me have a quick look at that!
This is difficult to test because I don't have any cisco sla devices.
Adam.
Sent from my Huawei tablet
-------- Original Message -------- Subject: [Observium] SLA polling From: André Punt via observium To: observium@observium.org mailto:observium@observium.org CC: Andre.Punt@kpn.com mailto:Andre.Punt@kpn.com
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é