01-25-2014 11:49 AM
I'm trying to check if agentsendsalivepackets is enabled on a managed node. Is it possible to check the heartbeat polling status?
Solved! Go to Solution.
01-25-2014 03:31 PM
On the agent you can check the ovconfget output for 'eaagt' namespace and confirm the OPC_HBP_INTERVAL_ON_AGENT flag is set. On the server side check the properties of the node to see how the "Heartbeat Polling" is set in the Network pane for the node.
Hope this helps.
01-25-2014 07:24 PM - edited 01-25-2014 07:30 PM
In addition to what Ram as mentioned, you can also check the status of heartbeat polling of a node from the command line of OM MGMT SRV ( OM L/U/S ) with opchbp.
Ex : /opt/OV/bin/OpC/opchbp <nodename>
Node <nodename> ... HBP is on. Type: 0x7. Interval: 0h10m00s.
In the above output, it indicates that Normal heartbeat polling with "Agent sends Alive packet" is enabled for <nodename> with polling interval of 10 minutes.
Type 0x7 means Normal, Agent Sends Alive Package
For more details and examples, you can take a look at the man page of opchbp.
Hope this helps.
To show your appreciation, click KUDOS !!!
01-26-2014 10:08 PM
In addition to what has been said above, the OPC_HBP_INTERVAL_ON_AGENT setting can also be set in the "configsettings" policy (however AFAIK there are issues with this and many agent versions ignore it - I am not sure if it has been fixed with the recent versions).
01-27-2014 04:51 AM - edited 01-27-2014 04:51 AM
Thank you for your answers. They are all helpful.
I also found another way. In the OPC_NODES table there are HEARTBEAT_FLAG, HEARTBEAT_INTERVAL, HEARTBEAT_RETRY and HEARTBEAT_TYPE fields which you can check the status.
01-27-2014 05:30 AM
Yes, that's where the 'opchbp' tool gets the info - you can also use one of the reports:
/opt/OV/bin/OpC/call_sqlplus.sh sel_nodes node1 node2 ...
("all_nodes" report has this info too).