There were no errors during the installation, but afterwards the 'Database Backend' item in XI System Component Status in the GUI displayed the red error.
I checked the forum and found this post.
Commenting out the following code in /usr/local/nagiosxi/cron/sysstat.php solved the issue.
Code: Select all
# # Check if we are on a systemctl or not and if we are checking ndo2db
# if (file_exists('/usr/lib/systemd')) {
# if ($darr["daemon"] == 'ndo2db') {
# $cmdline = sprintf("systemctl status %s", $darr["daemon"]);
# }
# }
- what harm does it to remove this part from sysstat.php ?
For information, the md5sum of our sysstat.php is b6f16324d4dfd0a7156f3cf31db798b2.