As a user, I would like that my element log off from the device that its connected when a process is done. It will be appreciated if this is something that can be implemented in the driver, to avoid use any automation scripts. The connection is stablished via SNMP, and it should be close in the same way.
Hi Esteban,
During the same connection and command execution window, you should send the log off command via SSH as well, I think it could be just an extra line in the code to do that.
Regards.
Hi,
What do you mean with "log off from the device"? If the communication polling is SNMP then this is typically UDP, so no real sessions are present. Or are there SNMP traps that you want to avoid from further being sent? Or do you want to stop the groups from being executed?
Regards,
Hi,
I think I didn't explain properly.
We stablish a SSH session and then we access the CLI to pull some information.
The question should be how to close the SSH session.
Thank you.
Sometimes it seems that we are not fully logged, so we need something that validates our successful login to start processing the responses correctly with the valid commands. And maybe after that close the connection.