You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not possible to print custom messages if the script could not connect to the device (through SSH/Netconf or ICMP reachability).
In the sample script get_system_information.pl , the below line doesn't work.
if(! $jnx ) {
print STDERR "Unable to connect to Junos device \n";
exit 1;
}
I would like to write a syslog message if the script wasn't able to connect to the device. But it is not working. It is not working in the sample script as well.
Waiting for your kind response.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi Team,
It is not possible to print custom messages if the script could not connect to the device (through SSH/Netconf or ICMP reachability).
In the sample script get_system_information.pl , the below line doesn't work.
I would like to write a syslog message if the script wasn't able to connect to the device. But it is not working. It is not working in the sample script as well.
Waiting for your kind response.
Thank you.
The text was updated successfully, but these errors were encountered: