Re: How to find whether agentsendsalivepackets is enabled (337 Views)
Reply
Member
Hakan_Deveci
Posts: 2
Registered: ‎10-05-2012
Message 1 of 6 (354 Views)
Accepted Solution

How to find whether agentsendsalivepackets is enabled

Hello,

 

I'm trying to check if agentsendsalivepackets is enabled on a managed node. Is it possible to check the heartbeat polling status?

 

Thank you.

Hakan

Honored Contributor
Ram_21
Posts: 3,663
Registered: ‎04-30-2003
Message 2 of 6 (337 Views)

Re: How to find whether agentsendsalivepackets is enabled

Hello

 

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.

Regards

Ram

 

Valued Contributor
gope
Posts: 51
Registered: ‎09-05-2005
Message 3 of 6 (326 Views)

Re: How to find whether agentsendsalivepackets is enabled

[ Edited ]

Hello Hakan,

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.

Best Regards,
Gopinath Manickam

To show your appreciation, click KUDOS !!!
Honored Contributor
Goran Koruga
Posts: 1,308
Registered: ‎12-05-2002
Message 4 of 6 (309 Views)

Re: How to find whether agentsendsalivepackets is enabled

Hello.

 

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).

 

Regards,

     Goran

Member
Hakan_Deveci
Posts: 2
Registered: ‎10-05-2012
Message 5 of 6 (292 Views)

Re: How to find whether agentsendsalivepackets is enabled

[ Edited ]

Hello all,

 

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.

 

Best regards,

Hakan

Honored Contributor
Goran Koruga
Posts: 1,308
Registered: ‎12-05-2002
Message 6 of 6 (278 Views)

Re: How to find whether agentsendsalivepackets is enabled

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).

 

    Goran

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.