I need to create a VBScript (EXE/Script advanced Sensor) that execute a remote command to a linux device and to catch output for further translation in XLM output.. Linux device is reacheble only by SSH and your standard SSH Sensor (memory, load, etc..) work great! I tried "plink.exe -ssh" (cli version of popular PuTTY) but I've difficulty to make automathic the first ssh-key confirmation.. (I've to clone same sensor in a lot of Linux devices!) I found ChilKat.dll in your probe installation. Is that dll that you use to connetch through SSH? How can I use it in my vbscript?
Thanks a lot!! ..As usual!
Gianluca
Article Comments
Ok.. So which windows user do you use in probe environment to launch exe/script? I need to make automatic the answers to "ssh first key echange". I gave ssh key-auth to user "administrator", but it doesn't work. I tried to force "Use Windows credentials of parent device" option, but it doesn't work too. Perhaps user "SYSTEM"?
Thanks
Best regards
Mar, 2011 - Permalink
Have you managed to get your plink ssh connection running?
Running my ssh batch file from command line works perfectly. Do I run the batch file as a sensor, the output is always empty.
I'm running the PRTG Service with the local admin account - also tried domain admin.
Any further ideas?
Can a PRTG sensor start a batch script which starts a .exe? PTF-Launcher does not make sense in my case.
Oct, 2011 - Permalink
I have the same problem. If I run the plink batch file from command line all works fine. But if I test it as Notification in Paessler nothing happens.
Has anyone ideas?
Apr, 2012 - Permalink
For exe-/batch-files as notifications in PRTG, please see the following article for troubleshooting tips: How can I execute a batch file as notification?
Apr, 2012 - Permalink
Hello,
We connect throught an internal Component via SSh to Linux devices which - I am afraid - is not accessible via VB Script.
Best Regards.
Mar, 2011 - Permalink