Re: [nv-l] status change problem??
The nvsnmptrap command used is
c:\usr\ov\bin\nvsnmptrap test1 .184.108.40.206.220.127.116.11.3.1 test1 6 12345 0
.18.104.22.168.22.214.171.124.126.96.36.199.0 integer 14 .188.8.131.52.184.108.40.206.220.127.116.11.0 octetString
"test2" .18.104.22.168.22.214.171.124.126.96.36.199.0 octetString " Results Status trap sent" .188.8.131.52.184.108.40.206.220.127.116.11.0 octetString "Critical"
test1 is the machine which is sending the trap and receiving the trap(host on which NetView is installed and the code is executed) and test2 is the SelectionName of the host for which the status has to be changed.
The syntax seems to be correct because when I execute this from the command line it adds this trap to the event browser.
Leslie Clark <lclark AT us.ibm DOT com> wrote:
I've never done this on windows, but from doing it on AIX I know that the syntax of the trap is important. What exactly does your nvsnmptrap command look like?
Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
|Swapna Prasad <swapna56782004 AT yahoo DOT com> |
Sent by: owner-nv-l AT lists.us.ibm DOT com
09/14/2005 02:51 AM
|nv-l AT lists.us.ibm DOT com
|[nv-l] status change problem??|
I am using Netview 7.1.4 on Windows.
How to find out whether the command in the auto action of event configuration has executed or not. The command is .bat which executes a java application which executes the nvsnmptrap for status change. The map is in read-write mode. The event browser is opened from Monitor-->Events--> All Events. The objects I am trying to change the status has the "status source of Symbol".
When I execute my application from the command line I see a 58916871 trap in the event browser, but I don't see that from auto action, nor any status change occurs.
I referred to couple of mails in t!
archive. Under the Requirements for status change to work it is mentioned as follows...
1. In order for an event, no matter how it is processed, to override status
and change the color of an object on the map(s), the Event process (called
nvevents) must be running in dynamic workspace in a control desk on the
read-write map, and the control desk must have been started by ovw (the map
process) initially. This is the default NetView End User Interface
The reason for this is that the APIs for the status override function are
in nvevents and ovw, and they can only be used effectively when both are
connected to the same read-write map. "
The only service running in my machine is nvservice.exe,netmon.exe,trapd.exe..... I don't see ovw!
nvevents in netview installation directory. Are they referring to older version of NetView. Everything else seems to work ok.
In the nv.log I see this WARNING message
[ovspmd] WARNING: /usr/OV/conf/ovsuf: object manager polld: invalid behavior 120
[ovspmd] C:\usr\ov\bin\ovspmd.exe: /usr/OV/conf/ovsuf: object manager polld: invalid behavior 120
Is this any thing to do with the problem with status change.
Is there anything else I need to do. Any help is greatly appreciated.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.