SVN Version of the Syslog plugin

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

SVN Version of the Syslog plugin

Post by apperrault »

Hi all,
I am trying to install the Syslog plugin that is available on the SVN. I have done what i normally do to install a plugin, and i can see the Syslogs tab within Cacti. I have given the necessary permissions for the user that i am using, but when i click on the Syslogs tab, i get the following:

Code: Select all

FATAL: Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'
Here is the info from my config.php

Code: Select all

$database_type = "mysql";
$database_default = "cacti";
$database_hostname = "10.100.201.10";
$database_username = "XXXXXXXXXX";
$database_password = "XXXXXXXXXX";
$database_port = "3306";
Does anyone have any ideas? I have imported the syslog.sql into MySQL with no problems, and i am still having this problem.

thanks much

app
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

Never Mind, i fixed the problem. Apparently the new version of this plugin is a little different that the old Haloe plugin. It will log to it's own database, rather than to tables in the cacti database (unless in previous version i had set it up wrong, which is entirely possible!!!)

Once i created the new database, and the necessary permissions, i was able to properly see the plugin.

One note, the error message i was getting said that i needed to edit the include/config.php, when i think the error message should have said to edit the /plugins/syslog/include.php

Just my $0.02

thanks

app
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest