02-15-2016 07:07 AM
Hi,
I've written a simple TCL script that executes some IOS statements to figure out a certain network state.
I'd like this state to be readable via SNMP.
Can someone tell me how to store a value in the local IOS snmp manager so it can be read by any SNMP capable agent?
Should I be looking at RFC2982 / DISMAN-EXPRESSION-MIB to store my values? Or is there any other location in the SNMP MIB I can use to store custom values?
Regards,
Erik Tamminga
Solved! Go to Solution.
02-15-2016 12:17 PM
Here you go:
https://supportforums.cisco.com/document/77026/cli-value-2-snmp-expr-mib
02-15-2016 11:55 AM
The EXPRESSION-MIB is the way to do it reliably. There is an example EEM Tcl policy in this forum under the Documents tab that shows how to do this.
02-15-2016 12:05 PM
Can you please point me to the document that shows me how? A simple search on Expression-mib in this documents section doesn't give me results.
Regards,
Erik
02-15-2016 12:17 PM
Here you go:
https://supportforums.cisco.com/document/77026/cli-value-2-snmp-expr-mib
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