url_response - pu.exe command to test url fails or abends or throws a communication error

book

Article ID: 220840

calendar_today

Updated On:

Products

DX Infrastructure Management CA Unified Infrastructure Management for z Systems CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM) NIMSOFT PROBES

Issue/Introduction

I am trying to test a url via the pu.exe tool.  However, when I execute the test_url, the pu.exe abends. Is there something wrong with my syntax or am I missing some required parameters?

   C:\Program Files\Nimsoft\bin>pu -u user -p passwd /domain/hub/robot/url_response test_url www.google.com

I am able to successfully execute the following so I know the base functionality is okay:

   C:\Program Files\Nimsoft\bin>pu -u user -p passwd /domain/hub/robot/url_response get_info

Cause

- url_response probe defect when using pu command

- pu command configuration

Environment

Release : 9.2.0

Component : UIM - URL_RESPONSE

- url_response v4.46 and 4.47

- url_response v4.47_T2 provided

Resolution

Fixed in url_response 4.47_T2

Use a command like this to test the url, for example:

pu -d 5 -u administrator -p xxxxxxxxxx /lvxxxxxxxxxx3_domain/lvxxxxxxxxxx3_hub/lvxxxxxxxxxx3/url_response 
test_url https://www.google.com NULL NULL 0 NULL NULL 0 0 NULL 0 10 0 NULL NULL 0 NULL 0 0 0 0

You can use any one of the following formats for the url:

   www.google.com
   http://www.google.com
   https://www.google.com

When the command completes you should see a message displayed, and no communication errors.

status          PDS_I             2 0
description     PDS_PCH          36 The request completed successfully.
bytes           PDS_I             6 13875
milliseconds    PDS_I             4 140
buffer          PDS_PCH       12964 <!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="en"><head><meta content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for." name="description"><meta content="noo~"

If you are running the command on a local hub/robot but want the command to execute on a remote robot, make sure you use the correct NimBUS address for the robot in the pu command, and that the given probe is already deployed and up and running on that system as well.

Change directory to where the pu.exe utility is located, e.g., C:\Program Files (x86)\Nimsoft\bin
 
Run the pu command:
 
pu -d 5 -u administrator -p xxxxxxxx /lvxxxxxxxxxx3_domain/lvxxxxxxxxxx3_hub/<remote_robot_hostname>/url_response
test_url http://www.google.com NULL NULL 0 NULL NULL 0 0 NULL 0 10 0 NULL NULL 0 NULL 0 0 0 0

Troubleshooting Tips
 
- Make sure that the same version of the url_response probe is deployed and up and running on the remote robot
- Test the command locally first to make sure the request completes successfully
- Then test the pu command using the NimBUS address which contains the remote robot's NimBUS address
- Test again to ensure that the request completes successfully
- If you get this error below, recheck your NimBUS address to make sure youre referencing the correct address and robot->
  pu: nimNamedSession: failed lookup /<domain>/<hub>/<robot>/url_response (4)
  _command failed: communication error
- Make sure that there is no network routing issues between the source machine where you are issuing the pu command and the robot/target system (NimBUS address)

Additional Information

url_response probe package attached.

   name = url_response
   description = Monitor URL response time
   copyright = Copyright (c) 1998-2014, CA. All rights reserved.
   group = Application
   author = Nimsoft Development
   date = 27.07.2021
   version = 4.47_T2
   build = 48
   license_required = yes

Attachments

url_response_4.47_T2_1627919367788.zip get_app