Monitor SFTP site connection
Has someone already created a data source that checks a SFTP connection to a specific site? I saw there was one created a few years ago but the link is dead.
Kody
Posted 3 years ago·Last reply 3 years ago
5 comments
Has someone already created a data source that checks a SFTP connection to a specific site? I saw there was one created a few years ago but the link is dead.
LM User
·3 years agoIn that case, you could take out the two code blocks that start with:
Kody
OP3 years agoThanks I will take a look at this. All I need it to do for now is make sure an account can be authenticated.
LM User
·3 years agoChat-GPT prompt FYI:
LM User
·3 years agoChat-GPT to the rescue:
Although, you don’t need to Grab on the first line because jsch is already installed on the collector. This is eerily close to the example in monitoring-recipes. Hopefully between the two, creating a new scripted datasource won’t be out of reach. Let me know how it goes.
LM User
·3 years agoDo you just want to know that the port is open and accepting connections on a TCP level? Or do you want to do more (authenticate, look for a file, check a file size/contents)?