nv-l
[Top] [All Lists]

Re: Réf. : Re: Event Configuration

To: nv-l@lists.tivoli.com
Subject: Re: Réf. : Re: Event Configuration
From: "James Shanks" <jshanks@us.ibm.com>
Date: Mon, 5 Nov 2001 10:55:42 -0500
This is a multipart message in MIME format.
Some vendors have been attempting to use the trap description in 
trapd.conf not a "quick hint" as it was envisioned but as a repository of 
information about their products, and thus have provided excessively long 
descriptions in the traps they add via the addtrap command.  While 
addtrap, or xnmtrap, will let you add them, and trapd will read them, the 
migration utilities are not able to deal with them.

Normally, as part of a migration from Version 5 to Version 6,  you perform 
a  pre-check of your trapd.conf file to see whether there are any trap 
definitions which have descriptions exceeding 99 words, which is more than 
the migration utilities can handle, because they are based on awk.  (This 
is discussed under step 7 of "Additional Tasks to Complete Before Starting 
Tivoli NetView Update Installation" in the Version 6 Installation and 
Configuration manual if you are interested.)  On the Version 6 CD, under 
the TOOLS directory is a script called "chktrapd" which you must run 
against your old trapd.conf file:
chktrapd <your_old_trapd.conf_file>

This will write error messages to /tmp/trapd.confchk which indicate trap 
definitions which will have to be removed or edited before the 
nvaddtrapdconf script will work successfully.  If you like you can just 
truncate the excessive descriptions for now and then add them  back in 
manually later using xnmtrap.   That's up to you. 

Hope this helps

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





bducharme@avdl.com
Sent by: owner-nv-l@tkg.com
11/05/2001 09:10 AM
Please respond to IBM NetView Discussion

 
        To:     IBM NetView Discussion <nv-l@tkg.com>
        cc: 
        Subject:        Réf. : Re: [NV-L] Event Configuration

 



I did what you said.
We now have 6.0.2.
I tried to merge and got that meassage...
(Embedded image moved to file: pic29331.pcx)

What can i do now ?

Benoit





"James Shanks" <jshanks@us.ibm.com>@tkg.com le 2001-11-02 08:03:39

Veuillez répondre à IBM NetView Discussion <nv-l@tkg.com>

Envoyé par :   owner-nv-l@tkg.com


Pour :    IBM NetView Discussion <nv-l@tkg.com>
cc :

Objet :   Re: [NV-L] Event Configuration


You don't want to replace your V6 trapd.conf with V5, though that would
work, because there are new traps in V6.
You want to do a merge.  Copy /usr/OV/conf/C/trapd.conf to the new box 
with
a new name, such as "trapd.conf.V5".
Then run "/usr/OV/bin/nvaddtrapdconf trapd.conf.V5" and it will merge the
two.  Make a backup copy of your V6 trapd.conf first, in case you don't
like what you get, but it should work fine.  Every trap in the V5 file
which matches one in the V6, will replace it, preserving your
customizations, and all the additional ones there will be added to the V6
file as well.

But you may want to install either 6.0.1 or 6.0.2 first and do this
nvaddtrapdconf merge procedure using the trapd.conf which is installed in
/usr/OV/newconfig/OVSNMP-RUN/trapd.conf.  Those maintenance releases add
about a 100 new traps, mainly for Cisco devices, to trapd.conf but
automatic merges only take place when you do a migration, not when you
install a patch.  So the new traps definitions are there but there are not
installed.  So you may want to merge them with the default trapd.conf in
V6, and then merge in your customizations to get the best of all.

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





                    bducharme@avdl
                    .com                 To:     nv-l@tkg.com
                    Sent by:             cc:
                    owner-nv-l@tkg       Subject:     [NV-L] Event
Configuration
                    .com


                    11/01/01 06:25
                    PM
                    Please respond
                    to IBM NetView
                    Discussion





Hi,

     We have NetView 5 installed on a Unix server.
We have installed Netview 6 installed on another Unix server.
We have many customisation of our Trap.
Is there a way to export our trap customisation ?
Or are they in a file that we can copy to the other server ?

Thanks.


________________________________________________
Benoit Ducharme
Outils de gestion, Réalisation Technologique

Assurance vie Desjardins-Laurentienne
200 rue des Commandeurs
Lévis (Québec)
G6V 6R2
(418) 838-7800 poste 4018

