Hi All,
I was wondering if someone could help with the syslog-ng intergration.
For some reason not all my switches seem to be getting logs even though the syslogs are getting sent to the observium server.
Below is the syslog-ng config.
## Observium Syslog-ng config
chain_hostnames(0);
keep_hostname(yes);
use_dns(no);
## Observium Syslog-ng config
## Observium Syslog-ng config
source s_net {
udp(ip(0.0.0.0) port(5544));
udp(ip(0.0.0.0) port(514));
};
destination d_observium {
program("/opt/observium/syslog.php" template ("$HOST||$FACILITY||$PRIORITY||$LEVEL||$TAG||$YEAR-$MONTH-$DAY $HOUR:$MIN:$SEC||$MSG||$PROGRAM\n") template-escape(yes));
file("/var/log/observium");
};
log {
source(s_net);
destination(d_observium);
};
## Observium Syslog-ng config
As you can see I have a file syslog to show that the logs are coming in.
What parameters does observium need to log a syslog message against a device.
Randy Coburn