ov.envvars.bat sets the HPOV environment variables. You'll need this instead of hard coding the path in your script (e.g., %OV_CONF% instead of c:\program files\hp openview\nnm\conf). Just enter a line that says:
call ov.envvars.bat
I have a bat file that executes sound and another one that...
Try putting your commands in separate .bat file (make sure that you call ov.envvars.bat from the .bat file) and separate them with a " | ". This works perfectly everytime.
Here's an example of one of my automatic actions:
OVHIDESHELL LM_playSounds.bat | LM_PollOnEvent.bat $r | ovevent -s Critical -c "Error Alarms" "" .1.3.6.1.4.1.11.2.17.1.0.58916871 .1.3.6.1.4.1.11.2.17.2.1.0 Integer 14 .1.3.6.1.4.1.11.2.17.2.2.0 OctetString "$8_Resources"...
I have a windows platform and have many events that perform various functions regularly. I have up to 3 commands on the command line for auto actions separated by the | and it works fine. The commands execute a batch file, java script, and an ovevent command.
What command are you using?
Does anyone know how to add icons to a node's submap from the command line? I'm adding an object and must be able to pass the hostname of the node as part of defining the selection name.
Thanks.
I have a node that is discovered correctly by HPOV. I also have an application that resides on that node that I want to monitor. The software application on the node sends traps if its critical components are "in jeopardy". These critical components are not services or devices...
Blue,
Thanks for the response but the submap contains application subcomponents and I cannot run a traceroute to them. Let me be a little more specific. The software application on the node sends traps if its critical components are "in jeopardy". These critical components are not...
I have an application that sends traps to HPOV NNM 6.2. I've created several objects on a node's submap to represent the application's categories and related events. I have configured automatic actions for the events to change the status of the object (and propagate up). The problem is that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.