Mass Downtime -- Hostgroups filter will not populate

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
gregbeyer
Posts: 181
Joined: Fri Sep 11, 2020 2:13 pm

Mass Downtime -- Hostgroups filter will not populate

Post by gregbeyer »

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?
massdowntime.png
You do not have the required permissions to view the files attached to this post.
sgardil
Posts: 355
Joined: Wed Aug 09, 2023 9:58 am

Re: Mass Downtime -- Hostgroups filter will not populate

Post by sgardil »

gregbeyer wrote: Thu Oct 31, 2024 8:28 am 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?

massdowntime.png
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.
gregbeyer
Posts: 181
Joined: Fri Sep 11, 2020 2:13 pm

Re: Mass Downtime -- Hostgroups filter will not populate

Post by gregbeyer »

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.
Post Reply