When you open NNM 7.x Native interface ovw it opens automatically another window is called alarm browser where you can see all the received traps plus system events grenerated by NNM Components.
this window might hang because dirty shutdown the its database “Events database. to ensure that this is the case you can run ovdumpevents command which will dump the events to your display in ASCII format and it will display message like the highlghted below, if it can not parse it
/var/opt/OV/share/databases/eventdb# ovdumpevents
.1.0.50790415 333965
1247535448 1 Tue Jul 14 05:37:28 2009 computername - Pattern Delete: Event type .1.3.6.1.4.1.11.2.17.1.0.58916867 0 false 3 335241 0 false source:computername(correlate to e2aa977e-7016-71de-0e4b-949781b50000) by ECS;1 17.1.0.58916883 0
1247535450 1 Tue Jul 14 05:37:30 2009 computername - Incorrect Community Name (authenticationFailure Trap) enterprise:ENTERPRISES.311.1.1.3.1.2 (.1.3.6.1.4.1.311.1.1.3.1.2) args(0):;2 .1.3.6.1.6.3.1.1.5.5.1.3.6.1.4.1.311.1.1.3.1.2 0
1247535452 1 Tue Jul 14 05:37:32 2009 computername - Incorrect Community Name (authenticationFailure Trap) enterprise:ENTERPRISES.311.1.1.3.1.2 (.1.3.6.1.4.1.311.1.1.3.1.2) args(0):;2 .1.3.6.1.6.3.1.1.5.5.1.3.6.1.4.1.311.1.1.3.1.2 0
T ovtrapd disconnected from pmd;1 17.1.0.59179057 0
Unable to read events from the OV Event Database: Read a corrupted record from the OV Event Log: ()
In this case we can remove the current log file and this can be done by the following.
change the directory to the Event database directory
cd /var/opt/OV/share/databases/eventdb
rename the statelog file to be statelog.anything
/var/opt/OV/share/databases/eventdb# mv statelog statelog.corrupted
Restart the ovalarmsrv
/var/opt/OV/share/databases/eventdb# ovstop ovalarmsrv
/var/opt/OV/share/databases/eventdb# ovstart ovalarmsrv
try to start the nnm again or just the Alarm Browsers by running xnmevents.
/var/opt/OV/share/databases/eventdb# xnmevents |
If the problem still exists it may be the whole database is corrupted so you may remove all the files in the /var/opt/OV/share/databases/eventdb then restart the ovalarm service and hopefully “Insha’ Allah” it will work :) .
No comments:
Post a Comment