cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2837
Views
5
Helpful
3
Replies

CLI Output to Local SNMP oid value

etamminga
Spotlight
Spotlight

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

1 Accepted Solution

Accepted Solutions

Here you go:

https://supportforums.cisco.com/document/77026/cli-value-2-snmp-expr-mib

View solution in original post

3 Replies 3

Joe Clarke
Cisco Employee
Cisco Employee

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.

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

Here you go:

https://supportforums.cisco.com/document/77026/cli-value-2-snmp-expr-mib

Review Cisco Networking for a $25 gift card