IBM Support

Inconsistent ping response

Question & Answer


Question

We have several servers that when pinged from the CLI, from either the TIP or Core servers, then ping will fail. However, when the operators right-click and choose "Ping from the server", it succeeds. Why is this?

Answer

The ping performed from the "Ping from the server" GUI option is a different type of ping than that of the CLI. The ping from the CLI is a ICMP based ping, while the ping from the GUI is a TCP Echo/Ping. This type of ping does not require root privileges.

If your ITNM Core is installed as root, you can change the behavior of this function. On the ITNM Core server, look for the following file:

$NCHOME/precision/scripts/webtools/bin/ncp_wt_ncim_ping.pl

Open that file, then search for the following line:

my $p = Net::Ping->new();

and change it to:

my $p = Net::Ping->new("icmp");

Save the file, and try the function again. No other changes and no restarts are necessary. The changes will be immediate.

[{"Product":{"code":"SSSHRK","label":"Tivoli Network Manager IP Edition"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Topology Server","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"3.8;3.9;4.1;4.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21689733