The Threshold Alerts are Not getting Triggered.
Error:
The Threshold Alerts are Not getting Triggered.
Diagnosis:
1. Set the PHP Error Logging.
2. Then I found following Errors.
PHP Fatal error: Call to undefined function define_syslog_variables() in /srv/www/htdocs/cacti/plugins/thold/includes/settings.php on line 132
PHP Fatal error: Call to undefined function define_syslog_variables() in /srv/www/htdocs/cacti/plugins/thold/thold_functions.php on line 2022
Solution:
1. This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. So Comment the Line declaring this function.
PHP comment syntax :
Single Line Comment : // or #
Multiple Line Comment : /* .....*/
2. Once you commented these lines , Please restart web server Service (Optional).
systemctl restart httpd.service
3. Now the Alerts should be triggered.
The Threshold Alerts are Not getting Triggered.
Diagnosis:
1. Set the PHP Error Logging.
2. Then I found following Errors.
PHP Fatal error: Call to undefined function define_syslog_variables() in /srv/www/htdocs/cacti/plugins/thold/includes/settings.php on line 132
PHP Fatal error: Call to undefined function define_syslog_variables() in /srv/www/htdocs/cacti/plugins/thold/thold_functions.php on line 2022
Solution:
1. This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. So Comment the Line declaring this function.
PHP comment syntax :
Single Line Comment : // or #
Multiple Line Comment : /* .....*/
2. Once you commented these lines , Please restart web server Service (Optional).
systemctl restart httpd.service
3. Now the Alerts should be triggered.
No comments