Absent Member.. Absent Member..
Absent Member..

[Support Tip] How to troubleshoot and acknowledge several active messages in HPOM (OMU, OML)



In a case scenario where there are several active messages in OMU you can use the following command to see the amount of active messages: 


# echo "select count(*) from opc_act_messages;" | opcdbpwd -exe sqlplus -s




Also, the following command is very helpful to identify the node or nodes and message groups associated with the messages. 


Both Hist and Active will be listed in the report. 

This can help identifying if a particular node or group of nodes is generating the most of the messages and thus will help trying to isolate the issue:


#/opt/OV/bin/OpC/call_sqlplus.sh   msg_statistic  



In example: 


OVO Report



Report Date:  dd-MMM-yy


Report Definition:


 User:          opc_adm

 Report Name:   Message Statistics

 Report Script: msg_statistic.sql



Node Name                                Message Group      Severity #Active

---------------------------------------- ------------------ -------- ----------

abc1.hp.net                 OpC                critical          2

                                         OpC                normal            1

                                         OpenView           critical          1


abc2.hp.net                   OpC                warning           1


abc3.hp.net                    OpC                warning           3



Node Name                                Message Group      Severity #Marked

---------------------------------------- ------------------ -------- ----------


Node Name                                Message Group      Severity #History

---------------------------------------- ------------------ -------- ----------




The following are example commands with the correct syntax to acknowledge active messages in HPOM (OMU, OML)


#opcack -c -u <user_name> -e <filter_name>=<value>


To explain the options, (this can be found in the man page for opcack): 


-c: non interactive mode


-u: user name


-e: filter criteria


Possible  filter  names  are:   msg_text,   severity,

                         time_from,   time_to,  last_time_from,  last_time_to,

                         unmatched, node_name, node_list, msg_group,  applica-

                         tion, object, ownership, CMA:<CMA-name>.






#opcack -c -u opc_adm -e severity=normal


#opcack -c -u opc_adm -e severity=warning


#opcack -c -u opc_adm -e severity=critical



other examples: 


opcack -c -u john_hp -e severity=warning


opcack -c -u john_hp -e severity=normal


opcack -c -u john_hp -e severity=minor


opcack -c -u john_hp -e severity=major


opcack -c -u john_hp -e severity=critical


opcack -c -u opc_adm -e node_name=abc1.hp.net





HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
If you liked it I would appreciate KUDOs.
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.