Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Configuring IPM to measure HTTP performance

I currently use IPM 2.6. I configured HTTP performance from a remote router to a local server. I got "Data Response Error..." when I view statistics. Do I need to add local server to the target group along with SNMP string? Thank you in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Configuring IPM to measure HTTP performance

Good.

16 REPLIES
Cisco Employee

Re: Configuring IPM to measure HTTP performance

No. Just make sure that if you've added a hostname for your HTTP server that the router is configured to be able to resolve hostnames to IP addresses.

New Member

Re: Configuring IPM to measure HTTP performance

I added host name with its IP address to the source router configuration and am still getting "Data Response Error @

Cisco Employee

Re: Configuring IPM to measure HTTP performance

What version of code is running on your source router?

New Member

Re: Configuring IPM to measure HTTP performance

12.2(18)SXF12a

Cisco Employee

Re: Configuring IPM to measure HTTP performance

Post the output of show rtr configuration and show rtr coll.

New Member

Re: Configuring IPM to measure HTTP performance

6509#sh rtr configuration

Complete Configuration Table (includes defaults)

Entry Number: 7077

Owner: 161|ipm-ciscoworks2-vorabhas

Tag: 6509 to Cha

Type of Operation to Perform: http

Reaction and History Threshold (milliseconds): 5000

Operation Frequency (seconds): 60

Operation Timeout (milliseconds): 5000

Verify Data: FALSE

Status of Entry (SNMP RowStatus): active

Protocol Type: httpAppl

Target Address:

Source Address: 0.0.0.0

Target Port: 0

Source Port: 0

Request Size (ARR data portion): 1

Response Size (ARR data portion): 1

Control Packets: enabled

Loose Source Routing: disabled

LSR Path:

Type of Service Parameters: 0x0

HTTP Operation: get

HTTP Server Version: 1.0

URL: http://chantilly-rt/cgi-bin/routers2.cgi

Proxy:

Raw String(s):

Cache Control: disabled

Life (seconds): infinite - runs forever

Next Scheduled Start Time: Start Time already passed

Entry Ageout (seconds): 3600

Connection Loss Reaction Enabled: FALSE

Timeout Reaction Enabled: FALSE

Threshold Reaction Type: immediate

Threshold Falling (milliseconds): 3000

Threshold Count: 5

Threshold Count2: 5

Reaction Type: trapAndNmvt

Verify Error Reaction Enabled: FALSE

Number of Statistic Hours kept: 2

Number of Statistic Paths kept: 1

Number of Statistic Hops kept: 1

Number of Statistic Distribution Buckets kept: 1

Statistic Distribution Interval (milliseconds): 20

Number of History Lives kept: 0

Number of History Buckets kept: 15

Number of History Samples kept: 1

History Filter Type: none

6509#sh rtr collection-statistics

Collected Statistics

Entry Number: 7077

HTTP URL: http://chantilly-rt/cgi-bin/routers2.cgi

Start Time: 13:18:27.000 EDT Tue May 12 2009

Comps: 0 RTTMin: 0

OvrTh: 0 RTTMax: 0

DNSTimeOut: 0 RTTSum: 0

TCPTimeOut: 0 RTTSum2: 0

TraTimeOut: 0 DNSRTT: 0

DNSError: 0 TCPConRTT: 0

HTTPError: 0 TransRTT: 0

IntError: 60 MesgSize: 0

Busies: 0

Entry Number: 7077

HTTP URL: http://chantilly-rt/cgi-bin/routers2.cgi

Start Time: 14:18:27.000 EDT Tue May 12 2009

Comps: 0 RTTMin: 0

OvrTh: 0 RTTMax: 0

DNSTimeOut: 0 RTTSum: 0

TCPTimeOut: 0 RTTSum2: 0

TraTimeOut: 0 DNSRTT: 0

DNSError: 0 TCPConRTT: 0

HTTPError: 0 TransRTT: 0

IntError: 10 MesgSize: 0

Busies: 0

Cisco Employee

Re: Configuring IPM to measure HTTP performance

You're still using a hostname for the URL. From this switch, can you run:

telnet chantilly-rt 80

And get a successful connection?

New Member

Re: Configuring IPM to measure HTTP performance

6509#telnet chantilly-rt 80

% telnet connections not permitted from this terminal

6509#telnet 192.168.4.35 80

% telnet connections not permitted from this terminal

6509#

ip host chantilly-rt 192.168.4.35

Cisco Employee

Re: Configuring IPM to measure HTTP performance

Try removing the collector from the device, then re-add it (i.e. delete the collector through IPM then recreate it). Also, make sure that this URL returns a proper result code. You can check this from another host:

telnet chantilly-rt 80

GET /cgi-bin/routers2.cgi HTTP/1.0

(Then hit enter twice)

You should get a proper HTTP response.

New Member

Re: Configuring IPM to measure HTTP performance

I changed URL lookup string to http://

I am observing the results.

Cisco Employee

Re: Configuring IPM to measure HTTP performance

Do you mean you're waiting to see what happens, or you're seeing the same problem?

New Member

Re: Configuring IPM to measure HTTP performance

After I changed URL lookup string to server IP address, the error went away and I got 100% successful attempt (2 out of 2).

Cisco Employee

Re: Configuring IPM to measure HTTP performance

Good.

New Member

Re: Configuring IPM to measure HTTP performance

Will the result show up in HTTP report later?

Cisco Employee

Re: Configuring IPM to measure HTTP performance

Yes. The HTTP report is generated daily.

New Member

Re: Configuring IPM to measure HTTP performance

Thank you!

194
Views
0
Helpful
16
Replies
CreatePlease login to create content