Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

HPOM and Agents Health Checks using itochecker

News itochecker Recommended Links Checking HPOM agents Checking HPOM server HP HPOM Reference
HPOM Troubleshooting Troubleshooting HPOM agents Message from opcmsg not reaching manager      
HPOM/ HPOM Server Processes Checking the HPOM Processes Log Files   Humor Etc

Note: HP renamed the product called now HP operations manager way too many times. Also it is very inconsistent with using abbreviations. Here we will assume that the term "HP Operations manager" and abbreviations HPOM, OMU, and OVO  mean the same thing :-)

HPOM provides several utilities to assist with troubleshooting in the /opt/OV/contrib/OpC directory. One utility, the itochecker, provides an overall check of your OS and HPOM environment. 

While a useful Born shell script with the unique and very educational set of checks (studying the code gives you some additional insights about HPOM), it is badly maintained and have a serious weaknesses some of them stemming from the use of Born shell and others from the lack of maintenance:

The itochecker report is a useful tool to pinpoint existing problems and should be used as the first step in evaluating the HPOM server health.  After invocation it displays the following menu:

Usage: itochecker [1234567lxtshma]
itochecker 09.00.160 - an expert utility from the HP Operations Manager Support

  Select one or multiple check groups:
    1 - System environment check
    2 - HPOM  environment check
    3 - General database che
    4 - Database/node verification
    5 - Nodes check
    6 - JavaGUI/SvcNavigator check
    7 - Performance checks

  Select specific options if requested:
    l - Check licenses, when checking nodes (check 5)
    x - Check via snmp, when checking nodes (check 5)
    t - tar and zip output files to one file, including
        cluster, core, opcinfo/error, ito_op information
    s - check only a specified node
        (only effective, if Nodes check was chosen)
    h - Help
    m - Send messages to the  HPOM  Message Browser
    a - run the checks 1-6 with options t and m
    q - Quit

  Type one or multiple numbers/characters and press 
  to start the checks (any sequence is allowed)

Options?

Read the man page for usage details. The primary areas of interest are any categories that show errors.

To run the tool in non-interactive mode you need to supply at least one option.

 

Checking HPOM agents

 Itochecker is a very useful tool for checking the health of the agents. To check the agents please run:

/opt/OV/contrib/OpC/itochecker -5

Here is an example of the report

  Nodes Overview
  
  Nodename             Node state   Agent State  Cert. State  Config State    Overall

  ss2.mynet.firm.com   OK           WARNING      OK           OK              WARNING

NOTES: 

Checking HPOM server

To check HPOM environment, you can run: 

/opt/OV/contrib/OpC/itochecker -2

It will generate the report in both text and HTML formats. The HTML is structured as index page and multiple sections (one for each category of checks).

For checking the server combining the first four option ( -1234 ) is the best, for example:

/opt/OV/contrib/OpC/itochecker -1234


SYSTEM ENVIRONMENT CHECK:
Name Resolution
System Info
Checking hardware model ...
Checking memory, swap, software versions ...
Checking free disk space ...
Checking total disk space ...
Number Of Processes / System Load
System file permissions
OS Patches

Finished System environment check

HPOM ENVIRONMENT CHECK:
HPOM Version/Package & ECS Designer
Server Processes
Kernel Parameters
HPOM Patches
Installed HPOM filesets
HPOM Binaries: Version and Patches
HPOM Libraries: Version and Patches
Diskspace in DB and HPOM directories
Pending Data in Distribution Directory
Policy and Config Files
Cluster Information
core File Information
config settings and error log files
Checking opcerror

Elements in Server Queues
Elements in Agent Queues
Critical file permissions and ownership
HP Operations Manager Components

Finished HPOM environment check

DATABASE CHECK:
Database Information
Database Queries

Finished database check

HPOM DATABASE CHECK:
Agent Entries in DB / Agent Entries in Filesystem
Diskspace in Oracle Directory
usage: grep [-E|-F] [-c|-l|-q] [-bhinsvwx] -e pattern_list...
        [-f pattern_file...] [file...]
usage: grep [-E|-F] [-c|-l|-q] [-bhinsvwx] [-e pattern_list...]
        -f pattern_file... [file...]
usage: grep [-E|-F] [-c|-l|-q] [-bhinsvwx] pattern [file...]

Finished HPOM database check


Check /tmp/ito_rpt/ITO.rpt or file:/tmp/ito_rpt/report.html for details

Top Visited
Switchboard
Latest
Past week
Past month

NEWS CONTENTS

Old News

[Mar 26, 2012] Perl Script that must run on HPUX11i server

Perl Script to monitor OV Platform: HPUX 11i Perl Version: 5.8.8. This idea of using baseline lit of processes for the server and the agent can be implemented in many different ways but it is definitely worth implementing.

1. Run the following commands.

# ovstatus

Exclude monitoring of "genaanosrvr", "httpd", and "ovctrl" because their status is unknown in normal situation.

Make a list of all daemons (the first column) for which the State column (third column) is not "RUNNING". Then email "OVSTATUS problem - <list of daemons> not running on `hostname`" to the list of recipients.

Sample (Good) output of ovstatus

root@ds0demt2# ovstatus -c

Name PID State Last Message(s)

OVsPMD 3166 RUNNING -

ovsessionmgr 3202 RUNNING Initialization complete.

