SSH is used
REST (http/https) is sued
End devices may have maximum connections limit in a specific time. Session idle timeout will affect OpManager's polling time and sometimes poll(s) will be missed.
Only session timeout which can be identified and a new session can be created/used
CLI Response will have character limit, if it exceeds the limit, we may need to execute multiple commands for a single entity.
No such limitations
A separate parser needs to be written for parsing the CLI commands which increases memory usage and time for a single poll.
Well-framed response will be returned from the end device,(JSON/XML) which can be easily parsed by inbuilt parser in JAVA