With compliments to our colleague and once the foremost NetView for
Administrators instructor, Don Davis. This was once one of the freebies
in the courses we taught. Customize it to reflect your hostname and/or
the maximum number of message windows. One of us seems to post this
about once a year.
#! /usr/bin/ksh
#
# pingfail agent interface
# Written By: Don Davis 12/01/95
# This script will limit the number ov RED BEEPING Xwindows to ONE
#####################################################################
# Revision Record (Latest Revisions at Top)
# 03/19/98 DWD Modified for Tivoli NV Admin Course
#####################################################################
export DISPLAY=`hostname`:0
# EXIT IF NOT MANAGER DISPLAY
if [ `hostname` != "sun0" ] # YOUR MANAGER HOSTNAME HERE
then
exit
fi
# CHECK NUMBER OF BEEPS ALREADY ON SCREEN
if [ `ps -eaf|grep -c ovxbeep` -gt 1 ]
then
exit
fi
/usr/OV/bin/ovxbeep -xrm XNm*FontList:ROM22 "`echo A CRITICAL EVENT HAS
OCCURRED\
PLEASE CHECK THE EVENT CARDS! | fold -s -w 30`" &
-------- Original Message --------
Subject: [nv-l] ovxbeep and ovxecho
Date: Mon, 25 Feb 2002 16:10:32 -0500
From: "Allison, Jason (JALLISON)" <JALLISON@arinc.com>
To: "'nv-l'" <nv-l@lists.tivoli.com>
We had an obscure router failure yesterday. It caused our NMS to
continually open ovxbeep popups. We are going to fix the router problem,
but we would also like to be able to configure the number of popups.
Someone thought that there was a default parameter for the maximum number of
popups that could be created, 50. I found the ovxbeep and ovxecho defaults
file in /usr/OV/app-defaults/XNm, but there is no mention of popups.
Is anyone aware of this variable?
I did find in /usr/OV/app-defaults/Nvevents:
---
! defines maximum number of popup windows opened as result of optional cmd
for trap
!
nvevents.maxDisplayMsgs : 100
---
Is this what I am looking for?
Thanks,
Jason Allison
Principal Engineer
ARINC Incorporated
Office: (410) 266-2006
FAX: (410) 573-3026
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
|