Can not find oid object "rttMonLpdGrpStatsProbeStatus"

Answered Question
Jul 6th, 2010
User Badges:

Hi Guys,  I've been trying to use the following configuration


ip sla monitor 1

type http operation get url http://www.google.com source-ipaddr x.x.x.x name-server x.x.x.x proxy http://x.x.x.x

timeout 5000

ip sla monitor schedule 1 life forever start-time now



event manager applet Test

event snmp oid "1.3.6.1.4.1.9.9.42.1.3.7.1.19" get-type exact entry-op eq entry-val "up" exit-op eq exit-val "down" poll-interval 60

action 1.0 cli command "show ip sla monitor statistics"

action 2.0 mail server "_mail_smtp" to "_mail_rcpt" from "router03" subject "Notification" body "$_cli_result"


but it does not work, so i used a debug to see what is going wrong, i got this error:

snmp_entry_value_check: OID unavailable


snmp_entry_value_check:Returning FALSE


so i check out my router's mib and i noticed that this oid "rttMonLpdGrpStatsProbeStatus" is not there, is it possible to add this oid in my router's mib or is it possible update it?


IOS c3845-adventerprisek9-mz.124-25.bin


Please Help!!!!

Thanks

Correct Answer by Joe Clarke about 6 years 11 months ago

This object is rttMonLpdGrpStatsProbeStatus.  I'm pretty sure this isn't what you want (this is for MPLS).  Exactly what do you want to monitor?  The HTTP response code?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Joe Clarke Tue, 07/06/2010 - 23:14
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

This object is rttMonLpdGrpStatsProbeStatus.  I'm pretty sure this isn't what you want (this is for MPLS).  Exactly what do you want to monitor?  The HTTP response code?

ochalmers Wed, 07/07/2010 - 05:20
User Badges:

Hi Joe, i would like to know the Latest operation return code



Round Trip Time (RTT) for Index 1

Latest RTT: 216 milliseconds

Latest operation start time: *07:49:04.396 CCS Wed Jul 7 2010

Latest operation return code: OK

Latest DNS RTT: 36 ms

Latest TCP Connection RTT: 79 ms

Latest HTTP Transaction RTT: 101 ms

Number of successes: 9

Number of failures: 0

Operation time to live: Forever

Thanks

Joe Clarke Wed, 07/07/2010 - 10:26
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Use 1.3.6.1.4.1.9.9.42.1.5.1.1.6 or 1.3.6.1.4.1.9.9.42.1.5.1.1.7 instead.  To the end of that OID, you will need to append your IP SLA collector number (1 in your case).


The first object will give you an integer operation sense code.  You want this to be 1 for a successful operation.  The second object will give you a string representing the actual HTTP resul code.

ochalmers Wed, 07/07/2010 - 13:24
User Badges:

I used your suggestion and it works fine!!!!

Thanks

Actions

This Discussion