07-03-2018 03:13 AM - edited 03-01-2019 06:40 PM
I am unable to enable the "envmon" traps on IOS XE on a new C1111-4P device.
How can we send CPU, FAN, Temp alarms?
---------------------------------------------------------------------------------------
RESXXXXXX(config)#snmp-server enable traps e?
eigrp entity entity-diag entity-perf
entity-qfp entity-state ether-oam ethernet
event-manager
RESXXXXXX(config)#snmp-server enable traps ?
aaa_server Enable SNMP AAA Server traps
adslline Enable ADSL Line-MIB traps
alarms Enable SNMP alarms traps
atm Enable SNMP atm traps
auth-framework Enable SNMP CISCO-AUTH-FRAMEWORK-MIB traps
bfd Allow SNMP BFD traps
bgp Enable BGP traps
bulkstat Enable Data-Collection-MIB Collection notifications
c3g Enable Cellular 3G modem reset traps
call-home Enable SNMP CISCO-CALLHOME-MIB traps
casa Enable SNMP casa traps
cef Enable SNMP CEF traps
cnpd Enable NBAR Protocol Discovery traps
config Enable SNMP config traps
config-copy Enable SNMP config-copy traps
config-ctid Enable SNMP config-ctid traps
copy-config Enable SNMP config-copy traps
cpu Allow cpu related traps
dhcp Enable SNMP dhcp traps
dlsw Enable SNMP dlsw traps
ds1 Enable SNMP DS1 traps
ds3 Enable SNMP DS3 traps
dsp Enable SNMP dsp traps
eigrp Enable SNMP EIGRP traps
entity Enable SNMP entity traps
entity-diag Enable SNMP CISCO-ENTITY-DIAG-MIB traps
entity-perf Enable SNMP CISCO-ENTITY-PERFORMANCE-MIB traps
entity-qfp Enable SNMP CISCO-ENTITY-QFP-MIB traps
entity-state Enable SNMP ENTITY-STATE-MIB traps
ether-oam Enable SNMP ethernet oam traps
ethernet Enable SNMP Ethernet traps
event-manager Enable SNMP Embedded Event Manager traps
firewall Enable SNMP Firewall traps
flash Enable SNMP FLASH notifications
flowmon Enabel SNMP flowmon notifications
frame-relay Enable SNMP frame-relay traps
fru-ctrl Enable SNMP entity FRU control traps
gdoi Enable SNMP GDOI traps
hsrp Enable SNMP HSRP traps
ike Enable IKE traps
ip Enable SNMP IP traps
ipmulticast Enable SNMP ipmulticast traps
ipsec Enable IPsec traps
ipsla Enable SNMP IP SLA traps
isdn Enable SNMP isdn traps
isg-mib Enable isgmib Job finished trap
isis Enable IS-IS traps
l2tun Enable SNMP L2 tunnel protocol traps
license Enable license traps
lisp Enable SNMP LISP MIB traps
lte Enable Cellular Extension modem reset traps
memory Enable SNMP Memory traps
mpls Enable SNMP MPLS traps
msdp Enable SNMP MSDP traps
mvpn Enable Multicast Virtual Private Networks traps
netsync Enable SNMP netsync traps
nhrp Enable SNMP NHRP traps
ospf Enable OSPF traps
ospfv3 Enable OSPFv3 traps
otn Enable SNMP OTN traps
pfr Enable SNMP PfR traps
pim Enable SNMP PIM traps
pimstdmib Enable SNMP PIM-STD-MIB traps
pki Enable SNMP PKI Traps
power-ethernet Enable SNMP power ethernet traps
pppoe Enable SNMP pppoe traps
pw Enable SNMP PW traps
resource-policy Enable CISCO-ERM-MIB notifications
rf Enable all SNMP traps defined in CISCO-RF-MIB
rsvp Enable RSVP flow change traps
smart-license Enable smart license traps
snmp Enable SNMP traps
sonet Enable SNMP SONET traps
srp Enable SRP protocol traps
stpx Enable SNMP STPX MIB traps
syslog Enable SNMP syslog traps
transceiver Enable SNMP transceiver traps
trustsec-sxp Enable SNMP CISCO-TRUSTSEC-SXP-MIB traps
tty Enable TCP connection traps
vdsl2line Enable VDSL2 Line-MIB traps
vlancreate Enable SNMP VLAN created traps
vlandelete Enable SNMP VLAN deleted traps
vpdn Enable SNMP vpdn traps
vrfmib Allow SNMP vrfmib traps
vrrp Enable SNMP vrrp traps
vtp Enable SNMP VTP traps
<cr>
RESXXXXXX#show version
Cisco IOS XE Software, Version 16.06.03
Cisco IOS Software [Everest], ISR Software (ARMV8EB_LINUX_IOSD-UNIVERSALK9_IAS-M), Version 16.6.3, RELEASE SOFTWARE (fc8)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2018 by Cisco Systems, Inc.
Compiled Wed 28-Feb-18 19:53 by mcpre
Cisco IOS-XE software, Copyright (c) 2005-2018 by cisco Systems, Inc.
All rights reserved. Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0. The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0. For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.
ROM: IOS-XE ROMMON
RESXXXXXXuptime is 1 hour, 13 minutes
Uptime for this control processor is 1 hour, 16 minutes
RESXXXXXX#show environment
Number of Critical alarms: 0
Number of Major alarms: 0
Number of Minor alarms: 0
Slot Sensor Current State Reading Threshold(Minor,Major,Critical,Shutdown)
---- ------ ------------- ------- ---------------------------------------
R0 Temp: Int1 Normal 38 Celsius (na ,na ,83 ,na )(Celsius)
R0 Temp: Int2 Normal 30 Celsius (na ,na ,81 ,na )(Celsius)
R0 Temp: Int3 Normal 33 Celsius (na ,na ,81 ,na )(Celsius)
R0 Temp: Int4 Normal 35 Celsius (na ,na ,75 ,na )(Celsius)
R0 Temp: CPU Normal 35 Celsius (na ,na ,102,na )(Celsius)
R0 Temp: Wifi Normal 38 Celsius (na ,na ,88 ,na )(Celsius)
07-03-2018 03:54 PM
he availability of notification-type options depends on the router type and the Cisco IOS software features supported on the router. For example, the envmon notification type is available only if the environmental monitor is part of the system. To see what notification types are available on your system, use the command help ? at the end of the snmp-server host command.
envmon --Sends Cisco enterprise-specific environmental monitor notifications when an environmental threshold is exceeded.
good guide to refer :
BB
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide