SYSLOG -NG

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
joseme
Cacti User
Posts: 90
Joined: Fri May 15, 2009 9:36 am

SYSLOG -NG

Post by joseme »

Hi:
I've been running Kiwi - Syslog (windows server) and Cacti (with syslog plugin) in diferent servers , all was OK. Now I want to migrate the syslog server to Syslog-ng in a new server CentOS. I've installed Syslog-ng in my CentOS. But I dont Know how to configure it, so that it sends to my CACTI server.
CACTI Server with syslog plugin (windows server 2003)
syslog-ng (on Centos 4)

the version I installed was syslog-ng-3.0.4-1.rhel4.i386

What would be the next steps?
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Post by Linegod »

--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
cspenpen
Cacti User
Posts: 67
Joined: Tue Dec 05, 2006 5:10 am

Post by cspenpen »

joseme
Cacti User
Posts: 90
Joined: Fri May 15, 2009 9:36 am

Syslo-ng CEntos

Post by joseme »

hI:
I got my syslog-ng works in Centos( I'am receiving the logs from all my equipment), but as I tell you, my cacti is in windows 2003 server and my syslog-ng is on Centos, so my question is what should I do in Centos in order to it send th e logs to my Cacti windows 2003 Box. I've read that I can not use pipes to send to a windows machine, what woul be the line in my syslog-ng.conf?. Remenber they are two diferent servers..

thanks
tonyperez
Posts: 34
Joined: Sat Nov 05, 2005 12:43 am
Location: Guadalajara, Jalisco, Mexico

Re: Syslo-ng CEntos

Post by tonyperez »

joseme wrote:hI:
I got my syslog-ng works in Centos( I'am receiving the logs from all my equipment), but as I tell you, my cacti is in windows 2003 server and my syslog-ng is on Centos, so my question is what should I do in Centos in order to it send th e logs to my Cacti windows 2003 Box. I've read that I can not use pipes to send to a windows machine, what woul be the line in my syslog-ng.conf?. Remenber they are two diferent servers..

thanks
1. Install MySQL on the Centos Server.
2. Change the bind-address on the my.cnf from 127.0.0.1 or localhost to the ip address of the NIC server and restart MySQL. If the bind-adress line don`t exist, add the line to the my.cnf.
3. Create a user and give it privileges to the syslog DB.
4. Configure the config.php on the Windows Server for getting access to the syslog DB on the Centos Server with the user, password and ip address or hostname.

Example:

Code: Select all


$syslogdb_type     = 'mysql';
$syslogdb_default  = 'syslog';
$syslogdb_hostname = '1.1.1.1'; <---- cetos Server IP Address.
$syslogdb_username = 'syslog';
$syslogdb_password = 'syslog';

Greetings !!!
trungtano
Cacti User
Posts: 90
Joined: Fri Apr 10, 2009 1:57 am
Contact:

Plugin haloe?

Post by trungtano »

Hi all!

Do you know where can I download haloe plugin for my cacti0.8.7d. Do I need it? Or just syslog plugin ?

Thanks, best regards!
tonyperez
Posts: 34
Joined: Sat Nov 05, 2005 12:43 am
Location: Guadalajara, Jalisco, Mexico

Re: Plugin haloe?

Post by tonyperez »

trungtano wrote:Hi all!

Do you know where can I download haloe plugin for my cacti0.8.7d. Do I need it? Or just syslog plugin ?

Thanks, best regards!
Hi trungtano...

Just install the Syslog plugin and follow the install instructions (you need to install syslog-ng). You can find it here:

http://cactiusers.org/downloads/syslog.tar.gz
trungtano
Cacti User
Posts: 90
Joined: Fri Apr 10, 2009 1:57 am
Contact:

haloe

Post by trungtano »

Hi tonyperez..

That mean I don't need the haloe packet. Just syslog packet?

Thanks!
Trung
tonyperez
Posts: 34
Joined: Sat Nov 05, 2005 12:43 am
Location: Guadalajara, Jalisco, Mexico

Post by tonyperez »

Hi trungtano

Yes. Just the syslog packet.

Greetings !!!!
trungtano
Cacti User
Posts: 90
Joined: Fri Apr 10, 2009 1:57 am
Contact:

Post by trungtano »

tonyperez wrote:Hi trungtano

Yes. Just the syslog packet.

Greetings !!!!
Thanks tonyperez,

I will do it :)
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests