
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
EEM Scripting
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2016 12:17 PM
Here you go:
https://supportforums.cisco.com/document/77026/cli-value-2-snmp-expr-mib

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2016 12:17 PM
Here you go:
https://supportforums.cisco.com/document/77026/cli-value-2-snmp-expr-mib
