nv-l
[Top] [All Lists]

Re: trapd.conf

To: nv-l@lists.tivoli.com
Subject: Re: trapd.conf
From: "Chance, Larry" <lchance@SFBCIC.COM>
Date: Thu, 12 Aug 1999 12:48:32 -0500
Responses below:

> -----Original Message-----
> From: James Shanks [ mailto:James_Shanks@TIVOLI.COM
<mailto:James_Shanks@TIVOLI.COM> ]
> Sent: Thursday, August 12, 1999 11:45 AM
> To: NV-L@UCSBVM.ucsb.edu
> Subject: Re: trapd.conf
>
>
> You should edit trapd.conf only with the Trap Settings
> dialog.  That way you
> cannot screw it up.  We don't document anything else for that
> reason.  But if
> you insist on another editor,  you need to make a backup copy
> first.  The order
> of the fields and the order of the information in the fields is partly
> positional, and I have not tried removing the enterprise and
> leaving the traps
> underneath it, but that could cause a problem as well.
>
> If you should screw it trapd.conf, then trapd may not start
> (or re-start) since
> any edits you do outside the GUI will not take effect until
> you either restart
> trapd (when he reads the entire trapd.conf into memory) or do
> a special event
> command
>      event -e FMTCHG
> (which should cause a reload -- the GUI does this under the
> covers).  If you
> have messed up the file significantly, then it won't load and
> you will get a
> message which will try to tell you what line of the file is
> the first one he has
> a problem with.
> My advice -- don't do it.  Editting via our GUI is not that
> much slower or more
> difficult.
>
> Now comes the real question -- what problem are you trying to
> solve by deleting
> these unused enterprise ids?    File size isn't usually an
> issue here -- you
> won't significantly affect trapd initialization nor run
> time-- so why bother?

Thanks for the warning on file editing.  I didn't do it after all.

I still do not see where you can select an Enterprise
and delete it via GUI.  I do see where you can select
the Trap in the Enterprise and delete it.  But not the
Enterprise itself with all it's Traps.

The problem for me is when I'm going back and forth
working with Trap Settings and have to scroll through all the
Enterprises to get to the one I need.  For instance, there's
several DEC, IBM, and HP that I will never need to see,
because we do not have any of these devices.
I figure why not get them out of the way to make it more
convenient.  Life's too short.

>
> And I am afraid I don't understand the rest of your question -
> >>   Also, is it documented someplace what all these
> Enterprises are used with?
> Such as:
> rsvpNotifications
> workgroup
> vtpNotificationsPrefix
> and on & on

Just my curiosity here. For instance, I wondered what the Enterprise
vtpNotificationsPrefix is.  How would I benefit from it's Traps?

>
> These are not NetView items so I don't see how they are or
> could be affected.
> The only thing that is affected is,  if you get a trap from
> some other vendor's
> software or device, whether it is already formatted on the
> Event Browser screen
> or not.
>
> Perhaps that's the whole issue here --  a misunderstanding
> about what an
> enterprise id represents?

I don't doubt my misunderstanding of Enterprises.  I am learning
each day.  I do like what I learn though.  It's very interesting.

>
> PS:  I didn't follow your remarks about nv.carriers.  I use
> notepad.exe to edit
> it all the time.

This is a whole other issue.  I needed to use MobileCom as my
carrier, with exceptions to the provisions in the file,
nv.carriers, I made my changes.
Each time I tried set it default in PAGER DAEMON it
would always resort back to METROMEDIA no matter what.
I figured it was the editing of the file causing this but maybe not.
So to work around it, I just put my provisions in the METROMEDIA
section and it works.  Where I need to use 9998765@MobileCom
I use 9998765@METROMEDIA, although it's really using MobileCom.


I do appreciate your help and knowledge of NetView.

Thanks,

Larry
>
> James Shanks
> Tivoli (NetView for UNIX) L3 Support
>
>
>
> "Chance, Larry" <lchance@SFBCIC.COM> on 08/12/99 11:50:58 AM
>
> Please respond to Discussion of IBM NetView and POLYCENTER
> Manager on NetView
>       <NV-L@UCSBVM.UCSB.EDU>
>
> To:   NV-L@UCSBVM.UCSB.EDU
> cc:    (bcc: James Shanks/Tivoli Systems)
> Subject:  trapd.conf
>
>
>
>
> [ NetView for NT ]
>
> There are several Enterprises in Trap Settings that I do not
> want displayed.
> I figure I must edit trapd.conf to remove and/or comment out
> those I do not
> want.
> I recently had a bad experience editing the file nv.carriers
> and I do not
> want
> the same with editing trapd.conf.  Is it safe to use WRITE.EXE or
> NOTEPAD.EXE
> to make these changes and should I do an ovstop prior to
> making any changes
> to trapd.conf?
>
> Also, is it documented someplace what all these Enterprises
> are used with?
> Such as:
> rsvpNotifications
> workgroup
> vtpNotificationsPrefix
> and on & on
>
> Maybe there's some I really don't want to remove.  Are there any
> dependencies?
>
>
> Thanks very much,
>
> Larry
>


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

Archive operated by Skills 1st Ltd

See also: The NetView Web