Syslog issue[Solved]

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
coldface
Posts: 15
Joined: Tue Oct 11, 2011 3:57 am

Syslog issue[Solved]

Post by coldface »

Hi,

Cacti:0.8.7g
PA:2.2
Syslog:1.22
While i installed syslog1.22 follow"http://docs.cacti.net/plugin:syslog.config",
there is an error"You are missing a dependency for Syslog, please install the 'Settings' plugin."
I fact i have installed settings.
Can you give some advice?
Attachments
Error.JPG
Error.JPG (22.4 KiB) Viewed 2080 times
Syslog Active.JPG
Syslog Active.JPG (6.17 KiB) Viewed 2080 times
Last edited by coldface on Tue Oct 18, 2011 8:43 pm, edited 1 time in total.
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Syslog issue

Post by TheWitness »

Install Settings 0.71. You may have to uninstall and reinstall Settings from the Plugin Management though.

TheWitness
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?
coldface
Posts: 15
Joined: Tue Oct 11, 2011 3:57 am

Re: Syslog issue

Post by coldface »

Thanks Witness.
It works now!
coldface
Posts: 15
Joined: Tue Oct 11, 2011 3:57 am

Re: Syslog issue[Solved]

Post by coldface »

:(

A problem,the Syslog plugin is OK,but cannot get any data.
"SYSTEM SYSLOG STATS:Time:0.19 Deletes:0 Incoming:0 Removes:0 XFers:0 Alerts:0 Alarms:0 Reports:0"
I have configured syslog in related devices.
Syslog/config.php use the same with cacti DB.
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Syslog issue[Solved]

Post by TheWitness »

Well, is the feed setup? Here is a link for you to follow....

http://docs.cacti.net/plugin:syslog

TheWitness
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?
coldface
Posts: 15
Joined: Tue Oct 11, 2011 3:57 am

Re: Syslog issue[Solved]

Post by coldface »

TheWitness wrote:Well, is the feed setup? Here is a link for you to follow....

http://docs.cacti.net/plugin:syslog

TheWitness
Thanks,in fact i do follow this.
There are 4 steps:
1.Install syslog and config syslog.php with database
2.Install rsyslog and rsyslog-mysql
3.Edit /etc/rsyslog.conf
4./etc/init.d/rsyslogd
But still no data.
Anything else should i check?
Appreciate.
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Syslog issue[Solved]

Post by TheWitness »

Yes, keep working with rsyslog until you have confirmed that it is properly inserting records into the syslog_incoming table. Use google. It's your friend in this case. You have to finish this on your own. It's a trivial Linux Admin activity that unless you come up to speed with, will impede you on much more complicated, yet simple for a Linux admin, daily activities.
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?
joseme
Cacti User
Posts: 90
Joined: Fri May 15, 2009 9:36 am

Re: Syslog issue[Solved]

Post by joseme »

Hi:
First of all you must check if you are getting logs from your equipment (routers or your own Cacti server), for example in CentOS : tail -f /var/logs/messages.
Checking the firewall (open TCP or UDP port ).
If all of this is working, then you must check rsyslog.conf...
coldface
Posts: 15
Joined: Tue Oct 11, 2011 3:57 am

Re: Syslog issue[Solved]

Post by coldface »

:cry:
Thanks for your advice.
I use google ,but nothing help found.
Is there any command can do in Linux to check if can get log?(it's like snmpwalk.
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Syslog issue[Solved]

Post by TheWitness »

True understand starts when we discover how little we truly understand. Stick with it and good luck.
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest