Before I run the below, I want to check that there's no timeout alarm on port 22 for an Element. I can see in the active timeout alarm that the comment value = 10.0.0.1:443, so the HTTP port is in timeout and I can assume port 22 is open. How do I get the value of the alarm comment for all the active alarms for the Element? I can't find a way in docs.
I wanted to check the General Parameters page Connection Info table but this doesn't exist on this Element. (Maybe as there's no SNMP?)
If I understood correctly, you are looking for a way to send a restart command whenever the element is going into timeout (assuming an internal device's state causes the condition).
You can read the Element Alarm State parameter (PID 65008) (see documentation here), check if the value is equal to nine, and send the command with the hope of having it respond on port 22(unless the timeout is caused by another reason). Alternatively, you can also use a correlation rule to trigger the automation script, which should check the alarm's value for an indication that the port 22 is still alive. For this, you may want to parse the correlated alarm information as explained here (see part)