3 years ago
Linux SSH ID Monitoring
Hi All,
We have observed in our environment sometimes the ID that we use for monitoring gets locked resulting in "No Data" for that particular datasource. We do have "No Data" alerts on, but...
@Stuart Weenig, thanks. Are you referring to something like below?
if (user && pass)
{
// Both user and pass exist, try to auth and if we get an invalid login error, warn the user
try
{
def jsch = new JSch()
session = jsch.getSession(user, host, port)
session.connect()
}
catch(Exception e) {
System.out.println(e);
}
}