nv-l
[Top] [All Lists]

Re: ruleset action

To: nv-l@lists.tivoli.com
Subject: Re: ruleset action
From: Leen van der Ster <lster@TRIPLE-P.NL>
Date: Tue, 17 Nov 1998 08:54:24 -0800
Reply-to: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Hello,

Try setting your DISPLAY variable and export it instead of using -display,
I used a command like: (export DISPLAY=node:0.0 ; /usr/OV/bin/ovxbeep "string")
Also be sure that it's allowed to display on the X-screen you're using,
by activating it with the xhost command.

Good luck.
Leen van der Ster


At 09:05 AM 11/17/98 +0700, you wrote:
>Dear all,
>            I try to used action on ruleset to run /usr/OV/bin/ovxbeep when
>link down. In the same ruleset, I have two action which the first one is
>[echo "$NVATTR_2 $NVATTR_3 at $NVT" >> /tmp/file_name] and the second one is
>[/usr/OV/bin/ovxbeep "$NVATTR_2 $NVATTR_3 at $NVT" -display 0:0]  But the
>output of ovxbeep is not appear. after that I try to change -display 0:0
>to -display hostname:0 that it's not work.
>            How can I do? I want to here any sound when the link down.
>
>Thank you,
>rut ^_^
>
------------------------------------------------------------------------------
Leen van der Ster                                       Triple P Nederland B.V
Enterprise Management Consultant
                                                        lster@triple-p.nl
Ir. D.S. Tuynmanweg 10          Postbus 245             Tel: +31-347-353312
4131 PN Vianen                  4130 PN Vianen          Fax: +31-347-353301
Nederland                       The Netherlands
------------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web