syslog does not read syslog_incoming table

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
User avatar
classen
Cacti User
Posts: 116
Joined: Thu Nov 12, 2009 3:07 pm

syslog does not read syslog_incoming table

Post by classen »

I've followed the syslog installation instructions, and configured to use my existing cacti mysql db

Using phpMyAdmin I can clearly see that the syslog_incoming table is filling up with messages, but nothing is appearing in the syslog tab.

I am using an 'older' version of MySQL 5.0.77

any ideas where the disconnect might be? :(
User avatar
classen
Cacti User
Posts: 116
Joined: Thu Nov 12, 2009 3:07 pm

Re: syslog does not read syslog_incoming table

Post by classen »

no luck yet.

I just upgraded MySQL from 5.0.77 to 5.1.58

I uninstalled syslog and reinstalled it. I've repaired all tables. syslog_incoming is still receiving entries, but that's about it.
User avatar
floaty
Posts: 21
Joined: Tue Mar 06, 2007 10:27 am

Re: syslog does not read syslog_incoming table

Post by floaty »

dang! same story ... "syslog_incoming" is populated rest of the tables empty ... ???
User avatar
classen
Cacti User
Posts: 116
Joined: Thu Nov 12, 2009 3:07 pm

Re: syslog does not read syslog_incoming table

Post by classen »

/usr/bin/php is hardcoded in some of the cacti plugin files so if you have two instances of php installed (e.g. One from distro an one from you own compilation) then things get messed up. Make sure you have only a single php and if necessary delete distro version and make sym link to desired one.

see this topic for more details
User avatar
floaty
Posts: 21
Joined: Tue Mar 06, 2007 10:27 am

Re: syslog does not read syslog_incoming table

Post by floaty »

as nebulous as it is ... it worked after I initialized the database on the syslog-host again from the remote cacti-machine ...

I used the same syslog.sql file as when I build the tables directly on the syslog-host and I got an error when I was promted to process the tables on the cacti-syslog-site (something like: ...cacti/site/plugins/syslog/plugins.php not found)

?? strange !!
Attachments
Syslog Viewer.png
Syslog Viewer.png (106.57 KiB) Viewed 2625 times
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: syslog does not read syslog_incoming table

Post by TheWitness »

There is a config.php file in the syslog plugin directory. That file must be setup before you attempt to run this plugin for the first time.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
adri4ng
Posts: 7
Joined: Sat Apr 14, 2012 5:17 pm

Re: syslog does not read syslog_incoming table

Post by adri4ng »

please disregard - I've resolved my issue.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest