nv-l
[Top] [All Lists]

[nv-l] RE:var file system & snmpd.log

To: <nv-l@lists.tivoli.com>
Subject: [nv-l] RE:var file system & snmpd.log
From: "Francois Le Hir/Quebec/IBM" <flehir@ca.ibm.com>
Date: Thu, 6 Jun 2002 15:07:57 -0400
Cc: "Judy Stobby" <jstobby@co.el-dorado.ca.us>
Judy,

the relationship between Netview and /var could be all the logs in
/var/log. Is your machine also recieving also recieving the syslog from the
devices on your network ?

you can delete any log in /var/log (including snmp.log) however, for the
loging to restart you have too
- create the destination file for the syslog as configured in
/etc/syslog.conf  (use the command touch)
- make sure the file is writable by the syslogd daemon
- restart the syslogd daemon so that the login restart. (or refresh of the
process)

one easy way to reset a log file without stoping the daemon is also to
truncate the file with a command like "echo > file"

Good luck,

Francois Le Hir
Network Projects & Consulting Services
IBM Global Services
Phone: (514) 205 6695

Date: Wed, 5 Jun 2002 14:40:35 -0700
To: <nv-l@lists.tivoli.com>
From: "Judy Stobby" <jstobby@co.el-dorado.ca.us>
Subject: /var file system & snmpd.log
Message-ID: <009c01c20cd9$a06d4f30$788313ac@is31223>

Hi,

I'm not sure if the problems I've seen lately are related to netview or
aix, but maybe someone has a clue as to what happened.  Our system is
running netview 7.1.1 on aix 4.3.3 ML9.  One morning last week netmon
daemon stopped running with a message to restart it.  I looked at the
file systems and /var and /usr/OV were at 100%.  I deleted the log files
in /usr/OV/log and increased the file systems, and restarted netmon.
Then the next day /var was again at 100%, and netmon daemon stopped
again.  I increased the file system a little more which took care of it,
but I would like to know why the /var file system filled up.  What is
the relationship between Netview and /var?  I turned on netmon tracing
with netmon -M -1, and then looked at the trace files.  I saw a lot of
querying HP Jet Direct cards, with public still as the community, but
nothing that seemed to be failing.

I had turned on SNMP logging (level 3) because the event log was filling
up with authentication errors, so I tired to look at the snmpd.log,
which gave me the error too large to fit in file system.  So I move the
snmpd.log to /home and change the location is snmpd.conf, also changing
the logging back to level 0.
Since this move, there have not been any entries in the snmpd.log.  I
stopped and restart the daemon thinking this would make the snmpd.conf
file be read again.  But it is still not logging any entries.  I have
not found any documentation regarding moving the location of this file
along with any special commands to restart logging.  The file is full of
entries that go way back, is it possible to use the editor to delete old
entries out of this file?

Thanks for any tips anyone can share.


<Prev in Thread] Current Thread [Next in Thread>
  • [nv-l] RE:var file system & snmpd.log, Francois Le Hir/Quebec/IBM <=

Archive operated by Skills 1st Ltd

See also: The NetView Web