Re: EEM Question on OID

From: sundeep sadhwani <sundeep.sadhwani_at_gmail.com>
Date: Tue, 7 Sep 2010 11:01:59 +0530

Hi

     You can find OIDs here :
http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en

     I hope this helps.

Regards
Sundeep Sadhwani
CCIE # 26228 (RnS)

Also

On Tue, Sep 7, 2010 at 10:51 AM, Grammer, Christopher <
cgrammer_at_essilorusa.com> wrote:

> All,
>
> I have been studying EEM because I have read several people talking about
> EEM and measuring CPU to trigger an event.
>
> Well... its right in the doc CD(see below).
> Its not under 12.4, but it is under 12.4T IOS management configuration
> guide.
> My question is: How am I to figure out the OID?
>
> I enabled SNMP on a router and used the command:
>
> show snmp mib | i CPU
>
> cpmCPUTotalTable.1.2
> cpmCPUTotalTable.1.3
> cpmCPUTotalTable.1.4
> cpmCPUTotalTable.1.5
> cpmCPUTotalTable.1.6
> cpmCPUTotalTable.1.7
> cpmCPUTotalTable.1.8
> cpmCPUTotalTable.1.9
> cpmCPUTotalTable.1.10
> cpmCPUTotalTable.1.11
> cpmCPUThresholdTable.1.2
> cpmCPUThresholdTable.1.3
> cpmCPUThresholdTable.1.4
> cpmCPUThresholdTable.1.5
> cpmCPUThresholdTable.1.6
> cpmCPUHistoryTable.1.2
> cpmCPUHistoryTable.1.3
> cpmCPUHistoryTable.1.4
> cpmCPUHistoryTable.1.5
> cpmCPUProcessHistoryTable.1.2
> cpmCPUProcessHistoryTable.1.3
> cpmCPUProcessHistoryTable.1.4
> cpmCPUProcessHistoryTable.1.5
>
>
> but this seems to return only SNMP variables and not OIDs.
> We cant possible be required to memorize 9 trillion OIDs, so there must be
> a
> way to find them.
> Or, is this example "THE OID" for CPU?
>
>
>
> http://www.cisco.com/en/US/docs/ios/netmgmt/configuration/guide/nm_eem_policy_cli_ps6441_TSD_Products_Configuration_Guide_Chapter.html
>
> SNMP Event Detector
>
> The following example shows how to specify an EEM applet to run when the
> CPU
> usage is greater than 75 percent. When the EEM applet runs, the CLI
> commands *enable* and *show cpu processes* are run, and an e-mail
> containing
> the result of the *show cpu processes* command is sent to an engineer.
>
> event manager applet snmpcpuge75
>
> event snmp oid 1.3.6.1.4.1.9.9.109.1.1.1.1.3.1 get-type exact
> entry-op ge entry-val 75
> poll-interval 10
>
> action 1.0 cli command "enable"
>
> action 2.0 cli command "show process cpu"
>
> action 3.0 mail server "192.168.1.146" to "engineer_at_cisco.com" from
> "devtest_at_cisco.com"
> subject "B25 PBX Alert" body "$_cli_result"
>
>
> Thanks for the help in advance!
>
>
> Chris
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Tue Sep 07 2010 - 11:01:59 ART

This archive was generated by hypermail 2.2.0 : Fri Oct 01 2010 - 05:58:05 ART