Systems Management (OpenView-OP Mgmt) Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

How to find whether agentsendsalivepackets is enabled

SOLVED
Go to 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

5 REPLIES
Honored Contributor Honored Contributor

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

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 !!!
Highlighted
Honored Contributor Honored Contributor

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

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 Honored Contributor

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