Re: EEM Question on OID

From: Marko Milivojevic <markom_at_ipexpert.com>
Date: Tue, 7 Sep 2010 09:15:53 +0200

No and you won't need them. You won't need to memorize OIDs either. If
you need to read a specific value, you will be given OID for it.

--
Marko Milivojevic - CCIE #18427
Senior Technical Instructor - IPexpert
FREE CCIE training: http://bit.ly/vLecture
Mailto: markom_at_ipexpert.com
Telephone: +1.810.326.1444
Web: http://www.ipexpert.com/
On Tue, Sep 7, 2010 at 07:58, Sonu Khandelwal (sokhande)
<sokhande_at_cisco.com> wrote:
> Do you have access to this tools in lab?
>
> Thanks,
> Sonu
>
> -----Original Message-----
> From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
> sundeep sadhwani
> Sent: Tuesday, September 07, 2010 11:02 AM
> To: Cisco certification
> Subject: Re: EEM Question on OID
>
> Hi
>
> B  B  You can find OIDs here :
> http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en
>
> B  B  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: B 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_p
> olicy_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
>>
>> B 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
>>
>> B action 1.0 cli command "enable"
>>
>> B action 2.0 cli command "show process cpu"
>>
>> B 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
> 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 - 09:15:53 ART

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