nv-l
[Top] [All Lists]

Re: ovxbeep

To: nv-l@lists.tivoli.com
Subject: Re: ovxbeep
From: "Leslie Clark" <lclark@us.ibm.com>
Date: Wed, 19 Sep 2001 07:52:08 -0400
Here's a little script that does that sort of thing. It has been floating
around for years, and I have not used it lately, so no promises.
(See attached file: alarm.sh)

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
(248) 552-4968 Voicemail, Fax, Pager



                                                                                
                       
                    "CATALINA MARTINEZ"                                         
                       
                    <CATALINA.MARTINEZ@tlc.st       To:     <nv-l@tkg.com>      
                       
                    ate.tx.us>                      cc:                         
                       
                    Sent by:                        Subject:     [NV-L] ovxbeep 
                       
                    owner-nv-l@tkg.com                                          
                       
                                                                                
                       
                                                                                
                       
                    09/18/01 03:59 PM                                           
                       
                    Please respond to IBM                                       
                       
                    NetView Discussion                                          
                       
                                                                                
                       
                                                                                
                       



To All:

AIX 4.3.3 Netview 6.0.2

Is it possible to change the window size and number of lines in the message
of the popup window?

I changed the fonts and title bar in /usr/OV/app-defaults/Xnm but can not
find where to change the window size.

I also tried setting the parameter -geometry WWWxLLLL but it didnot work.
The font also seems to remain the same.

I tried using the \n in the message but it did not work.  Any ideas?  see
below (I am using Exceed)

port=`echo $2 | tr '/' '.'`
portname=`/usr/OV/bin/snmpget $1 .1.3.6.1.4.1.9.5.1.4.1.1.4.$port`
#echo 'Port name =' ${portname##*:}
name=${portname##*:}
prefix=`echo $name | cut -c 1-3`
if test "$prefix" = "NET"
  then
      /usr/OV/bin/ovxbeep -b 10 -geometry 100x50-0-0 -display CMartinez:0.0
"$1 $name is DOWN"&
      echo $1 $name | mail -s "CORE DEVICE DOWN" CMartinez

  exit
fi
exit 0
Catalina

Attachment: alarm.sh
Description: Binary data





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

Archive operated by Skills 1st Ltd

See also: The NetView Web