Ask the Community
Groups
How To Add Clients that are not Pingable : The name <client> could not be resolved on the network, or is not reachable - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>How To Add Clients that are not Pingable : The name could not be resolved on the network, or is not reachable I</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p>Customer is attempting to add a client and they do not allow ICMP on their network. They receive the following Error when attempting to add a client!<br> </p> <div> </div> <div><b>Summary: Error communicating with system.</b></div> <div> </div> <div><b>Cause: Call was unsuccessful.</b></div> <div> </div> <div><b>Detail: [System] Failed to save client: Registration for client <Client_Name> failed. The name <Client_Name> could not be resolved on the network, or is not reachable. Please be sure that the name and address are configured in the Hosts Configuration area of the User Interface, and that there is network connectivity between the Unitrends System and <Client_Name>.</b></div> <h2 data-id="resolution"><strong>RESOLUTION</strong></h2> <p></p> <div>Edit <b>/usr/bp/bin/ping_check</b> and add <i><b>STATUS=0</b></i> on the line above <b>exit$STATUS</b> line at the end</div> <div> </div> <div><b>1) vi /usr/bp/bin/ping_check</b></div> <div> </div> <div> </div> <div> </div> <div>[ $# -eq 0 ] && exit 1</div> <div>TMP1=/tmp/cttest_$$</div> <div>STATUS=0</div> <div>PING=ping</div> <div>[ -x /sbin/ping ] && PING=/sbin/ping</div> <div>[ -x /usr/sbin/ping ] && PING=/usr/sbin/ping</div> <div>[ -x /etc/ping ] && PING=/etc/ping # For HP UX</div> <div>$PING -? 2> $TMP1</div> <div>if grep timeout $TMP1 >/dev/null</div> <div>then</div> <div> # SUN OS, Solaris, SVR4 style</div> <div> $PING $* 2 > $TMP1 2>&1</div> <div> [ $? -eq 1 ] && STATUS=1</div> <div>else</div> <div> # Lachman, SCO, DEC Alpha style, BSD, Linux</div> <div> OPTS=""</div> <div> SYSNAME=`uname`</div> <div> case "$SYSNAME" in</div> <div> [Ll]inux) OPTS="-w 5";;</div> <div> esac</div> <div> $PING -qc 1 $OPTS $* > $TMP1 2>&1</div> <div> [ $? -eq 1 ] && STATUS=1</div> <div> if egrep "0 packets received|unknown" $TMP1 >/dev/null 2>&1</div> <div> then</div> <div> STATUS=1</div> <div> fi</div> <div>fi</div> <div>rm -f $TMP1</div> <div><i><b>STATUS=0</b></i></div> <div>exit $STATUS</div> <div> </div> <div> </div> <div>2) add the client </div> <div> </div> <div> </div> <div>3) then remove the <i><b>STATUS=0</b></i> we placed at the end/bottom of the script. Your script should look like what we have below before you logout ***<b>REQUIRED</b>***</div> <div> </div> <div>[ $# -eq 0 ] && exit 1</div> <div>TMP1=/tmp/cttest_$$</div> <div>STATUS=0</div> <div>PING=ping</div> <div>[ -x /sbin/ping ] && PING=/sbin/ping</div> <div>[ -x /usr/sbin/ping ] && PING=/usr/sbin/ping</div> <div>[ -x /etc/ping ] && PING=/etc/ping # For HP UX</div> <div>$PING -? 2> $TMP1</div> <div>if grep timeout $TMP1 >/dev/null</div> <div>then</div> <div> # SUN OS, Solaris, SVR4 style</div> <div> $PING $* 2 > $TMP1 2>&1</div> <div> [ $? -eq 1 ] && STATUS=1</div> <div>else</div> <div> # Lachman, SCO, DEC Alpha style, BSD, Linux</div> <div> OPTS=""</div> <div> SYSNAME=`uname`</div> <div> case "$SYSNAME" in</div> <div> [Ll]inux) OPTS="-w 5";;</div> <div> esac</div> <div> $PING -qc 1 $OPTS $* > $TMP1 2>&1</div> <div> [ $? -eq 1 ] && STATUS=1</div> <div> if egrep "0 packets received|unknown" $TMP1 >/dev/null 2>&1</div> <div> then</div> <div> STATUS=1</div> <div> fi</div> <div>fi</div> <div>rm -f $TMP1</div> <div>exit $STATUS</div> <h2 data-id="cause"><strong>CAUSE</strong></h2> <p>The appliance will attempt to verify connectivity with the client via ping before adding it to the DPU as a client. If the client is not verifiable via ICMP it may fail to add as a client.</p> </article> </main>