Undefined index
Posted: Mon Feb 20, 2017 1:47 pm
I hesitate to post this as I do plan on moving from Nagios XI 5.3.4 to the latest version tomorrow.
But, I am seeing this in my /var/log/httpd/ssl_error_log file. (sanitized slightly)
These were taken at different times from the log today, this morning. I do not know what triggered them, only that they imply some SQL indexes that I do not have.
Should I have those indexes created? Where in the upgrade process would that have happened. I will guess the ndo2db section.
Should I do something to create the indexes? If so, please provide some syntax.
If this will be addressed when I upgrade to Nagios XI 5.4.x tomorrow, then I may not care. I can wait until after the upgrade to add indexes, but should I.
Please advise.
Thanks
Steve B
But, I am seeing this in my /var/log/httpd/ssl_error_log file. (sanitized slightly)
Code: Select all
PHP Notice: Undefined index: id in /usr/local/nagiosxi/html/includes/components/ccm/classes/data_class.php on line 1611,
referer: https://[XI Host]/nagiosxi/includes/components/ccm/index.php?cmd=modify&type=hosttemplate&id=113&page=1&returnUrl=index.php%3Fcmd%3Dview%26type%3Dhosttemplate%26page%3D1
PHP Notice: Undefined index: idMaster in /usr/local/nagiosxi/html/includes/components/ccm/classes/data_class.php on line 1612,
referer: https://[yup the host again]/nagiosxi/includes/components/ccm/index.php?cmd=modify&type=hosttemplate&id=113&page=1&returnUrl=index.php%3Fcmd%3Dview%26type%3Dhosttemplate%26page%3D1
PHP Notice: Undefined index: permusers in /usr/local/nagiosxi/html/includes/components/actions/actions.inc.php on line 677,
referer: https://[same host]/nagiosxi/admin/components.php
Should I have those indexes created? Where in the upgrade process would that have happened. I will guess the ndo2db section.
Should I do something to create the indexes? If so, please provide some syntax.
If this will be addressed when I upgrade to Nagios XI 5.4.x tomorrow, then I may not care. I can wait until after the upgrade to add indexes, but should I.
Please advise.
Thanks
Steve B