Cacti / plugin_syslog

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

[CACTI 1.2.25 - SYSLOG latest] PHP error - variable #213

Closed anarkia1976 closed 10 months ago

anarkia1976 commented 1 year ago

Hi @TheWitness,

log error after latest patches:

2023-06-29 11:01:51 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/syslog/syslog.php[106]:syslog_messages(), /plugins/syslog/syslog.php[1751]:syslog_filter(), /plugins/syslog/syslog.php[1527]:syslog_strip_domain(), /plugins/syslog/syslog.php[1668]:CactiErrorHandler())
2023-06-29 11:01:51 - ERROR PHP WARNING in Plugin 'syslog': Undefined variable $hostnam in file: /var/www/html/cacti/plugins/syslog/syslog.php on line: 1668

thanks. stefano.

TheWitness commented 1 year ago

Get to this today. Thanks for checking Stefano!

TheWitness commented 1 year ago

I was hoping to fix it on Saturday. Now I'm on holiday for a week.

bmfmancini commented 1 year ago

@TheWitness PR https://github.com/Cacti/plugin_syslog/pull/214 should fix this

TheWitness commented 1 year ago

Merged.

TheWitness commented 10 months ago

Glad this is fixed now.