Syslog

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
prince2k
Posts: 1
Joined: Sat Aug 03, 2013 9:25 am

Syslog

Post by prince2k »

Hi,

I have setup my syslog sever with many cisco switches, routers and firewalls. I have set to keep logs for 3 months. But the problem is my primary ASA is generating a huge amounts of logs per day. So I wants to remove those logs (only ASA's logs while keeping other devices logs) automatically after every 7 days. Is it possible to do this with cacti?
tylerc
Posts: 24
Joined: Tue Aug 13, 2013 10:59 pm

Re: Syslog

Post by tylerc »

Hello!

Cacti is not meant to manage your system. It is meant to report health statistics, not take actions. What you are asking Cacti to do is like trying to make a microwave wash dishes.

If you're using a Unix-based system, look into logrotate. Alternatively, you could just write a bash script that deletes that specific logfile if it's age is >=7 days, but logrotate is the better, more extensible solution here.

--Tyler
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests