from the GUI
Administer -> Server Setup -> Configure -> Set options for Daemons ->
set options for event and trap processing daemons -> Set option for trapd
Then just put the size you want in the "Maximum size in Kilobytes" window.
Bill
-----Original Message-----
From: Julie V Opheim [mailto:julie.v.opheim@aexp.com]
Sent: Thursday, July 18, 2002 12:03 PM
To: Barr, Scott
Cc: nv-l
Subject: RE: [nv-l] TRAPD.LOG - archival
My understanding is that there is a "switch" or option in NetView which lets
you tell the trapd.log file to roll to a trapd.log.old file at a specified
filesize or time of day. (I don't know where as it was put in place before
my
time and it works, so I haven't taken the time to look for it).
We have a script that reads in the trapd.log.old file, sorts the data by
date/time and creates separates files for each day. Then we have a 2nd
script
that looks for these daily trapd.log.<date> files and if they are more than
10
days old, it zips them up and moves them to a filesystem that we have space
allocated for such archival data, it then deletes them after they are four
months old.
We then created a website that allows our NOC people to view or search any
of
these unzipped trapd files.
From: "Barr, Scott" <Scott_Barr@csgsystems.com> on 07/18/2002 12:31 PM EST
To: nv-l <nv-l@lists.tivoli.com>
cc:
Subject: RE: [nv-l] TRAPD.LOG - archival
You are on track with everything here. I don't really care about the
interval,
it can be hours, days or weeks, I just want it to roll to an archival file
when
it attempts to wrap to the beginning after having reached maximum size. I'll
see if anyone else has any suggestions.
-----Original Message-----
From: Allison, Jason (JALLISON) [mailto:JALLISON@arinc.com]
Sent: Thursday, July 18, 2002 11:09 AM
To: 'nv-l'
Subject: RE: [nv-l] TRAPD.LOG - archival
I think the problem you will run into is Netview continues to write to the
same log file. My recommendation would be to determine you 'archival'
needs: hourly, daily, weekly; traps 1, 2, 3, 6, 899, etc; etc. Then write
a simple script to extract your needed information, compress and viola.
Have that script run by crontab so you have a date/time reference.
Now, if you dont need to archive at all by date, just copy off a version of
the file at a specified time frame.
If you are worried about a simple syslog file, this is how my Admin group
handles it:
rm -f /tmp/syslog.out
touch /tmp/syslog.out
refresh -s syslogd
I hope I at least answered you question by saying I am unaware of any
Netview specific mechanisims.
Jason Allison
Principal Engineer
ARINC Incorporated
Office: (410) 266-2006
FAX: (410) 573-3026
-----Original Message-----
From: Barr, Scott [mailto:Scott_Barr@csgsystems.com]
Sent: Thursday, July 18, 2002 11:53 AM
To: nv-l
Subject: [nv-l] TRAPD.LOG - archival
I am looking for the best way to maintain my trapd.log - I see there is an
option for a "maintenance" script server setup. I want to keep several
iterations of the log so history is available further back then whats in the
current trapd.log. Any recommendations? The problem is Cisco (yah, go
figure) sending in "Syslog" traps for EVERYTHING (content switches,
firewalls, routers etc.) - I have no easy way to keep them out of the log (I
can't filter syslog traps I need some of them but not all of them in the
log)
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
|