Tuesday, 30 October 2012

HP OMU 9.10 - opccfgdwn, download.dsf man pages

opccfgdwn - download configuration data from the HPOM database to flat files

opccfgdwn [ -help ] [ -silent ] [ -force ] [ -backup ] [ -anonymous ]
<specification file> <target directory>

The command opccfgdwn can be used to copy configuration data from the HPOM database to flat files. The data to be downloaded is specified in a file which is created by the user interface. The specification allows to download all data, complete entity data (such as the Node Bank) or selected entity data (such as nodes out of the Node Bank).

Tuesday, 18 September 2012

HP OMU 9.10 - How to enable tracing hp operation agent use ovconfchg

Enable tracing for example on opcmona,opcacta:

      ovconfchg -ns eaagt -set OPC_TRACE TRUE -set OPC_TRACE_AREA ALL,DEBUG -set OPC_TRC_PROCS opcmona,opcacta -set OPC_DBG_PROCS opcmona,opcacta -clear OPC_DBG_EXCLUDE_AREA

Trace file is:


Disable tracing with:

      ovconfchg -ns eaagt -clear OPC_TRACE -clear OPC_TRACE_AREA -clear OPC_TRC_PROCS -clear OPC_DBG_PROCS

Monday, 30 July 2012

HP OMU 9.10 bbcutil - a tool for debugging a BBC-based server.


bbcutil - a tool for debugging a BBC-based server.

The bbcutil command helps you to debug a BBC-based server. The bbcutil command can be used to list all applications registered to a Communication Broker, to check whether specified communication services are alive, and to display details about the current state of the server.

HP OMU 9.10 ovdeploy -- transfere, remove or execute files on remote hosts


ovdeploy - performs tasks related to software installation on local and remote hosts.


ovdeploy manages objects on local and remote hosts. An object can be a file, a directory, or a package. A package can be a file, a group of files, a directory or group of directories or a combination of all.

You use ovdeploy to install, remove, up or download, and register or unregister objects on the local and remote hosts you are managing. You can also use the ovdeploy command to list package inventories and execute commands on specified files.

HP Openview operations managers for UNIX 9.10 commands

Agent status: /opt/OV/bin/OpC/opcagt -status
Agent Version: opcragt -agent_version nodename
Removing buffering issue: opcragt -cleanstart nodename
Remote Agent: opcragt (node name)
Distribution of templates, monitor, commands & scripts: opcragt -distrib -force (nodename)
List templates remotely: ovdeploy -cmd “opctemplate -l” -node (nodename)
Configuration file: ovdeploy -cmd “/opt/OV/bin/OpC/ovconfget” -node (nodename)
Certificate request: /opt/OV/bin/ovcert –certreq
List Certificate: /opt/OV/bin/ovcert -list
Add Node in OVO: opcnode -add_node node_name=Avijit \net_type=NETWORK_IP mach_type=MACH_HP11_PA_RISC
Assign node to node group: opcnode -assign_node node_name=$node group_name=”nodegrp”
Last 50 Error output: ovdeploy -cmd “tail -50 /var/opt/OV/log/System.txt” -node (nodename)
Core id on node: ovdeploy -cmd “ovcoreid” -node (nodename)
Test Alert: /opt/OV/bin/opcmsg app=OSSPI sev=warning msg_grp=Performance obj=”test” msg_text=”TEST please ignore”
llbd status: ovdeploy -cmd  “ps -ef | grep llbd” -node nodename
rpc status: ovdeploy -cmd  “ps -ef | grep -v grep | grep rpc” -node nodename
Version check: ovdeploy -cmd “uname -a” -node nodename
Change id: opcnode -chg_id node_name=nodename id=4892jdlf8e320rhfeqr89322
Template disable: ovdeploy -cmd “opctemplate -d templatename” –node nodename
To stop ovo service: opcsv -stop
To stop ovo services along with NNM: ovstop -c
to start services: opcsv -start/ ovstart -c
A script to Automate a menu driven commands:
# File Name: dailytask.sh
# AUTHOR:       Avijit Bhardwaj
echo ” “
echo ” “
Name=`echo $1`
if [ "${Name}x" = "x" ]
echo “Enter Server:”
read Name
while [ "$plat" != "0" ];
echo ” “
echo “1) Agent Status”
echo “2) Coreid”
echo “3) fwtmp output”
echo “4) server information, confget and last 30 errors occurred”
echo “5) Template assigned to the server”
echo “6) Cleanstart the agent”
echo “7) Make a distribution”
echo “8) File system thresholds”
echo “9) Processes getting monitored”
echo “0) Exit”
echo ” “
echo “Lemme know ur choice”
echo ” “
read plat
case $plat in
1) opcragt $Name ;;
2) ovdeploy -cmd “/opt/OV/bin/ovcoreid” -node $Name ;;
3) ovdeploy -cmd “strings /var/opt/OV/bin/instrumentation/osspi_fwtmp” -node $Name ;;
4) ovdeploy -cmd “/opt/OV/contrib/OpC/itochecker_agt -12″ -node $Name; ovdeploy -cmd “cat /tmp/ito_rpt_agt/ITO.rpt” -node $Name;;
5)ovdeploy -cmd “opctemplate -l” -node $Name ;;
6) opcragt -cleanstart $Name;;
7) opcragt -distrib -force $Name;;
8) /opt/OV/bin/ovdeploy -cmd “cat /var/opt/OV/conf/osspi/osspi_local_fsmon.cfg” -node $Name;;
9) /opt/OV/bin/ovdeploy -cmd “cat /var/opt/OV/conf/osspi/procmon_local.cfg” -node $Name;;
To check alarmdef syntax:
/opt/perf/bin/utility -xc /var/opt/perf/alarmdef

