You should be using 6.0.1 and not 6.0. No one should be using 6.0 now that
6.01. is available.
And you picked a pretty sophisticated thing to try to test with.
The background daemon ovactiond does not have the same environment that you
do. He has no display set and he does not have the same path.
For automatic actions, you should always specify the full path to the
executable, and if you want to launch an X-window GUI process you will have
to specify the display somehow. Some commands such as NetView's ovxecho
allow you to specify the display with a -d option. For others you will
have to launch a script which explicitly exports the display before calling
the command:
#!bin/ksh
export DISPLAY=<mybox>:0.0
xclock
That ought to do it.
If not, look in /usr/OV/log/ovactiond.log for clues.
James Shanks
Team Leader, Level 3 Support
Tivoli NetView for UNIX and NT
-----Original Message-----
From: Karsten.Schweiger@gecits-eu.com
[mailto:Karsten.Schweiger@gecits-eu.com]
Sent: Thursday, December 14, 2000 9:58 AM
To: IBM NetView Discussion
Subject: [NV-L] Automatic Action doesn't work
Again me.
I tried to use Automatic Actions in the event configuration but it
doesn'work. I
used simple things as xclock and xnmappmon -cmd .... When I executed these
commands on the comand line it works. I restarted all processes but it has
no
effect. I'm using Netview 6.0 on AIX 4.3.1. Any ideas?
Mit freundlichen Gruessen - Yours sincerely
Karsten Schweiger
GE CompuNet Hamburg
Netzwerk und System Management
Ost- West Strasse 49, 20457 Hamburg, Germany
Phone: +49 (0) 431-3609-121, +49-0177-6302825, Fax: +49 (0) 431-3609-190,
E-Mail : Karsten.Schweiger@GECITS-EU.COM
http://www.gecits-eu.com
This email is confidential. If you are not the intended recipient,
you must not disclose or use the information contained in it.
If you have received this mail in error, please tell us
immediately by return email and delete the document.
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
|