Greetings all:
I’m new to this forum and new to Nagios. So if I messed up anything, sorry. 8)
I have a Cisco AS5350 that I am trying to receive traps using SNMPTT with Nagios Core 3.2.1.
So I download some v1 MIBs from Cisco website and used the snmpttconvertmib command to translate them
I guess but I think I did something wrong. Please check out the command and output and tell me where I
messed up.
TIA…
[root@samantha snmptt_1.3]# ./snmpttconvertmib --in=/home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my --out=/etc/snmp/snmptt.conf.firewall --exec=’/usr/local/nagios/libexec/eventhandlers/submit_check_result $r TRAP 1’
Output:
**** Processing MIB file *****
snmptranslate version: NET-SNMP version: 5.5
severity: Normal
File to load is: /home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my
File to APPEND TO: /etc/snmp/snmptt.conf.firewall
MIBS environment var: /home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my
mib name: CISCO-ACCESS-ENVMON-MIB
Processing MIB: CISCO-ACCESS-ENVMON-MIB
skipping a TRAP-TYPE / NOTIFICATION-TYPE line - probably an import line.
Line: 103
TRAP-TYPE: caemTemperatureNotification
Variables: ciscoEnvMonTemperatureStatusDescr ciscoEnvMonTemperatureState
Looking up via snmptranslate: CISCO-ACCESS-ENVMON-MIB::caemTemperatureNotification
Cannot find module (CISCO-ENVMON-MIB): At line 16 in /home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my
Cannot find module (CISCO-SMI): At line 18 in /home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my
Did not find ‘ciscoEnvMonSupplyStatusEntry’ in module #-1 (/home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my)
Did not find ‘ciscoEnvMonTemperatureStatusDescr’ in module #-1 (/home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my)
Did not find ‘ciscoEnvMonTemperatureState’ in module #-1 (/home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my)
Did not find ‘ciscoEnvMonVoltageStatusDescr’ in module #-1 (/home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my)
Did not find ‘ciscoEnvMonVoltageState’ in module #-1 (/home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my)
Did not find ‘ciscoEnvMonSupplyStatusIndex’ in module #-1 (/home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my)
Did not find ‘ciscoMgmt’ in module #-1 (/home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my)
Unlinked OID in CISCO-ACCESS-ENVMON-MIB: ciscoAccessEnvMonMIB ::= { ciscoMgmt 61 }
Undefined identifier: ciscoMgmt near line 20 of /home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemSupplyStatusTable ::= { caemObjects 1 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemVoltageNotification ::= { caemMIBNotificationPrefix# 2 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemTemperatureNotification ::= { caemMIBNotificationPrefix# 1 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemSupplyFailedComponent ::= { caemSupplyStatusEntry 1 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemGroups ::= { caemConformance 2 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemCompliances ::= { caemConformance 1 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemCompliance ::= { caemCompliances 1 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemGroup ::= { caemGroups 1 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: ciscoAccessEnvMonMIB ::= { ciscoMgmt 61 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemConformance ::= { ciscoAccessEnvMonMIB 3 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemMIBNotificationPrefix ::= { ciscoAccessEnvMonMIB 2 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemObjects ::= { ciscoAccessEnvMonMIB 1 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemMIBNotificationPrefix# ::= { caemMIBNotificationPrefix 0 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemMIBNotificationPrefix# ::= { caemMIBNotificationPrefix 0 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemMIBNotifications ::= { caemMIBNotificationPrefix 0 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemSupplyStatusEntry ::= { caemSupplyStatusTable 1 }
Unknown object identifier: CISCO-ACCESS-ENVMON-MIB::caemTemperatureNotification
OID:
Line: 119
TRAP-TYPE: caemVoltageNotification
Variables: ciscoEnvMonVoltageStatusDescr ciscoEnvMonVoltageState
Looking up via snmptranslate: CISCO-ACCESS-ENVMON-MIB::caemVoltageNotification
Cannot find module (CISCO-ENVMON-MIB): At line 16 in /home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my
Cannot find module (CISCO-SMI): At line 18 in /home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my
Did not find ‘ciscoEnvMonSupplyStatusEntry’ in module #-1 (/home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my)
Did not find ‘ciscoEnvMonTemperatureStatusDescr’ in module #-1 (/home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my)
Did not find ‘ciscoEnvMonTemperatureState’ in module #-1 (/home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my)
Did not find ‘ciscoEnvMonVoltageStatusDescr’ in module #-1 (/home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my)
Did not find ‘ciscoEnvMonVoltageState’ in module #-1 (/home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my)
Did not find ‘ciscoEnvMonSupplyStatusIndex’ in module #-1 (/home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my)
Did not find ‘ciscoMgmt’ in module #-1 (/home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my)
Unlinked OID in CISCO-ACCESS-ENVMON-MIB: ciscoAccessEnvMonMIB ::= { ciscoMgmt 61 }
Undefined identifier: ciscoMgmt near line 20 of /home/john/Downloads/WG/Cisco/CISCO-ACCESS-ENVMON-MIB-V1SMI.my
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemSupplyStatusTable ::= { caemObjects 1 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemVoltageNotification ::= { caemMIBNotificationPrefix# 2 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemTemperatureNotification ::= { caemMIBNotificationPrefix# 1 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemSupplyFailedComponent ::= { caemSupplyStatusEntry 1 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemGroups ::= { caemConformance 2 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemCompliances ::= { caemConformance 1 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemCompliance ::= { caemCompliances 1 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemGroup ::= { caemGroups 1 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: ciscoAccessEnvMonMIB ::= { ciscoMgmt 61 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemConformance ::= { ciscoAccessEnvMonMIB 3 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemMIBNotificationPrefix ::= { ciscoAccessEnvMonMIB 2 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemObjects ::= { ciscoAccessEnvMonMIB 1 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemMIBNotificationPrefix# ::= { caemMIBNotificationPrefix 0 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemMIBNotificationPrefix# ::= { caemMIBNotificationPrefix 0 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemMIBNotifications ::= { caemMIBNotificationPrefix 0 }
Cannot adopt OID in CISCO-ACCESS-ENVMON-MIB: caemSupplyStatusEntry ::= { caemSupplyStatusTable 1 }
Unknown object identifier: CISCO-ACCESS-ENVMON-MIB::caemVoltageNotification
OID:
Done
Total translations: 2
Successful translations: 0
Failed translations: 2
Did I download the wrong file? are these files not MIB files?
Thanks in advance again.