cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1705
Views
0
Helpful
0
Replies

EEM could not find environment variable: _info_snmp_value

AntoineK
Level 1
Level 1

Hello,

I'm working on an EEM applet. I need to retrieve some SNMP information about the VDSL interface (speed). I use the action info type snmp OID and the built-in variable "_info_snmp_value". But this environment variable doesn't seems to exist.

Do you have an idea how can I retrieve some SNMP values?

 

action 3.0 comment "Thanks to the index, find in the SNMP ifSpeed table the VDSL upstream"
action 3.1 info type snmp oid 1.3.6.1.2.1.2.2.1.5.$Vdsl_Index get-type exact
action 3.2 set Vdsl_Speed $_info_snmp_value
action 3.21 puts "Debug: action3.2 SNMPValue: $Vdsl_Speed"

 

*Mar 6 09:54:51.507 UTC: %HA_EM-3-FMPD_UNKNOWN_ENV: fh_parse_var: could not find environment variable: _info_snmp_value
*Mar 6 09:54:51.507 UTC: %HA_EM-3-FMPD_ERROR: Error executing applet Shapping_vdsl statement 3.2

 

NR-C1117-4PW-1#show version
Cisco IOS XE Software, Version 16.09.02
Cisco IOS Software [Fuji], ISR Software (ARMV8EB_LINUX_IOSD-UNIVERSALK9_IAS-M), Version 16.9.2, RELEASE SOFTWARE (fc4)

..

cisco C1117-4PWE (1RU) processor with 1453284K/6147K bytes of memory.

 

 

NR-C1117-4PW-1#show event manager version
Embedded Event Manager Version 4.00
Component Versions:
eem: (dev10)1.1.5
eem-gold: (rel1)1.0.2
eem-call-home: (rel2)1.0.5

 

 

0 Replies 0