uncomment line (in syslog.php): //logfile($line);
than restart rsyslog and check observium.log have any syslog entries. If no one entry logged, something wrong in your syslog setting.
If entries logged, check hostnames or IPs. For IP check that is in the database: http://<observium>/search/search=ipv4/ For hostnames also check that is database (as hostname or sysname): http://<observium>/devices/
P.S. I use rsyslog with observium (on ubuntu 12.04) without problems. :)
On 30.07.2013 15:26, Wijdan Mohamed wrote:
Already done!
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Peter Childs Sent: Tuesday, July 30, 2013 2:12 PM To: Observium Network Observation System Subject: Re: [Observium] Sensors & syslog Questions
$config['enable_syslog'] ?
On 30/07/13 8:19 PM, "Wijdan Mohamed" w.mohamed@ebs-sd.com wrote:
Regarding sensors, I have installed lm-sensors and freeipmi. Unfortunately, lm-sensros didn't work as my kernel needs to be recompiled to load the core-temp modules into it. For ipmi , the command ipmi-sensors displays all the sensors very well, but the ipmitool command generates the error (ipmi_sdr_cache_create:ipmi internal error). I guess both errors can be fixed by more digging, but I need to know which one does observium work with so as to fix it. And why it doesn't appear in the health drop down menu.
For the syslog, I enables remote log sending using port 514, by uncommenting #$ModLoad imudp #$UDPServerRun 514 From the config file, added the following file : 30-observium.conf to /etc/rsyslog.d/ to allow it send info to observium with the following contents : #--------------------------------------------------------- #send remote logs to observium
$template
observium,"%fromhost%||%syslogfacility%||%syslogpriority%||%syslogsever ity %||%syslogtag%||%$year%-%$month%-%$day% %timereported:8:25%||%msg%||%programname%\n " $ModLoad omprog $ActionOMProgBinary /opt/observium/syslog.php
:source, !isequal, "stat" :omprog:;observium
& ~ #---------------------------------------------------------
started the syslog service , but still no luck!
-----Original Message----- From: observium [mailto:observium-bounces@observium.org] On Behalf Of Tracy Phillips Sent: Tuesday, July 30, 2013 12:43 PM To: observium@observium.org Subject: Re: [Observium] Sensors & syslog Questions
On 07/30/2013 5:25 am, Wijdan Mohamed wrote:
RHEL). What am I missing exactly?
Hi,
What exactly have you done to troubleshoot it? What succeeded and what failed?
Tracy _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium