For those of you following along at home...
Start by logging in to the PRTG console and pause all of the sensors pointing at your target so additional SSH traffic will not be logged.
Obtain the IP address of your probe: "aaa.bbb.ccc.ddd".
Use this IP address to filter the SSHD logs on the target.
journalctl -t sshd -f | grep -i 'aaa\.bbb\.ccc\.ddd'
Look at the last timestamp in the log as shown on screen. Ignore this date and everything that came before it.
Go back to PRTG and add a new sensor to this VM.
Technology Used? SSH
Monitor What? Custom Sensors
Choose: "SSH Script Advanced"
At this point, the web browser will show a spinny wheel for 2 or 3 seconds, then present a page to select your custom script. Also during this time, a new log entry should show up on the target system showing how the probe attempted and succeeded or failed.
In my case, the log on attempt succeeded. So yes Johannes, SSHD actually gets a connection request from the PRTG server and it succeeded. What is the next troubleshooting step?
Add comment