nv-l

RE: Manipulate the SNMP sysLocation field?

2001-07-20 09:13:56
Subject: RE: Manipulate the SNMP sysLocation field?
From: "Scott ." <pepsiasg AT hotmail DOT com>
To: nv-l AT lists.tivoli DOT com
Date: Fri, 20 Jul 2001 08:13:56 -0500
I am already logging events from NetView into the syslog using the logger 
command. I have a local.debug syslog set up that I use. It works quite well. 
Thanks for your help. I think I have some things to try now.

Scott

>From: "James Shanks" <SHANKS AT us.tivoli DOT com>
>Reply-To: IBM NetView Discussion <nv-l AT tkg DOT com>
>To: IBM NetView Discussion <nv-l AT tkg DOT com>
>Subject: RE: [NV-L] Manipulate the SNMP sysLocation field?
>Date: Fri, 20 Jul 2001 07:52:30 -0400
>
> >>"Or even better...if I could somehow
>capture what was in that field, I could pass it to the the syslog for
>capture from the TEC syslog adapter."
>
>Well, I am still unclear about all this, but if you add a field thru
>nvdbimport, then you can view it though ovobjprint -s <selection_name>  and
>then you could use the errlogger command to send it in a message to the AIX
>syslog, but I don't see how you could get AIX to write it to the records he
>already keeps.
>
>James Shanks
>Team Leader, Level 3 Support
>Tivoli NetView for UNIX and NT
>
>
>"Scott ." <pepsiasg AT hotmail DOT com>@tkg.com on 07/19/2001 10:24:38 PM
>
>Please respond to IBM NetView Discussion <nv-l AT tkg DOT com>
>
>Sent by:  owner-nv-l AT tkg DOT com
>
>
>To:   nv-l AT tkg DOT com
>cc:
>Subject:  RE: [NV-L] Manipulate the SNMP sysLocation field?
>
>
>
>Actually, I didn't do a very good job of describing my situation. I will
>use
>the field that I create and customize, to match in a rule set and then run
>a
>script that logs events to syslog. We then have a TEC AIX syslog adapter
>that matches the format of the message and processes the events from there.
>The issue is we have so many sub-groupings, that we need more granularity
>in
>our descriptions. For example, we have several different types of Dell
>servers running Winnt 4.0 server. The servers have many different
>functions,
>and different groups that are responsible for them. If I can build or
>customize a new field, I can get more descriptive and therefore create
>different smartsets for processing. Or even better...if I could somehow
>capture what was in that field, I could pass it to the the syslog for
>capture from the TEC syslog adapter.
>
>Scott
>
>
> >From: "Davis, Donald" <donald.davis AT firstcitizens DOT com>
> >Reply-To: IBM NetView Discussion <nv-l AT tkg DOT com>
> >To: "'IBM NetView Discussion'" <nv-l AT tkg DOT com>
> >Subject: RE: [NV-L] Manipulate the SNMP sysLocation field?
> >Date: Thu, 19 Jul 2001 17:32:45 -0400
> >
> >Scott,
> >James, of course is right :)
> >
> >You can add a field to the database and make a pass/fail decision in a
> >ruleset for forwarding to TEC.
> >But, you cannot forwarding that field information to TEC, nor can you
> >modify
> >any of the existing trap variables.
> >If you want to send something special to TEC based upon what node sourced
> >the trap, read on.
> >You will need to setup custom traps in trapd configuration based on 
>"Event
> >Sources".
> >Then, have some custom variable (slot mapping) sent to TEC when a trap is
> >received from the specific node(s).
> >You can use files as lists of nodes for each special grouping (Routers,
> >Hubs, Servers, etc...)
> >I have used this to send a custom event variable to TEC to identify if 
>the
> >trap was received from a router, hub or server.
> >The event then receives special(1) processing at TEC if it was from a
> >router,
> >special(2) processing if it was from a hub, special(3) processing if it
>was
> >from a server or normal processing if it fell through.
> >
> >Let me know if you need more details.
> >Hope this helps,
> >Don Davis
> >
> >-----Original Message-----
> >From: Scott . [mailto:pepsiasg AT hotmail DOT com]
> >Sent: Thursday, July 19, 2001 2:36 PM
> >To: nv-l AT tkg DOT com
> >Subject: [NV-L] Manipulate the SNMP sysLocation field?
> >
> >
> >AIX 4.3 NetView 6.0.2
> >
> >Is there a way to add/change the value in the sysLocation field ID in the
> >NetView database, or does it HAVE to be changed in the nodes SNMP
>settings?
> >I am looking for a free form field that I can assign a decimal delimited
> >line to for sorting messages sent to TEC. Is there another field that can
> >be
> >
> >manipulated by using nvdbimport? Or is there a way to add another field 
>id
> >that I could use for this? I was looking throught the docs for anything
> >that
> >
> >would tell me if that was possible. Thanks for your time!
> >
> >Scott Bursik
> >Pepsico
> >
> >_________________________________________________________________
> >Get your FREE download of MSN Explorer at 
>http://explorer.msn.com/intl.asp
> >
> >_________________________________________________________________________
> >NV-L List information and Archives: http://www.tkg.com/nv-l
> >
> >
>------------------------------------------------------------------------------
>
> >This electronic mail and any files transmitted with it are confidential
>and
> >are intended solely for the use of individual or entity to whom they are
> >addressed. If you are not the intended recipient or the person 
>responsible
> >for delivering the electronic mail to the intended recipient, be advised
> >that you have received this electronic mail in error and that any use,
> >dissemination, forwarding, printing, or copying of this electronic mail 
>is
> >strictly prohibited. If you have received this electronic mail in error,
> >please immediately notify the sender by return mail.
> >
> >
>==============================================================================
>
> >
> >_________________________________________________________________________
> >NV-L List information and Archives: http://www.tkg.com/nv-l
>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>_________________________________________________________________________
>NV-L List information and Archives: http://www.tkg.com/nv-l
>
>
>_________________________________________________________________________
>NV-L List information and Archives: http://www.tkg.com/nv-l


_________________________________________________________________