Friday, 13 July 2012

HP NNMi 9 deep dive presentations

How to work with HP NNMi use Python and Web Service NNMi

This article describe how to use python with HP NNMi web services
use python to talk to nnmi
Suds is a lightweight SOAP python client for consuming Web Services:


from suds.client import Client
from suds.transport.http import HttpAuthenticated

t = HttpAuthenticated(username='system', password='NNMPASSWORD')

url = 'http://nnmi/NodeBeanService/NodeBean?wsdl'

client = Client(url, transport=t)

# Retrieve full node list
allNodes = client.service.getNodes('*')

print "Nodes in topology:", len(allNodes.item)

for i in allNodes.item[:]:
  print i.name,i.deviceModel

HP Sitescope 11 - HP NNMi 9 Integration event integration

HP Sitescope 11 -  HP NNMi 9 Integration event integration.

What's new with OMW

Tips and tricks HP OMW:


Introduction to HP Operations Manager Windows

Introduction to HP OMW:

What's new with NMMi 9? HP NNMi 9 New User Interface Features

NNMi 9.10 New UI Features:

Thursday, 12 July 2012

Alternative integration NNMi 9.x with HP Operations Manager OM

Sebastian  YEPES FERNANDEZ proposed a new method for integration NNMi 9.x with OM. That mathood permits the forwarding of incidents generated only by the nodes contained in a specific topology map (Node Group). This method uses PL/SQL scripts and opcmsg agent and policy. 
Sources, policy: http://h30499.www3.hp.com/  NNMi OM Alternative Integration

How to to create incident in HP OMU use Perl and Incident Web Service IWS

HPOM has library WSOM-Lib_0.01_7. It located  /opt/OV/contrib/OprWsIncPerl/.  
There are some example:

Let's Create incident in OMU by IWS use WSOM-lib (use soap and wsdl). It's very quickly:

Wednesday, 11 July 2012

Integration NNMi with HPOM use incident web services IWS

Integration uses the following modules:

  • NNMi OM integration module
  • HP OM incident web service
  • HP OM applicationd for contextual access to the NNMi console
The following  lists the main features of both integration methods.

Forwarding to HP OM agent: 
  • Incident forward to HP OM
  • Access to NNMi console from HP OM
  • Filter incidents to forward

Web Services Implementation:
  • Incident forward to HP OM
  • Access to NNMi console from HP OM
  • Filter incidents to forward
  • Incident state  synchronization between NNMi (lifecycle)  and HP OM (unacknowledge, acknowledge)

Tuesday, 10 July 2012

Book: HP Network Node Manager 9: Getting Started

HP Network Node Manager 9: Getting Started

HP Network Node Manager 9: Getting Started
Author: Marius Vilemaitis
Paperback: 584 pages
Publisher: Packt Publishing (January 4, 2011)
Language: English
ISBN-10: 1849680841
ISBN-13: 978-1849680844
Product Dimensions: 9.3 x 7.5 x 1.4 inches

