<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: EEM ON ISR router in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373435#M943568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This EEM Tcl policy should do what you want.&amp;nbsp; Before installing it, you will need to set some environment variables, though:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;# mem_cpu_time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Number of seconds between executions of this policy.&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# mem_cpu_num_lines : Number of lines to include in the output.&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# _email_server&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : SMTP server used to send email.&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# _email_from&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Email address from which email will be sent.&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# _email_to&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Email address(es) to which email will be sent.&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# _email_cc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : (optional) Email address(es) to which email will be&lt;/P&gt;&lt;P&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; carbon copied.&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, in "config t" mode:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;event manager environment mem_cpu_time 7200&lt;/P&gt;&lt;P&gt;event manager environment mem_cpu_num_lines 10&lt;/P&gt;&lt;P&gt;event manager environment _email_server 10.1.1.1&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;event manager environment _email_from &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:router@company.com"&gt;router@company.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;event manager environment _email_to &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:user@company.com"&gt;user@company.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;event manager environment _email_cc &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:otheruser@company.com"&gt;otheruser@company.com&lt;/A&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That configuration will run the policy every two hours, and send the top 10 lines of "show proc mem sorted" and "show proc cpu sorted" via email to &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:user@company.com"&gt;user@company.com&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:otheruser@company.com"&gt;otheruser@company.com&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Feb 2010 19:19:14 GMT</pubDate>
    <dc:creator>Joe Clarke</dc:creator>
    <dc:date>2010-02-14T19:19:14Z</dc:date>
    <item>
      <title>EEM ON ISR router</title>
      <link>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373428#M943556</link>
      <description>&lt;P&gt;I want to configure the ISR router to Send the top 10 CPU and Memory Utilization every two hours to my email addess, I went through too many documents and I found a lot of solutions which are confusing me some of them using cron job, some of them Using OID and others using TCL Scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assist me in the easiest way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 11:52:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373428#M943556</guid>
      <dc:creator>ahmedbekhit</dc:creator>
      <dc:date>2020-02-21T11:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: EEM ON ISR router</title>
      <link>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373429#M943557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version of IOS is running on this router?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2010 05:22:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373429#M943557</guid>
      <dc:creator>Joe Clarke</dc:creator>
      <dc:date>2010-02-14T05:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: EEM ON ISR router</title>
      <link>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373430#M943558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;version 12.4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2010 13:32:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373430#M943558</guid>
      <dc:creator>ahmedbekhit</dc:creator>
      <dc:date>2010-02-14T13:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: EEM ON ISR router</title>
      <link>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373431#M943561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured that, but EXACTLY what version of 12.4?&amp;nbsp; Newer versions of 12.4T will mean a different EEM solution can be used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2010 18:18:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373431#M943561</guid>
      <dc:creator>Joe Clarke</dc:creator>
      <dc:date>2010-02-14T18:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: EEM ON ISR router</title>
      <link>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373432#M943563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it is 2811 running&lt;/P&gt;&lt;P&gt;12.4T.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2010 18:29:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373432#M943563</guid>
      <dc:creator>ahmedbekhit</dc:creator>
      <dc:date>2010-02-14T18:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: EEM ON ISR router</title>
      <link>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373433#M943565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EXACTLY what version?&amp;nbsp; Please post the "show version" output from this router.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2010 18:32:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373433#M943565</guid>
      <dc:creator>Joe Clarke</dc:creator>
      <dc:date>2010-02-14T18:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: EEM ON ISR router</title>
      <link>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373434#M943566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI again Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you are the output of show version:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Apple-style-span" style="word-spacing: 0px; font: medium 'Times New Roman'; text-transform: none; color: #000000; text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px;"&gt;&lt;SPAN class="Apple-style-span" style="font-size: 11px; color: #61636a; line-height: 15px; font-family: 'Lucida Grande', Verdana, Arial, sans-serif; text-align: justify;"&gt;Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9_IVS-M), Version 12.4(11)T2, RELEASE SOFTWARE (fc4)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Apple-style-span" style="word-spacing: 0px; font: medium 'Times New Roman'; text-transform: none; color: #000000; text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px;"&gt;&lt;SPAN class="Apple-style-span" style="font-size: 11px; color: #61636a; line-height: 15px; font-family: 'Lucida Grande', Verdana, Arial, sans-serif; text-align: justify;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Apple-style-span" style="word-spacing: 0px; font: medium 'Times New Roman'; text-transform: none; color: #000000; text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px;"&gt;&lt;SPAN class="Apple-style-span" style="font-size: 11px; color: #61636a; line-height: 15px; font-family: 'Lucida Grande', Verdana, Arial, sans-serif; text-align: justify;"&gt;Thanks!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2010 18:45:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373434#M943566</guid>
      <dc:creator>ahmedbekhit</dc:creator>
      <dc:date>2010-02-14T18:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: EEM ON ISR router</title>
      <link>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373435#M943568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This EEM Tcl policy should do what you want.&amp;nbsp; Before installing it, you will need to set some environment variables, though:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;# mem_cpu_time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Number of seconds between executions of this policy.&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# mem_cpu_num_lines : Number of lines to include in the output.&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# _email_server&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : SMTP server used to send email.&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# _email_from&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Email address from which email will be sent.&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# _email_to&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Email address(es) to which email will be sent.&lt;/P&gt;&lt;P&gt;#&lt;/P&gt;&lt;P&gt;# _email_cc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : (optional) Email address(es) to which email will be&lt;/P&gt;&lt;P&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; carbon copied.&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, in "config t" mode:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;event manager environment mem_cpu_time 7200&lt;/P&gt;&lt;P&gt;event manager environment mem_cpu_num_lines 10&lt;/P&gt;&lt;P&gt;event manager environment _email_server 10.1.1.1&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;event manager environment _email_from &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:router@company.com"&gt;router@company.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;event manager environment _email_to &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:user@company.com"&gt;user@company.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;event manager environment _email_cc &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:otheruser@company.com"&gt;otheruser@company.com&lt;/A&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That configuration will run the policy every two hours, and send the top 10 lines of "show proc mem sorted" and "show proc cpu sorted" via email to &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:user@company.com"&gt;user@company.com&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:otheruser@company.com"&gt;otheruser@company.com&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2010 19:19:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373435#M943568</guid>
      <dc:creator>Joe Clarke</dc:creator>
      <dc:date>2010-02-14T19:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: EEM ON ISR router</title>
      <link>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373436#M943570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Joe for the script, I will try it and get back to you; However; is there any direct commands that we can made without installing the TCL scripting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2010 19:32:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373436#M943570</guid>
      <dc:creator>ahmedbekhit</dc:creator>
      <dc:date>2010-02-14T19:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: EEM ON ISR router</title>
      <link>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373437#M943571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, not with your version of code.&amp;nbsp; You could do what you want without Tcl in 12.4(22)T or higher.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2010 19:37:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373437#M943571</guid>
      <dc:creator>Joe Clarke</dc:creator>
      <dc:date>2010-02-14T19:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: EEM ON ISR router</title>
      <link>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373438#M943572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice one Joe (+5)!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Feb 2010 21:12:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373438#M943572</guid>
      <dc:creator>Leo Laohoo</dc:creator>
      <dc:date>2010-02-14T21:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: EEM ON ISR router</title>
      <link>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373439#M943573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alot Joe for the value info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me what is the compatible versions of 12.4 and what are the direct commands?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 11:08:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373439#M943573</guid>
      <dc:creator>ahmedbekhit</dc:creator>
      <dc:date>2010-02-15T11:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: EEM ON ISR router</title>
      <link>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373440#M943574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This policy will work on any device running 12.3(14)T or higher.&amp;nbsp; You must first copy the policy to the device (e.g. to flash:/policies on your ISR router).&amp;nbsp; Then, configure the router with the appropriate EEM user policy directory:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;event manager directory user policy flash:/policies&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, register the policy with the EEM server (again, from "config t" mode):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;event manager policy tm_check_mem_cpu.tcl&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once those two commands are configured (and, of course, the policy has been copied to the device and you have set the environment variables I mentioned previously), the policy will be running,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2010 23:37:10 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/eem-on-isr-router/m-p/1373440#M943574</guid>
      <dc:creator>Joe Clarke</dc:creator>
      <dc:date>2010-02-15T23:37:10Z</dc:date>
    </item>
  </channel>
</rss>

