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
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
In that case, you could take out the two code blocks that start with:
Kody
OPThanks 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
Chat-GPT prompt FYI:
LM User
Chat-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
Do 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)?