Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat May 25, 2019 8:59 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Use the cacti syslog/eventlog feature
PostPosted: Mon May 06, 2019 9:18 pm 
Offline
Cacti User

Joined: Mon Oct 01, 2018 10:09 am
Posts: 117
Hello All,

One more question - what php file in cacti handles sending data to the cacti.log file?
I have dicovered that I can config cacti to use the system log fille for cacti information,
with a catch: the SPINE ERROR messages (i.e. DOWN device) always goes to the messages file, and so do the STATS.
But when the device comes back up - the cacti.log files contains a "NOTICE" message in the file stating the device
has RECOVERED. This message does not get sent to the system log file.

Any ideas on how I can capture this message?

I am trying to use the cacti syslog/event log feature.
I am running cacti-1.1.38 on RHEL 6.10.

I have set the syslog feature in "General" to logfile and syslog/event log
I have set the log level to Debug just for testing.

I have set the Threshold tap to use syslog.
It seems to make no difference what the settings are as
far as the "facility" or the "level"

I only get a message in the syslog for the device DOWN status.
I never get the message for RECOVERED, i.e. NOTICE message

I am using syslog-ng for the logging function,
and a filter for the cacti messages, based on the default
settings for the source of the system.

Any suggestions on how to configure this to work?

Thanks,
ewholz


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 7 guests


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