nv-l
[Top] [All Lists]

Re: [nv-l] trapd.conf user entries

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] trapd.conf user entries
From: James Shanks <jshanks@us.ibm.com>
Date: Wed, 20 Jul 2005 08:41:52 -0400
Delivery-date: Wed, 20 Jul 2005 13:42:24 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <20050720122514.32402.qmail@web30002.mail.mud.yahoo.com>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Hmmm.   I don't understand about the ones marked "LOGONLY"  but the
solution to the ones which have custom categories like "Cisco Events" is to
use xnmtrap and click the "Configure Categories" button and add that
category.  Then run nvaddtrapdconf again.  It will only add new entries, so
you can run it multiple times.

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group


                                                                           
             Mario Behring                                                 
             <mariobehring@yah                                             
             oo.com>                                                    To 
             Sent by:                  nv-l@lists.us.ibm.com               
             owner-nv-l@lists.                                          cc 
             us.ibm.com                                                    
                                                                   Subject 
                                       Re: [nv-l] trapd.conf user entries  
             07/20/2005 08:25                                              
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
                   nv-l                                                    
                                                                           
                                                                           




Hi list,

I am getting the following error when issuing the nvaddtrapdconf command
using the trapd.conf file from the old server:

WARNING:   CATEGORY is unknown.
NOT ADDED: CSS_Service_Down {1.3.6.1.4.1.2.6.3} 6 1005 D 2 0 "LOGONLY"

WARNING:   CATEGORY is unknown.
NOT ADDED: CSS_Service_Up {1.3.6.1.4.1.2.6.3} 6 1006 D 0 0 "LOGONLY"

WARNING:   CATEGORY is unknown.
NOT ADDED: Real_Teste_2 {1.3.6.1.4.1.2.6.3} 6 1027 N 4 0 "LOGONLY"

WARNING:   CATEGORY is unknown.
NOT ADDED: CiscoPro316T_Cold_Start {1.3.6.1.4.1.9.1.147} 0 0 A 1 0 "Cisco
Events"

WARNING:   CATEGORY is unknown.
NOT ADDED: CiscoPro316T_Warm_Start {1.3.6.1.4.1.9.1.147} 1 0 A 1 0 "Cisco
Events"

WARNING:   CATEGORY is unknown.
NOT ADDED: CiscoPro316T_Auth_Failure {1.3.6.1.4.1.9.1.147} 4 0 A 2 0
"Cisco Events"

....

Actually the list is much longer. How can I add these categories previous
from merging the trapd.conf files from the old and the new boxes ?

Thank you.

Mario

--- James Shanks <jshanks@us.ibm.com> wrote:

> ftp the old trapd.conf to the new box and run
> /usr/OV/bin/nvaddtrapdconf.
> This will add any new entries in the old file to the new  trapd.conf
> But it will not change any existing entries in the new file to match the
> old ones, so if you have some alternative customizations on the same
> traps,
> you have two choices.  You can remove the ones from the "new" file
> before
> you run nvaddtrapdconf or you can just update them yourself afterward,
> with
> xnmtrap or by some other editor.  Be sure to keep some temporary backups
> as
> you go.
> I would do this while trapd is running.  You can have trapd  reload
> trapd.conf  by issuing
>       event -e FMTCHG
> If there are any syntactical problems with your newly-edited file, you
> will
> see a message in the trapd.log indicating what line the problem is on,
> and
> trapd will continue to use the old trapd.conf he has in memory.
>
> James Shanks
> Level 3 Support  for Tivoli NetView for UNIX and Windows
> Tivoli Software / IBM Software Group
>
>
>
>
>              Mario Behring
>
>              <mariobehring@yah
>
>              oo.com>
> To
>              Sent by:                  NetView List
>
>              owner-nv-l@lists.         <nv-l@lists.us.ibm.com>
>
>              us.ibm.com
> cc
>
>
>
> Subject
>              07/12/2005 04:54          [nv-l] trapd.conf user entries
>
>              PM
>
>
>
>
>
>              Please respond to
>
>                    nv-l
>
>
>
>
>
>
>
>
>
> Hi list,
>
> I am performing a NV server consolidation, where three NV servers became
> one, in a much more powerful machine running on AIX 5.2. So far the
> discovery part is ok and I was able to configure both seedfile and
> location.conf so that I have now an accurate view of the environment,
> divided by location.
>
> However, one of these old NV severs had a lot of user configured traps
> at
> trapd.conf file, for mainframe monitoring. I can do it all again at the
> new one but that should be a lot of work...is there any way that I can
> import these entries or just sue the trapd.conf file from this server ?
>
> Any help is appreciated.
>
> Thanks.
>
> Mario
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
>




____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs




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

Archive operated by Skills 1st Ltd

See also: The NetView Web