mailto:bducharme@avdl.com
________________________________________________

_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l



_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l



#### pic29331.pcx has been removed from this note on November 05 2001 by 
James Shanks


Some vendors have been attempting to use the trap description in trapd.conf not a "quick hint" as it was envisioned but as a repository of information about their products, and thus have provided excessively long descriptions in the traps they add via the addtrap command.  While addtrap, or xnmtrap, will let you add them, and trapd will read them, the migration utilities are not able to deal with them.

Normally, as part of a migration from Version 5 to Version 6,  you perform a  pre-check of your trapd.conf file to see whether there are any trap definitions which have descriptions exceeding 99 words, which is more than the migration utilities can handle, because they are based on awk.  (This is discussed under step 7 of "Additional Tasks to Complete Before Starting Tivoli NetView Update Installation" in the Version 6 Installation and Configuration manual if you are interested.)  On the Version 6 CD, under the TOOLS directory is a script called "chktrapd" which you must run against your old trapd.conf file:
chktrapd <your_old_trapd.conf_file>

This will write error messages to /tmp/trapd.confchk which indicate trap  definitions which will have to be removed or edited before the nvaddtrapdconf script will work successfully.  If you like you can just truncate the excessive descriptions for now and then add them  back in manually later using xnmtrap.   That's up to you.

Hope this helps

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




bducharme@avdl.com
Sent by: owner-nv-l@tkg.com

11/05/2001 09:10 AM
Please respond to IBM NetView Discussion

       
        To:        IBM NetView Discussion <nv-l@tkg.com>
        cc:        
        Subject:        Réf. : Re: [NV-L] Event Configuration

       




I did what you said.
We now have 6.0.2.
I tried to merge and got that meassage...
(Embedded image moved to file: pic29331.pcx)

What can i do now ?

Benoit





"James Shanks" <jshanks@us.ibm.com>@tkg.com le 2001-11-02 08:03:39

Veuillez répondre à IBM NetView Discussion <nv-l@tkg.com>

Envoyé par :   owner-nv-l@tkg.com


Pour :    IBM NetView Discussion <nv-l@tkg.com>
cc :

Objet :   Re: [NV-L] Event Configuration


You don't want to replace your V6 trapd.conf with V5, though that would
work, because there are new traps in V6.
You want to do a merge.  Copy /usr/OV/conf/C/trapd.conf to the new box with
a new name, such as "trapd.conf.V5".
Then run "/usr/OV/bin/nvaddtrapdconf trapd.conf.V5" and it will merge the
two.  Make a backup copy of your V6 trapd.conf first, in case you don't
like what you get, but it should work fine.  Every trap in the V5 file
which matches one in the V6, will replace it, preserving your
customizations, and all the additional ones there will be added to the V6
file as well.

But you may want to install either 6.0.1 or 6.0.2 first and do this
nvaddtrapdconf merge procedure using the trapd.conf which is installed in
/usr/OV/newconfig/OVSNMP-RUN/trapd.conf.  Those maintenance releases add
about a 100 new traps, mainly for Cisco devices, to trapd.conf but
automatic merges only take place when you do a migration, not when you
install a patch.  So the new traps definitions are there but there are not
installed.  So you may want to merge them with the default trapd.conf in
V6, and then merge in your customizations to get the best of all.

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





                    bducharme@avdl
                   .com                 To:     nv-l@tkg.com
                   Sent by:             cc:
                   owner-nv-l@tkg       Subject:     [NV-L] Event
Configuration
                   .com


                    11/01/01 06:25
                   PM
                   Please respond
                   to IBM NetView
                   Discussion





Hi,

     We have NetView 5 installed on a Unix server.
We have installed Netview 6 installed on another Unix server.
We have many customisation of our Trap.
Is there a way to export our trap customisation ?
Or are they in a file that we can copy to the other server ?

Thanks.


________________________________________________
Benoit Ducharme
Outils de gestion, Réalisation Technologique

Assurance vie Desjardins-Laurentienne
200 rue des Commandeurs
Lévis (Québec)
G6V 6R2
(418) 838-7800 poste 4018

mailto:bducharme@avdl.com
________________________________________________

_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l



_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l




#### pic29331.pcx has been removed from this note on November 05 2001 by James Shanks




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

Archive operated by Skills 1st Ltd

See also: The NetView Web