Cacti / plugin_syslog

Syslog Plugin for Cacti
GNU General Public License v2.0
21 stars 16 forks source link

Export table empty #92

Closed yingbaiibm closed 4 years ago

yingbaiibm commented 5 years ago

1) Go to syslog page 2) Change device filter to see remote host (IP9-111-250-152) syslog info, since remote host time is later then localhost, no info display for current timespan 3) Change timespan to able to show remote host rsyslog info 4) Do export, no info show Screen Shot 2019-06-19 at 2 40 03 PM Screen Shot 2019-06-19 at 2 41 02 PM Screen Shot 2019-06-19 at 2 50 03 PM

cacti 1.2.4 syslog 2.2 FF

cigamit commented 5 years ago

The syslog service on the client needs to set the correct timezone of the syslog server that it's forwarding to. This is more of a documentation issue than a functional issue.

cigamit commented 5 years ago

After reviewing the latest rsyslog documentation, it appears that they have removed the timezone setting. So, this will have to be handled by a design change to the syslog plugin.

TheWitness commented 4 years ago

This was effectively resolved in an update to the install documentation to use the generated date vs. the date forwarded by the client in the structure of /etc/rsyslog.d/cacti.conf.

As a result, I'm going to mark this resolved.

TheWitness commented 4 years ago

For reference, there were two commits:

https://github.com/Cacti/plugin_syslog/commit/62426cdeeaba9b25d24273eb48a86deedf80b9cb#diff-04c6e90faac2675aa89e2176d2eec7d8

and

https://github.com/Cacti/plugin_syslog/commit/2038a3eab7a29c9caac76b3cb3ecade82b02a649#diff-04c6e90faac2675aa89e2176d2eec7d8