nv-l
[Top] [All Lists]

[NV-L] SNMP Logging - Oddity

To: "Tivoli NetView Discussions" <nv-l@lists.ca.ibm.com>
Subject: [NV-L] SNMP Logging - Oddity
From: "Davis, Donald" <donald.davis@firstcitizens.com>
Date: Fri, 9 Mar 2007 14:59:47 -0500
Delivery-date: Fri, 09 Mar 2007 20:07:20 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
List-help: <mailto:nv-l-request@lists.ca.ibm.com?subject=help>
List-id: Tivoli NetView Discussions <nv-l.lists.ca.ibm.com>
List-post: <mailto:nv-l@lists.ca.ibm.com>
List-subscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=subscribe>
List-unsubscribe: <http://lists.ca.ibm.com/mailman/listinfo/nv-l>, <mailto:nv-l-request@lists.ca.ibm.com?subject=unsubscribe>
Reply-to: Tivoli NetView Discussions <nv-l@lists.ca.ibm.com>
Sender: nv-l-bounces@lists.ca.ibm.com
Thread-index: AcdihX0z32T5OSI4RfeihMWHDUrLwA==
Thread-topic: SNMP Logging - Oddity
While we are on the subject of SNMP oddities.
This is NOT a NetView problem, but, I thought All on AIX would be interested in this one.
I discovered this one when I rebooted my NetView server for the DST "TZ" environment variable change needed for this weekend.
I am running on AIX 5.2-ML06 and am not able to apply all the patches to AIX required for DST.
 
I had turned SNMP logging on at one time to try to diagnose a problem with the following settings :
logging                file=/trace/snmpd.log         enabled
logging                size=0                          level=3
When I was finished, I simply changed enabled to disabled, mistakenly thinking this would turn logging off.
logging                file=/trace/snmpd.log         disabled
logging                size=0                          level=3
 
Changing enabled to disabled stops writing the data to the file but does NOT stop logging.
I rebooted the server with a terminal (Cyclades Terminal Server) connected to tty0.
When the server came up to the Login: prompt I discovered that all of the SNMP traps being received by NetView were being spewed to the console port.  It took me a while to figure out what was happening. I blindly typed stopsrc -s snmpd and the spewing stopped. When I restarted SNMP the spewing started again. To stop the incoming traps from being written to the console, logging must be commented out completely like this.
 
#logging                file=/trace/snmpd.log         enabled
#logging                size=0                          level=3
Hope this helps someone prevent a little grief. 
I was in panic mode for a few minutes.
 
Regards.
Don Davis

 

------------------------------------------------------------------------------
Call 1.888.FC DIRECT (1.888.323.4732) or visit us on the
web at firstcitizens.com today to take advantage of our 
great products and services. 

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.
--------------------
First Citizens Bank - Helping our customers achieve a
lifetime of success.  Visit us on the web at firstcitizens.com - Member FDIC
==============================================================================

_______________________________________________
NV-L mailing list
NV-L@lists.ca.ibm.com
Unsubscribe:NV-L-leave@lists.ca.ibm.com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web