Hi,
I know that you can't simply add mibs to observium :)
I just want to add mib, so I can use object names instead of OID in code.
I've added in include/definitions/os.inc.php: $os = "alteon-ad"; $config['os'][$os]['mibs'][] = "ALTEON-CHEETAH-NETWORK-MIB";
And try add ha status for this device using $alteon['hastatus'] = snmpwalk_cache_oid($device, 'vrrpInfoHAState', array(), 'ALTEON-CHEETAH-NETWORK-MIB');
In debug mode I can see errors /usr/bin/snmpbulkwalk -t '5' -r '3' -v2c -c 'something' -Pu -OQUs -m ALTEON-CHEETAH-NETWORK-MIB -M /opt/observium/mibs 'udp':'myDevice':'161' vrrpInfoHAState
Cannot find module (ALTEON-CHEETAH-NETWORK-MIB)
But file exist in 2 locations: /opt/observium/mibs/nortel/ALTEON-CHEETAH-SWITCH-MIB /opt/observium/mibs/alteon/ALTEON-CHEETAH-SWITCH-MIB
How can I map this mib to alteon-ad os, so snmp commands would have options: -m ALTEON-CHEETAH-NETWORK-MIB -M /opt/observium/mibs/alteon:/opt/observium/mibs/rfc Instead of: -m ALTEON-CHEETAH-NETWORK-MIB -M /opt/observium/mibs ?
Best regards,
Tomasz Kwiecień
Nordea | Network Security Operations Visit me: Łuzycka 8C, Gdynia Tel: +48 586671348 E-mail: tomasz.kwiecien@nordea.commailto:tomasz.kwiecien@nordea.com Web: nordea.comhttp://http/www.nordea.com
Nordea Bank AB (publ). Company registration number/VAT number 516406-0120/SE663000019501. The board is domiciled in Stockholm, Sweden
This e-mail may contain confidential information. If you receive this e-mail by mistake, please inform the sender, delete the e-mail and do not share or copy it.