Closed anarkia1976 closed 2 years ago
Sounds like a file system error.
Yea, this error has two legs. One in Cacti and one here. In the mean time, goto Console > Configuration > Settings > Syslog
and set the Format File. Also, note you have to be running the latest 1.2.x branch to use this. Also, the notification settings are not completely hashed out. So, some new features are not fully tested yet.
Yea, this error has two legs. One in Cacti and one here. In the mean time, goto
Console > Configuration > Settings > Syslog
and set the Format File. Also, note you have to be running the latest 1.2.x branch to use this. Also, the notification settings are not completely hashed out. So, some new features are not fully tested yet.
Hi @TheWitness i'm using always latest source of cacti and syslog plugin. i didn't see option related to Syslog --> format file:
if i revert to commit --> ea97f1469cb796c5497006a8339667d128e0777a all is ok.
thanks a lot
Oh, crap. I just committed the updated setup.php
. Update again. It should be there.
all fixed now thanks a lot.
Describe the bug
I have merged latest source from git and i have these errors in logs:
2022-03-22 08:45:31 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/syslog/syslog_process.php[214]:syslog_process_reports(), /plugins/syslog/functions.php[1876]:reports_load_format_file(), /lib/reports.php[637]:file(), CactiErrorHandler()) 2022-03-22 08:45:31 - ERROR PHP NOTICE: file(): read of 8192 bytes failed with errno=21 Is a directory in file: /var/www/html/cacti/lib/reports.php on line: 637 2022-03-22 08:45:31 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/syslog/syslog_process.php[190]:syslog_process_alerts(), /plugins/syslog/functions.php[1201]:syslog_process_alert(), /plugins/syslog/functions.php[1241]:reports_load_format_file(), /lib/reports.php[637]:file(), CactiErrorHandler()) 2022-03-22 08:45:31 - ERROR PHP NOTICE: file(): read of 8192 bytes failed with errno=21 Is a directory in file: /var/www/html/cacti/lib/reports.php on line: 637 2022-03-22 08:45:31 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/syslog/syslog_process.php[190]:syslog_process_alerts(), /plugins/syslog/functions.php[1201]:syslog_process_alert(), /plugins/syslog/functions.php[1241]:reports_load_format_file(), /lib/reports.php[637]:file(), CactiErrorHandler()) 2022-03-22 08:45:31 - ERROR PHP NOTICE: file(): read of 8192 bytes failed with errno=21 Is a directory in file: /var/www/html/cacti/lib/reports.php on line: 637 2022-03-22 08:45:31 - CMDPHP PHP ERROR NOTICE Backtrace: (/plugins/syslog/syslog_process.php[190]:syslog_process_alerts(), /plugins/syslog/functions.php[1201]:syslog_process_alert(), /plugins/syslog/functions.php[1241]:reports_load_format_file(), /lib/reports.php[637]:file(), CactiErrorHandler()) 2022-03-22 08:45:31 - ERROR PHP NOTICE: file(): read of 8192 bytes failed with errno=21 Is a directory in file: /var/www/html/cacti/lib/reports.php on line: 637
thanks a lot