ovwdb 3203 RUNNING Initialization complete.

ovuispmd 3295 RUNNING Initialized. 0 ovw clients registered.

ovtrapd 3288 RUNNING Initialization complete.

ovactiond 3289 RUNNING Initialization complete.

ovalarmsrv 3290 RUNNING Initialization complete.

pmd 3204 RUNNING Initialization complete.

genannosrvr - unknown (Does not communicate with ovspmd.)

httpd - unknown (Does not communicate with ovspmd.)

ovtopmd 3287 RUNNING Connected to native database "openview".

netmon 3296 RUNNING Initialization complete.

ovrequestd 3208 RUNNING Initialization complete.

ovctrl - unknown (Does not communicate with ovspmd.)

ovoacomm 3369 RUNNING Open Agent Service Server Initialization Complete.

opc 3390 RUNNING OVO Server Initialization Complete.

ovas 3370 RUNNING Initialization complete.

ovdbcheck 3292 RUNNING Connected to embedded database.

2. Run the following command.

# ovc

Make a list of daemons name (the first column) for which the status is not "Running" (the last column). Then email one message that "OVC Problem - <list of daemons> not running on `hostname`" to the list of recipients.

Sample "Good" output of ovc

[0]root@ss2: # ovc
agtrep      OV Discovery Agent                  AGENT,AgtRep (5770)   Running
coda        OV Performance Core                 COREXT       (5767)   Running
opcacta     OVO Action Agent                    AGENT,EA     (5759)   Running
opcmona     OVO Monitor Agent                   AGENT,EA     (5773)   Running
opcmsga     OVO Message Agent                   AGENT,EA     (5700)   Running
opcmsgi     OVO Message Interceptor             AGENT,EA     (5762)   Running
ovbbccb     OV Communication Broker             CORE         (3989)   Running
ovcd        OV Control                          CORE         (3979)   Running
ovconfd     OV Config and Deploy                COREXT       (4014)   Running
	

3. Run the following command.

# opcagt

Make a list of daemons name (the first column) for which the status is not "Running" (the last column). Then email one message that "OPCAGT Problem - <list of daemons> not running on `hostname`" to the list of recipients.

Sample "Good" output of opcagt

[127] root@ss2: # opcagt
agtrep      OV Discovery Agent                  AGENT,AgtRep (5770)   Running
coda        OV Performance Core                 COREXT       (5767)   Running
opcacta     OVO Action Agent                    AGENT,EA     (5759)   Running
opcmona     OVO Monitor Agent                   AGENT,EA     (5773)   Running
opcmsga     OVO Message Agent                   AGENT,EA     (5700)   Running
opcmsgi     OVO Message Interceptor             AGENT,EA     (5762)   Running
Message Agent is not buffering.
	

4. Run the following command.

# opcsv

Make a list of daemons name (the second column) for which the status is not "running" (the last column). Then email one message that "OPCSV Problem - <list of daemons> not running on `hostname`" to the list of recipients.

Sample "Good" output of opcsv

root@ds0demt2# opcsv

OVO Management Server status:

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

Control Manager opcctlm (3390) is running

Event Corr. Mgr opcecm (3411) is running

Action Manager opcactm (3413) is running

Message Manager opcmsgm (3414) is running

TT & Notify Mgr opcttnsm (3415) is running

Forward Manager opcforwm (3416) is running

Service Engine opcsvcm (3421) is running

ECS Anno. Mgr opcecmas (3412) is running

Cert. Srv Adapter opccsad (3419) is running

BBC config adapter opcbbcdist (3420) is running

Display Manager opcdispm (3417) is running

Distrib. Manager opcdistm (3418) is running

Open Agent Management status:

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

Request Sender ovoareqsdr (3369) is running

Request Handler ovoareqhdlr (3387) is running

Message Receiver (HTTPS) opcmsgrb (3388) is running

Message Receiver (DCE) opcmsgrd (3389) is running

OV Control Core components status:

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

OV Control ovcd (2593) is running

OV Communication Broker ovbbccb (2599) is running

OV Certificate Server ovcs (3217) is running

5. Check TELALERT

COUNT=`ps -ef | grep telalert | grep -v grep | wc -l`

if [[ $COUNT -lt 2 ]]

then

TA_MESSAGE="Telalert Processes are not running on `hostname`"

Send TA_MESSAGE to the List of Recipients

fi

#

# Check if Telalert Queue is backed up and issue ITO alert if so

#

if [ `/opt/telalert/bin/telalert -show|wc -l` -ge 200 ]

then

TA_MESSAGE="FYI - Telalert Queue is Full. Automatic action will clear th

e queue."

/opt/OV/bin/OpC/opcmsg a=NSM msg_grp=OS o=Telalert s=critical msg_text="

$TA_MESSAGE"

SEND $TA_MESSAGE to the list of recipients

fi

#

# Copy Telalert trail file to /var/DCG /LOGS

#

DATE_TIME=`date '+%Y%m'`

TELALERT_TRAIL="telalert.trail"

TELALERT_DIR="/var/opt/telalert"

BACKUP_TRAIL_FILE="/var/DCG/LOGS/$TELALERT_TRAIL.$DATE_TIME"

cat $TELALERT_DIR/$TELALERT_TRAIL >> $BACKUP_TRAIL_FILE

exit 0



Etc

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March 12, 2019