Good afternoon to you all
I need your help
I´ve installed syslog-ng and it´s cacti plugin and it´s working fine, except for it´s name resolution.
For some reason it resolves some names, and doesn´t resolve others. I´m able to ping my hosts by their names without any problem, and I´ve set use_dns(yes) in syslog-ng.conf
I´ve done nslookup, and everything´s as it should.
Does anybody have any idea why syslog (or cacti) is resolving only some of my hosts names?
Any help is very apreciated.
Thkx
(SOLVED) Syslog NG Cacti Plugin - DNS bug
Moderators: Developers, Moderators
(SOLVED) Syslog NG Cacti Plugin - DNS bug
Last edited by zarahel on Mon May 19, 2008 11:55 am, edited 2 times in total.
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yes, this is a syslog-ng configuration issue. Please google it. I don't have the information off hand, or do I. Hold on...checking...checking...
Edit:
/etc/syslog-ng/syslog-ng.conf
Look for
Do the obvious. Then
TheWitness
Edit:
/etc/syslog-ng/syslog-ng.conf
Look for
Code: Select all
options {
sync (0);
time_reopen (10);
log_fifo_size (1000);
long_hostnames (off);
use_dns (yes);
use_fqdn (no);
create_dirs (no);
keep_hostname (yes);
};
Code: Select all
service syslog-ng restart
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?
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?
Ok, I figured out the problem.
The problem wasn´t in my syslog-ng, but in my DNS Server: syslog-ng does not resolve names of hosts set in reverse lookup zones.
If you have hosts in foward lookup zones it resolves the names with no problem, but if they are in reverse lookup zone, it only shows you the IP.
Solved.
The problem wasn´t in my syslog-ng, but in my DNS Server: syslog-ng does not resolve names of hosts set in reverse lookup zones.
If you have hosts in foward lookup zones it resolves the names with no problem, but if they are in reverse lookup zone, it only shows you the IP.
Solved.
Who is online
Users browsing this forum: No registered users and 1 guest