Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Jul 23, 2017 7:48 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Syslog Removal Rule Filters issue
PostPosted: Mon Jun 11, 2012 4:06 am 
Offline
Cacti User

Joined: Mon Apr 04, 2011 10:47 am
Posts: 57
Hi Sir ,

How do i create rule for syslog message ,

using Syslog 1.22 .

I had created but it is not working , do i am doing any wrong, i had attached the screenshot of created removals rule .

pls help how the removals rule can be created.


Attachments:
syslog2.JPG
syslog2.JPG [ 88.36 KiB | Viewed 5406 times ]
Syslog1.JPG
Syslog1.JPG [ 101.46 KiB | Viewed 5406 times ]
Syslog.JPG
Syslog.JPG [ 135.48 KiB | Viewed 5406 times ]
Top
 Profile  
 
 Post subject: Re: Syslog Removal Rule Filters issue
PostPosted: Mon Jun 11, 2012 5:23 am 
Offline
Cacti User

Joined: Thu Apr 22, 2010 1:23 pm
Posts: 54
Change "String Match Type" to "Contains". That should do the trick.


Top
 Profile  
 
 Post subject: Re: Syslog Removal Rule Filters issue
PostPosted: Mon Jun 11, 2012 6:56 am 
Offline
Cacti User

Joined: Mon Apr 04, 2011 10:47 am
Posts: 57
Hi sir ,

I had change the setting as per said , but no success

Even i had change one by one String Match Type , for message removals

still i cant able to remove the messages , and the logs are coming heavy.

pls help....


Top
 Profile  
 
 Post subject: Re: Syslog Removal Rule Filters issue
PostPosted: Tue Jun 12, 2012 3:38 am 
Offline
Cacti User

Joined: Mon Apr 04, 2011 10:47 am
Posts: 57
sir pls help.


Top
 Profile  
 
 Post subject: Re: Syslog Removal Rule Filters issue
PostPosted: Fri Jun 15, 2012 4:04 am 
Offline
Cacti User

Joined: Mon Apr 04, 2011 10:47 am
Posts: 57
sir pls help


Top
 Profile  
 
 Post subject: Re: Syslog Removal Rule Filters issue
PostPosted: Fri Jun 29, 2012 1:35 am 
Offline
Cacti User

Joined: Mon Apr 04, 2011 10:47 am
Posts: 57
Hi sir ,

I had done the process as you said , but no success . pls help me how to do .
Change "String Match Type" to "Contains"


Top
 Profile  
 
 Post subject: Re: Syslog Removal Rule Filters issue
PostPosted: Wed Sep 05, 2012 4:43 am 
Offline
Cacti User

Joined: Mon Apr 04, 2011 10:47 am
Posts: 57
Hi sir,

I am getting the error will applying Syslog Removal Rule Filters

09/05/2012 02:55:02 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1064', SQL:"DELETE FROM `syslog`.`syslog_incoming` WHERE message LIKE '%'Connection from UDP'%' AND status='113''



Pls help :o


Top
 Profile  
 
 Post subject: Re: Syslog Removal Rule Filters issue
PostPosted: Tue Feb 10, 2015 11:07 am 
Offline
Cacti User

Joined: Mon Apr 04, 2011 10:47 am
Posts: 57
pls help to remove the syslog unwanted log.

i tried the Removal Rule Edit option with multiple String Match Type but its not working .after adding rule of removal then to the logs are not getting deleted from syslog.

i want help my server disk is getting full due to unwanted log of syslog.


Top
 Profile  
 
 Post subject: Re: Syslog Removal Rule Filters issue
PostPosted: Fri Feb 13, 2015 2:40 pm 
Offline
Cacti User

Joined: Mon Apr 04, 2011 10:47 am
Posts: 57
Syslog Removals problem

i am using sql string
facility='syslog' AND priority='Info' AND message='CMD'

then to the message are not deleting from syslog.

even no error in Cacti Log File

pls help.. to resolve the issue or share some trick to resolve it....


Top
 Profile  
 
 Post subject: Re: Syslog Removal Rule Filters issue
PostPosted: Sat Feb 14, 2015 12:40 am 
Offline
Developer

Joined: Thu Apr 07, 2005 3:29 pm
Posts: 2587
Location: B/CS Texas
message='CMD'

so your saying the full syslog message you are wanting to remove is "CMD" and there is no other text in the message?

_________________
CactiEZ CD


Top
 Profile  
 
 Post subject: Re: Syslog Removal Rule Filters issue
PostPosted: Thu Jul 16, 2015 7:21 am 
Offline
Cacti User

Joined: Mon Apr 04, 2011 10:47 am
Posts: 57
pls help to remove the syslog unwanted log.

i tried the Removal Rule Edit option with multiple String Match Type but its not working .after adding rule of removal then to the logs are not getting deleted from syslog.

i want help my server disk is getting full due to unwanted log of syslog.

Syslog Removals problem

i am using sql string
facility='syslog' AND priority='Info' AND message='CMD'

then to the message are not deleting from syslog.

even no error in Cacti Log File

pls help.. to resolve the issue or share some trick to resolve it....


Top
 Profile  
 
 Post subject: Re: Syslog Removal Rule Filters issue
PostPosted: Thu Jul 16, 2015 7:27 am 
Offline
Cacti User

Joined: Mon Apr 04, 2011 10:47 am
Posts: 57
i am using sql string
facility='syslog' AND priority='Info' AND message='(cacti) CMD (/usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1)'


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group