Table of Contents

Preface Chapter 1: Before we Manage with NNMi
Chapter 2: Discovering and Monitoring Your Network
Chapter 3: Configuring and Viewing Maps
Chapter 4: Configuring Incidents
Chapter 5: Controlling Access to NNMi
Chapter 6: Troubleshooting, Security, and Backup
Chapter 7: Application Failover and High Availability Solutions
Chapter 8: Navigating Console and Learning Network Inventory
Chapter 9: Monitoring Your Network
Chapter 10: Extending NNMi
Chapter 11: Integrating NNMi with Other Management Tools
Appendix A: Upgrading from NNM 6.x/7.x
Appendix B: Upgrading from NNMi 8.1x
Appendix C: What's Next…

It's good addition for documentation.

This book is a step-by-step guide describing how to implement, maintain, and expand the NNMi management tool. It is a practical guide, based on experience managing networks in a wide scale of network operation centers. It shares best practices and explains a lot of non-technical issues that arise during implementations and operations.

Preview of book  HP Network Node Manager 9: Getting Started :


You can bay and download HP Network Node Manager 9: Getting Started.


Video: HP NNMi Global Network Management, failover, HA cluster Explained and best practices

HP NNMi GNM Explained and best practices

Introduction to GNM: NNMi 9.10 GNM

Video: HP NNMi 9.20 Overview

Video guide HP NNMi 9.20 Overview

What is HP NNMi?
What does HP NNMi do?

Tuesday, 3 July 2012

Doc: HP Network Node Manager i 9.20 Deployment Reference

HP Network Node Manager i 9.20 Deployment Reference HP NNMi deployment 9.20

Quick Start Guide: Deploying NNMi 9.0

Deploying NNMi 9.0
View more presentations from HP Software Community for IT Experts and Leaders

1. Validate processe (ovstatus)
2. Create a new user NNMi
3. Apply a license (nnmlicense.ovpl NNM -g / nnmlicense.ovpl NNM -f license.key)
4. Configure Communication  (SNMP read comunity string)
5. Configure Discovery NNMi
6. Tools Discovery Progress
7. Seed Discovery
8. Monitoring Configuration
9. Create custom puller collection
10. Trap Configuration (nnmincidentcfg.ovpl)
11. Action Configuration
12. Backup and Restore NNMi
13. Clean Traps from the NNMi database


Check status:
ovstatus -c 

Details of the jboss services:
ovstatus -v

Load sees file:
nnmloadseeds.ovpl -f seedfile

Disable dampening:
nnmsetdampenedinterval.ovpl -hours 0 -minutes 0 -second 0

Load SNMP MIBs into NNMi:
nnmincidentcfg.ovpl -u username -p password  -loadMib ./yoursMIBfiles.mib
nnmincidentcfg.ovpl -u username -p password  -loadTrap ./yoursTRAPSfiles.mib

Block unwanted traps:

Backup and Restore:

Configuration export and import:

Maintenance of traps (clean traps from NNMi database):
nnmtrimincidents.ovpl -u system -p mypassword -age 1 -incr weeks -origin SnmpTrap -trimOnly -quiet

Monday, 2 July 2012

Quick Start Guide: NNMi 8.x Deployment and Configuration

  NNMi 8.x Deployment and Configuration.  A useful and simple guide to setting up nnmi.

https://vivitworldwide.site-ym.com/resource/collection/351A3DA5-C458-4C1D-AFCC-5309B2045A5B/nnmi_sample_deployment_2009March06.pdf Nnmi 8.x Sample Deployment

Links: NNMi 9.1x Release Notes Updates

NNMi 9.1x Release Notes Updates:

Quick Start Guide: NNMi 9.x delete (clean) database

NNMi 9.x delete (clean) database

1. Stop NNMi:
ovstop -c
 2.Backup database:
nnmbackup.ovpl -type offline -target <directory>
 3.Save NNMi comfiguration:
 4.Save incidents:
 5. Drop and creat the NNMi database:
nnmresetembdb.ovpl -nostart
 6. Reset iSPI or ather application.
7. Reset system password (I had problem with login):

8. Start NNMi:
ovstart -c