Hi Guru !
Where can I find a step by step guide to install the plugin SYSLOG?
Or can somebody explain how to install it?
Install Syslog Plugin
Moderators: Developers, Moderators
Re: Install Syslog Plugin
Did you read these instructions?
http://docs.cacti.net/plugin:syslog.config
Have you attempted to install it yet?
How far did you get?
Are you stuck on a particular step?
http://docs.cacti.net/plugin:syslog.config
Have you attempted to install it yet?
How far did you get?
Are you stuck on a particular step?
Re: Install Syslog Plugin
OK, I am new to Linux, But I have nothing showing up on the syslog but local host either.
I assume that I need to install the syslog-ng plugin, but have no ideea what I'm looking at in Linux.
I have looked at the install instructions listed here, but have no idea what I need to do after reading them.
Can someone give me a step-step instructions on getting syslog running for the systems that I have mapped and running?
Thanks
-Jon
I assume that I need to install the syslog-ng plugin, but have no ideea what I'm looking at in Linux.
I have looked at the install instructions listed here, but have no idea what I need to do after reading them.
Can someone give me a step-step instructions on getting syslog running for the systems that I have mapped and running?
Thanks
-Jon
-
- Posts: 13
- Joined: Fri Oct 05, 2012 9:29 am
Re: Install Syslog Plugin
I have installed the version 1.22 syslog
requirements
a. cacti 0.8.7g
b. plugin architecture: (if you know how to install the plugin architecture this source will help)
http://blog.it4me.se/?p=131
c. plugins syslog 1.22
d. settings-v0.7-1.tgz
If you meet this condition this information you will work
1. download the syslog plugins 1.22
http://docs.cacti.net/plugin:syslog
2. download the settings plugins
http://docs.cacti.net/plugin:settings
3. Unzip the file and move the folder to the path
mv syslog /usr/share/cacti/site/plugins/
mv settings /usr/share/cacti/site/plugins/
3. syslog enable plugins by the GUI
4. install libdbd-mysql syslog-ng
5. edit nano /etc/syslog/syslog-ng.conf ( Also make sure you fill in the proper username and password for mysql )
add
@version: 3.1
#Bare minimum syslog-ng configuration
options { long_hostnames(off); flush_lines(0); use_dns(no); use_fqdn(no);
owner("root"); group("adm"); perm(0640); stats_freq(0);
bad_hostname("^gconfd$");
};
# we are using udp, and this is a collector for net traffic only
#
source s_all {
udp();
# internal();
# unix-stream("/dev/log");
# file("/proc/kmsg" log_prefix("kernel: "));
};
destination d_mysql {
sql(type(mysql)
host("localhost") username("xxxxxxxxxxxxx") password("xxxxxxxxxxxx")
database("syslog")
table("syslog_incoming")
columns("facility", "priority", "date", "time", "host", "message")
values("$FACILITY", "$PRIORITY", "$YEAR-$MONTH-$DAY", "$HOUR:$MIN:$SEC", "$HOST_FROM", "$MSG")
indexes("facility", "priority", "date", "time", "host", "msg"));
};
log {
source(s_all);
destination(d_mysql);
};
5. edit nano /usr/share/cacti/site/plugins/syslog/config.php
add
$use_cacti_db = true;
to
$use_cacti_db = false;
if (!$use_cacti_db) {
$syslogdb_type = 'mysql';
$syslogdb_default = 'syslog';
$syslogdb_hostname = 'localhost';
$syslogdb_username = 'xxxxxxxxx';
$syslogdb_password = 'xxxxxxxxx';
$syslogdb_port = 3306;
}
6. creates the database
cd /usr/share/cacti/site/plugins/syslog/
shell# mysql -u root -p
mysql> create database syslog;
mysql> use syslog;
mysql> source syslog.sql;
mysql> quit;
7. restart the syslog
/etc/init.d/syslog-ng restart
8. recalls enable sending log of your device router switch
Hope it helps
regards
requirements
a. cacti 0.8.7g
b. plugin architecture: (if you know how to install the plugin architecture this source will help)
http://blog.it4me.se/?p=131
c. plugins syslog 1.22
d. settings-v0.7-1.tgz
If you meet this condition this information you will work
1. download the syslog plugins 1.22
http://docs.cacti.net/plugin:syslog
2. download the settings plugins
http://docs.cacti.net/plugin:settings
3. Unzip the file and move the folder to the path
mv syslog /usr/share/cacti/site/plugins/
mv settings /usr/share/cacti/site/plugins/
3. syslog enable plugins by the GUI
4. install libdbd-mysql syslog-ng
5. edit nano /etc/syslog/syslog-ng.conf ( Also make sure you fill in the proper username and password for mysql )
add
@version: 3.1
#Bare minimum syslog-ng configuration
options { long_hostnames(off); flush_lines(0); use_dns(no); use_fqdn(no);
owner("root"); group("adm"); perm(0640); stats_freq(0);
bad_hostname("^gconfd$");
};
# we are using udp, and this is a collector for net traffic only
#
source s_all {
udp();
# internal();
# unix-stream("/dev/log");
# file("/proc/kmsg" log_prefix("kernel: "));
};
destination d_mysql {
sql(type(mysql)
host("localhost") username("xxxxxxxxxxxxx") password("xxxxxxxxxxxx")
database("syslog")
table("syslog_incoming")
columns("facility", "priority", "date", "time", "host", "message")
values("$FACILITY", "$PRIORITY", "$YEAR-$MONTH-$DAY", "$HOUR:$MIN:$SEC", "$HOST_FROM", "$MSG")
indexes("facility", "priority", "date", "time", "host", "msg"));
};
log {
source(s_all);
destination(d_mysql);
};
5. edit nano /usr/share/cacti/site/plugins/syslog/config.php
add
$use_cacti_db = true;
to
$use_cacti_db = false;
if (!$use_cacti_db) {
$syslogdb_type = 'mysql';
$syslogdb_default = 'syslog';
$syslogdb_hostname = 'localhost';
$syslogdb_username = 'xxxxxxxxx';
$syslogdb_password = 'xxxxxxxxx';
$syslogdb_port = 3306;
}
6. creates the database
cd /usr/share/cacti/site/plugins/syslog/
shell# mysql -u root -p
mysql> create database syslog;
mysql> use syslog;
mysql> source syslog.sql;
mysql> quit;
7. restart the syslog
/etc/init.d/syslog-ng restart
8. recalls enable sending log of your device router switch
Hope it helps
regards
Re: Install Syslog Plugin
Hi,
I am new to cacti & its plugins. I have just configured Cacti under windows 2003 server. I had been using Kiwi Syslog on the same machine. I installed the syslog and setting plugin on Cacti, & uninstalled Kiwi... but unfortunately my cacti syslog is not showing any entry... can any one please help me in this....
basic installation was performed by Cacti Windows Installer
http://myconfigure.blogspot.com/2013/02 ... ti-on.html
Thanks in advance for any input / help / guidance...
I am new to cacti & its plugins. I have just configured Cacti under windows 2003 server. I had been using Kiwi Syslog on the same machine. I installed the syslog and setting plugin on Cacti, & uninstalled Kiwi... but unfortunately my cacti syslog is not showing any entry... can any one please help me in this....
basic installation was performed by Cacti Windows Installer
http://myconfigure.blogspot.com/2013/02 ... ti-on.html
Thanks in advance for any input / help / guidance...
Who is online
Users browsing this forum: No registered users and 0 guests