Hi all,

I'm trying to install jffnms on Ubuntu and getting there step by step :-).
JFFNMS is working, but I can't get events in the database.
I have installed syslog-ng and configured it using the example:

<syslog-ng.conf>
@version: 3.3
@include "scl.conf"

# Syslog-ng configuration file, compatible with default Debian syslogd
# installation.

# First, set some global options.
options { chain_hostnames(off); flush_lines(0); use_dns(no); use_fqdn(no);
          owner("root"); group("adm"); perm(0640); stats_freq(0);
          bad_hostname("^gconfd$");
};

########################
# Sources
########################
#

# Source for JFFNMS
source s_jffnms {
        unix-stream("/dev/log");
        internal();
        file("/proc/kmsg");
        udp();
};

########################
# Destinations
########################
#

# JFFNMS
destination jffnms_processing {
        program ("mysql -u jffnms -pmonitor jffnms < /tmp/mysql.pipe");
};

destination d_jffnms {
        pipe ("/tmp/mysql.pipe"
        template("INSERT INTO syslog (date, date_logged, host, message) 
VALUES ('$YEAR-$MONTH-$DAY $HOUR:$MIN:$SEC', NOW\(\), '$FULLHOST', '$MSG');
\n")
        template-escape(yes));
};

########################
# Filters
########################
# Here's come the filter options. With this rules, we can set which 
# message go where.

#JFFNMS
filter f_jffnms {
        facility(local6);
};

########################
# Log paths
########################

#JFFNMS
log {
        source (s_jffnms);
        destination (d_jffnms);
};

###
# Include all config files in /etc/syslog-ng/conf.d/
###
@include "/etc/syslog-ng/conf.d/"
</syslog-ng.conf>

I have configured a windows server with evtsys to send events to the jffnms 
server, but get no events in the database.

Anyone out there who knows what I'm doing wrong?

Regards,
Ruud


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to