Joe Clarke

Member Since: Feb 20, 2002

User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

English
Joe Clarke commented on SNMPv3 support in EEM Scripting 1 day ago

As I recall, this thread was about doing polling from within an EEM policy.  No, this has not...

Joe Clarke commented on Trigger an EEM script from a Remote Server and pass data into the script in EEM Scripting 3 days ago

First, read the README.txt in the API bundle as that will give you some clues as how to get started...

Joe Clarke commented on Trigger an EEM script from a Remote Server and pass data into the script in EEM Scripting 3 days ago

I know there used to be a bug with v2 notifications (the kind used by SNMPv3), but I believe it is...

Joe Clarke commented on Trigger an EEM script from a Remote Server and pass data into the script in EEM Scripting 3 days ago

The router definitely supports SNMPv3 authPriv, but I would not use the EEM SNMP Object ED.  It is...

Joe Clarke commented on Trigger an EEM script from a Remote Server and pass data into the script in EEM Scripting 3 days ago

You could use SNMP traps from Linux to the router.  I've only ever used v1 traps for this, though...

Joe Clarke commented on Automatic switchport configuration with EEM script ... in EEM Scripting 1 week ago

Please post your current policy in its entirety.

Joe Clarke commented on Automatic switchport configuration with EEM script ... in EEM Scripting 1 week ago

