I'm trying to select hosts by hostgroup to put a Mass Downtime in, but the hostgroup filter will not popluate. Hosts will, but I have 600+ nodes to put in DT, picking in the list doesn't scale. What's wrong the MDT?
Mass Downtime -- Hostgroups filter will not populate
Mass Downtime -- Hostgroups filter will not populate
You do not have the required permissions to view the files attached to this post.
Re: Mass Downtime -- Hostgroups filter will not populate
Hm that is weird, from the screen cap you showed it is acting like there is no host groups on your system. What version of XI are you on and could you check your /usr/local/nagios/etc/hostgroups.cfg to make sure that the host groups are defined in there? Also can you check your php logs for any errors that may be showing? The logs would be in /var/log/php-fpm/www-error.log for rhel based systems or /var/log/apache2/error.log for others.
Re: Mass Downtime -- Hostgroups filter will not populate
I'm on R1.3. Yes /usr/local/nagios/etc/hostgroups.cfg shows all of my hostgroups.
In /var/log/php-fpm/www-error.log, tons of these:
[31-Oct-2024 10:57:41] WARNING: [pool www] child 4098550 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type bool in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 91"
[31-Oct-2024 10:57:41] WARNING: [pool www] child 4098550 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type bool in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 92"
[31-Oct-2024 10:57:41] WARNING: [pool www] child 4098550 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type bool in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 93"
[31-Oct-2024 10:57:41] WARNING: [pool www] child 3336533 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type bool in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 91"
[31-Oct-2024 10:57:41] WARNING: [pool www] child 3336533 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type bool in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 92"
[31-Oct-2024 10:57:41] WARNING: [pool www] child 3336533 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type bool in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 93"
[31-Oct-2024 10:58:38] WARNING: [pool www] child 3550854 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type bool in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 91"
[31-Oct-2024 10:58:38] WARNING: [pool www] child 3550854 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type bool in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 92"
So I was able to get hostgroups to populate by clearing all history from my browser, and starting Nagios XI terminal all over again. In the middle of a crisis, PAIN in the butt, and unacceptable. Also a problem with Scheduled Downtime, but that's for a separate thread. XI disappoints yet again.
In /var/log/php-fpm/www-error.log, tons of these:
[31-Oct-2024 10:57:41] WARNING: [pool www] child 4098550 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type bool in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 91"
[31-Oct-2024 10:57:41] WARNING: [pool www] child 4098550 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type bool in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 92"
[31-Oct-2024 10:57:41] WARNING: [pool www] child 4098550 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type bool in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 93"
[31-Oct-2024 10:57:41] WARNING: [pool www] child 3336533 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type bool in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 91"
[31-Oct-2024 10:57:41] WARNING: [pool www] child 3336533 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type bool in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 92"
[31-Oct-2024 10:57:41] WARNING: [pool www] child 3336533 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type bool in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 93"
[31-Oct-2024 10:58:38] WARNING: [pool www] child 3550854 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type bool in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 91"
[31-Oct-2024 10:58:38] WARNING: [pool www] child 3550854 said into stderr: "NOTICE: PHP message: PHP Warning: Trying to access array offset on value of type bool in /usr/local/nagiosxi/html/includes/utils-status.inc.php on line 92"
So I was able to get hostgroups to populate by clearing all history from my browser, and starting Nagios XI terminal all over again. In the middle of a crisis, PAIN in the butt, and unacceptable. Also a problem with Scheduled Downtime, but that's for a separate thread. XI disappoints yet again.