Login with Facebook

Tuesday, November 10, 2009

Load MIB file in NNMi

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

image

Saturday, November 7, 2009

find text in the result of command

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"

Saturday, October 3, 2009

How to install SiteScope 10 License

  1. Stop Sitescope service
  2. Look for the following lines and check their values in master.config located in <sitescope dir>\groups (in Sitescope 10 they should be correct):
  3. _doWorkWithConfigFilePersistency_current=true
  4. _doWorkWithConfigFilePersistency_next=CHECKED
  5. Change "_license", "_licenseOld" and "_licenseForX" values in master.config using a new valid license key.
  6. Open <sitescope dir>\bin\PersistencyViewer.bat, select persistency folder under sitescope directory and then click open.
  7. Select in the "Filter by type" "com.mercury.sitescope.platform.configmanager.MasterConfig" and double click on "__masterConfig"

image

  1. Change "_license", "_licenseOld" and "_licenseForX" using same value used before, then click commit.
  2. Select in the "Filter by type" "com.mercury.sitescope.platform.configmanager.preferences.PreferencesConfig" and double click on "GeneralDefaultPreferences_"
  3. Change "_license", "_licenseOld" and "_licenseForX" using same value used before, then click commit.
  4. Start Sitescope service.

Sunday, September 20, 2009

Happy Feast - Eid Mobarak

الله اكبر الله أكبر الله أكبر لا إله إلا الله الله أكبر ألله أكبر و لله الحمد

Wednesday, August 26, 2009

Integration between Sitescope and OMW

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 

The official steps are:

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.

What I have done is:

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

image

4. then I ran the command ovagtrep –publish

image 

Once it finished the Service hierarchy in OMW is populated

image

Thursday, August 13, 2009

HP Operations Agent Source location

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

Tips: Find file in Unix Based Systems

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