| 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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Migrating from one box to another (Unix) (correction), Leslie Clark |
|---|---|
| Next by Date: | Re: restart network discovery, Leslie Clark |
| Previous by Thread: | RE: ovxbeep, Davis, Donald |
| Next by Thread: | [netmon] Could not allocate memory for OVsnmp...(error), JP |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web