Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Another syslog issue - is there an easy fix?

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General
Author Message
harner
Cacti User


Joined: 17 Oct 2006
Posts: 71
Location: PA, USA

PostPosted: Fri Dec 08, 2006 4:46 pm    Post subject: Another syslog issue - is there an easy fix? Reply with quote

So, here's an interesting tid bit of information for you all. In a month's time, the MySQL syslog database has gone up to 4GB, which zipped to 140MB. We were able to create a script (which is now a weekly cron job) to dump the table information and then zip it.

Anyway, here is where the "Removals" come into play. We have about 70 rules. I just realized that they only work when you create them at first.

For example, if I create a rule stating if a message containing the phrase "non spam" is made, then remove it - it will remove all of the logs with "non spam" in there.
HOWEVER, if a "new" log with the "non spam" phrase is made, it doesn't remove that. It's like we have to recreate the removal scripts. What's up with that?

Thanks.
Back to top
nahun
Cacti User


Joined: 15 Feb 2006
Posts: 92
Location: Idaho

PostPosted: Tue Jan 09, 2007 12:59 pm    Post subject: Reply with quote

There has been some problems with the removal part of the plugin. It might have been fixed with version 0.4, but I'm not sure. I fixed it once myself, but its been a long time and I never use the removal part now. Also my current cacti implementation doesn't have that fix so I wouldn't know how to do it again without a bunch of time.

The big thread for the plugin has a lot of info. I would start with page 8 (where the link puts you). But, a lot of that is for older versions. Its probably changed a lot by now.
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 946
Location: B/CS Texas

PostPosted: Thu Jan 11, 2007 9:26 pm    Post subject: Reply with quote

Are you logging directly into the syslog table? Or are you using the syslog_incoming table? I have seen a few users try to bypass the syslog_incoming table, but its where all the rules are applied.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin General All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group