to load mib file in NNMi
change to OV_bin dir
/opt/OV/bin
nnmincidentcfg.ovpl –u username –p password –loadMib <mib file location>
nnmloadmib.ovpl –u system –p password -resynch
to load mib file in NNMi
change to OV_bin dir
/opt/OV/bin
nnmincidentcfg.ovpl –u username –p password –loadMib <mib file location>
nnmloadmib.ovpl –u system –p password -resynch
Some times when we execute commands we got lot of data that we do not want so if you want to search a result on command, you can pipe your command to find command like the below
cmd /c "net start | %SystemRoot%\system32\find /i "Reporter Service"
To ensure that the service hierarchy is populated to OMW you have to apply server patch OMW_00016; this patch has been superseded by OMW_00048 and available in http://support.openview.hp.com/selfsolve/document/KM753892?searchIdentifier=d818bd7%3a1235068c088%3a-6e2&resultType=document&documentURL=KM753892&resultsURL=%2fselfsolve%2fpatches&allowReturn=true
Following are the steps used to solve this particular (SiteScope) problem:
1. Uninstall SiteScope Discovery policy from the node
2. ovc -stop agtrep
3. Delete all files in directory: C:/Documents and Settings/All Users/Application Data/HP/HP BTO Software/tmp/agtrep/
4. ovc -start agtrep
5. install the server patch OMW_00016 on your OMW server system.
6. Then in order for the SiteScope Discovery policy to be corrected, the policy must be opened up, modified, saved, and redeployed.
In order to modify the policy, just change the schedule time of the policy.
On the OMW server I installed the OMW_00048 Patch
on The Sitescope machine
1. ovc -stop agtrep
2. Delete all files in directory: C:/Documents and Settings/All Users/Application Data/HP/HP BTO Software/tmp/agtrep/
3. ovc -start agtrep
once the service is started the temp directory will be populated by the services xml file
4. then I ran the command ovagtrep –publish
Once it finished the Service hierarchy in OMW is populated
I was just trying to highlight the locations of the action on the Management server
if you have HP Operations for Unix, you will find the Agent source files in this location
/<OvDataDir>/share/databases/OpC/mgd_node/vendor/<vendor>/<newarch>/<ostype>/<HPOM_version>/RPC_BBC/
where <OvDataDir> is /var/opt/OV
and where <vendor>/<newarch>/<ostype> is, for example:
hp/pa-risc/hpux1100
hp/ia64-32/hpux1122
hp/alpha/tru64
ms/x86/winnt
linux/x86/linux24
linux/x86/linux26
ibm/rs6000/aix5
sun/sparc/solaris7
sun/x86/solaris10
where <HPOM_version> is, for example, A.08.10.xx
If you are using HP Operations for Windows
%OvShareDir%\Packages\HTTPS\windows\ms\5.0 5.1 5.2 6.0\x86\Operations-agent\08.53.007\32 64\https
search for a files in Unix environment I always use find command
To search for files with their names in certain directory you have to type find then the path then use -name parameters then type the name and it will search all the files that begin with that name
$ find / –name abc
you can use it to search for core files
$find / –name core
You can also search by file size
$find / –size 100m