Have a look at this document, especially the discussion thread below (and my follow-up from 11...

Joe Clarke commented on EEM & IP SLA in EEM Scripting 1 week ago

Action 1.2 is trying to match something in $_cli_result, but the last CLI command run was enable,...

Joe Clarke commented on Not able to register a Simple script to capture high cpu usage in EEM Scripting 2 weeks ago

Depending on your version of code, you may need: ::cisco::eem::event_register_wdsysmon timewin 60...

Joe Clarke commented on Not able to register a Simple script to capture high cpu usage in EEM Scripting 2 weeks ago

You're missing the "period" keyword in your event spec line.  You need to specify a polling period...

Joe Clarke commented on N5k EEM script to send email when a fex error is logged in EEM Scripting 2 weeks ago

Then you need to run it: source nxos_email.py SMTP_SERVER TO_ADDR FROM_ADDR MSG Where SMTP_SERVER...

Joe Clarke commented on N5k EEM script to send email when a fex error is logged in EEM Scripting 2 weeks ago

How are you running the script now?

Joe Clarke commented on pull disconnected interfaces with last input higher than 10week on a switch with EEM script in EEM Scripting 2 weeks ago

The config looks okay for the original behavior of the scripts.  The timer policy should run every...

Joe Clarke commented on N5k EEM script to send email when a fex error is logged in EEM Scripting 2 weeks ago

Right, you need to run it with those arguments.  Without any arguments, the script just...

Joe Clarke commented on N5k EEM script to send email when a fex error is logged in EEM Scripting 2 weeks ago

You need to call this script with arguments. as it specifies in the message that's printed out. ...

Joe Clarke commented on N5k EEM script to send email when a fex error is logged in EEM Scripting 2 weeks ago

The first line of the an actual script needs to be: #!/usr/bin/env python Then you'll need to fill...

Joe Clarke commented on EEM Script issue blocking show run in EEM Scripting 2 weeks ago

This would be a bug.  The VTYs should be cleaned up once the applet dies.  You should work with TAC...

Joe Clarke commented on EEM Scripting in EEM Scripting 2 weeks ago

There are likely many more differences between your lab and production.  I'm betting the...

Joe Clarke commented on EEM Script issue blocking show run in EEM Scripting 2 weeks ago

I have not seen that before, and I've done a lot of EEM (with AAA and SSH).  Do you never get a...

Joe Clarke commented on N5k EEM script to send email when a fex error is logged in EEM Scripting 3 weeks ago

Tcl will not work for you on NX-OS.  I mean, technically it will, but you will need to write the...

Joe Clarke commented on Sending an email notification to multiple recipients in EEM Scripting 3 weeks ago

The same will work in IOS-XR.  The Tcl code for email is the same in IOS and IOS-XR.

Joe Clarke commented on event manager session cli username missing in EEM Scripting 3 weeks ago

This applet/script won't work on NX-OS.  This is clearly for IOS (and it likely wouldn't work there...

Joe Clarke commented on pull disconnected interfaces with last input higher than 10week on a switch with EEM script in EEM Scripting 3 weeks ago

Not at all. It will work better since you do not need the roundtrip to the AAA server.

Joe Clarke commented on EEM Script issue blocking show run in EEM Scripting 4 weeks ago

Ugh, CSC ate my square brackets.  You need: event cli pattern "^show running-config*$" sync yes...

Joe Clarke commented on EEM Script issue blocking show run in EEM Scripting 4 weeks ago

Try this: event cli pattern "^show running-config*$" sync "yes"

Joe Clarke commented on EEM Script issue blocking show run in EEM Scripting 4 weeks ago

The pattern I gave you will only trip on "show run".  If you do "show run int ..." that will bypass...

Joe Clarke commented on pull disconnected interfaces with last input higher than 10week on a switch with EEM script in EEM Scripting 4 weeks ago

This is all that's needed to register this policy as-is.  But you will need to make changes to add...

Joe Clarke commented on EEM Script issue blocking show run in EEM Scripting 4 weeks ago

If you only want to stop "show running-config" then try this: event cli pattern "^show running-...

Joe Clarke commented on SNMP/EEM Script not providing all the outputs configured in EEM Scripting 4 weeks ago

This is a relatively common issue.  Make your event spec line: event snmp oid 1.3.6.1.4.1.9.9.109.1...

Joe Clarke commented on pull disconnected interfaces with last input higher than 10week on a switch with EEM script in EEM Scripting 1 month ago

Since you care about last data on an interface, you don't need the syslog policy that matches on...

Joe Clarke commented on Maxrun and Default Timers in EEM Scripting 1 month ago

I really don't understand your questions.  Maxrun is really quite simple.  If your policy is...

Joe Clarke commented on pull disconnected interfaces with last input higher than 10week on a switch with EEM script in EEM Scripting 1 month ago

These are EEM Tcl policies.  They need to be registered as so.  See http://www.cisco.com/c/en/us/td...

Joe Clarke commented on pull disconnected interfaces with last input higher than 10week on a switch with EEM script in EEM Scripting 1 month ago

Have a look at this solution: https://supportforums.cisco.com/docs/DOC-39192 These policies track...

Joe Clarke commented on Manually Run EEM Scripting Problems in EEM Scripting 1 month ago

Yes, enable is definitely needed, but EEM will also not print the results of the commands by...

Joe Clarke commented on How to trigger EEM Applet on a router, with an event that occurs on an installed service module? in EEM Scripting 1 month ago

Are there any syslog messages sent to the router side of the device?  What about SNMP traps that...

Joe Clarke commented on EEM Scripting with Multiple conditions in EEM Scripting 1 month ago

Yes, you can.  EEM policies can have multiple conditions since EEM 2.4.  If you're using IPSLA for...

Joe Clarke commented on eem script/applet not working in EEM Scripting 1 month ago

I have had limited EEM experience on the ASA.  I'm not sure what errors might have occurred in...

Joe Clarke commented on EEM for SyncE QL in EEM Scripting 1 month ago

I think this will work for you. event manager environment q "event manager environment cr $...

Joe Clarke commented on EEM Applet Scripts not working in EEM Scripting 1 month ago

I don't understand your statement: "this is up by itself without i manually put no shut. it appear...

Joe Clarke commented on EEM to SSH and Reboot Cisco SIP Phone in EEM Scripting 1 month ago

Ah.  I'm answering this backwards.  You want to match if REGISTERED is not there.  The problem is,...

Joe Clarke commented on EEM to SSH and Reboot Cisco SIP Phone in EEM Scripting 1 month ago

This won't actually work.  EEM applet regexp's aren't very advanced.  You can't use \b and negative...

Joe Clarke commented on EEM to SSH and Reboot Cisco SIP Phone in EEM Scripting 1 month ago

Just so we're clear, you want this to run at one minute past the hour every hour?  In general, this...

Joe Clarke commented on EEM Applet Scripts not working in EEM Scripting 2 months ago

You're missing your interface number: #action 2.0 cli command "interface GigabitEthernet" This...

Joe Clarke commented on Syslog EEM applet not working... in EEM Scripting 2 months ago

I mean start a new forum topic as opposed to posting to an old thread that was for a different...

Joe Clarke commented on TCL script open connection (socket) with VRF isn't working on IOS-XR platform in EEM Scripting 2 months ago

Something like this: ::cisco::eem::event_register_none # # This EEM tcl policy was generated by...

Joe Clarke commented on Syslog EEM applet not working... in EEM Scripting 2 months ago

Please start a new thread for your issue.

Joe Clarke commented on TCL script open connection (socket) with VRF isn't working on IOS-XR platform in EEM Scripting 2 months ago

Are you able to test the EEM Tcl email functionality with VRFs?  My guess is this code was never...

Joe Clarke commented on TCL script open connection (socket) with VRF isn't working on IOS-XR platform in EEM Scripting 2 months ago

Did you try opening a connection to "${server}|HSI" and not do the fconfigure?

Joe Clarke commented on Top of Rack Nexus 9300 Have L3 Card and need to Use IP SLA in Conjunction with Event Mgr in EEM Scripting 2 months ago

Enable isn't needed on the N9K.  And as Vinit pointed out, this should work.  Are you using AAA...

Joe Clarke commented on eem script/applet not working in EEM Scripting 2 months ago

There do appear to be a couple of cases where the syslog is generated, but the applet commands fail...

Bio

As a Global TAC engineer, he has contributed to network management products and technologies by finding and fixing bugs, as well as implementing maintenance and troubleshooting components in Cisco Prime, Cisco’s flagship network management suite. Joe helps to support and enhance the embedded automation and programmability technologies, such as the Embedded Event Manager, Tcl, NETCONF/RESTCONF, and ONE Platform Kit (onePK). Joe is a top-rated speaker at Cisco’s annual user conference, CiscoLive!, as well as a certified as a Cisco Certified Internetworking Expert, Certified Java Programmer, and VMware Certified Professional. He has authored numerous technical documents on Cisco network management products and technologies as well as a chapter co-author in the Springer publication, “Network-Embedded Management and Applications: Understanding Programmable Networking Infrastructure”; and he served as one of the technical editors for the Cisco Press book, “Tcl Scripting for Cisco IOS.” Joe is co-author of 14 Cisco patents. He is an alumnus of the University of Miami and holds a Bachelor of Science degree in computer science.

Outside of Cisco, Joe is a member of the FreeBSD project. He is a committer in the project focusing mainly on the GNOME Desktop. He also maintains the FreeBSD ports Tinderbox application, which facilitates the automated packaging a testing of FreeBSD third-party ports. Joe is a certified private pilot for single-engine airplanes with an instrument rating.

User Badges:
  • Badge.
    Cisco Employee
  • Badge.
    Hall of Fame

    Founding Member

Joe Clarke's Stats

Discussion started
Answers marked as Correct
Endorsed
Content Rated
Website: