First Stop daemon
/etc/init.d/dmgtd stop
Modify
the entry (please note the highlighted part)for my devices in oid2type_cisco.conf
file (<NMSROOT>/objects/smarts/conf/discovery/oid2type_cisco.conf)
as shown below:
#
Cisco Nexus 7000
.1.3.6.1.4.1.9.12.3.1.3.612
{
TYPE = Switch
VENDOR = Cisco
MODEL = N7K-C7010
CERTIFICATION = CERTIFIED
CONT = Cisco-EntityRF-Switch
HEALTH = Nexus-Entity-EntSensor
BRIDGE = Cisco
NEIGHBOR = Cisco-Cdp
INSTRUMENTATION:
Environment
= CiscoEntityFRU:DeviceID
Card-Fault
= CiscoEntityFRU:DeviceID
CPU/Memory
= CiscoSystem:DeviceID
Interface-Fault
= MIB2
Interface-Performance
= MIB2
Port-Fault
=
MIB2
Port-Performance
= MIB2
}
# Cisco ASR Router - 1004
.1.3.6.1.4.1.9.1.924 {
TYPE = Router
VENDOR = Cisco
MODEL = ASR1004
CERTIFICATION = TEMPLATE
CONT = Cisco-EntityFRU
NEIGHBOR = Cisco-Cdp
HEALTH = Cisco-Router-CRS-EntSensor
INSTRUMENTATION:
Environment = CiscoEntityFRU:DeviceID
CPU/Memory = CiscoRouter:DeviceID
Card-Fault = CiscoEntityFRU
Interface-Fault = MIB2
Interface-Performance = CiscoRouter
Interface-Ethernet-Performance = CiscoRouter_Ethernet
}
# Cisco VSS Switch
.1.3.6.1.4.1.9.1.896 {
TYPE = Switch
VENDOR = Cisco
MODEL = VSS-1440
CERTIFICATION = CERTIFIED
CONT = Cisco-VSS-Switch
VLAN = Cisco-Membership
BRIDGE = Cisco
NEIGHBOR = Cisco-Cdp
HEALTH = Cisco-Router-CRS-EntSensor
INSTRUMENTATION:
Environment = CiscoEntityFRU:DeviceID
CPU/Memory = CiscoRouter:DeviceID
Card-Fault = CiscoEntityFRU:DeviceID
Interface-Fault = MIB2
Interface-Performance = MIB2
Port-Fault = MIB2
Port-Performance = MIB2
Port-Ethernet-Performance = dot3_Ethernet
}
Restart daemon
/etc/init.d/dmgtd start
Re-discover the devices
No comments:
Post a Comment