I had a quick look at the contacts.cfg file, and it shows me a possible source of the problem: large amount of host groups (163) and service groups (143) associated with various contacts. I have many groups that are eg about Servers, but for every site I create a separate group. So I have 9 hostgroups for Servers, 9 for Switches, etc.
Stepping back a bit, why are there so many host groups and service groups? Well, I have different sites, but they have local administrators. So I need to have a good separation in the hosts and services for every site. That's why I have so many groups. Every site thus has a full hierarchy tree, but this means I have to maintain several of these trees here on the top. A nice feature would be to have another property on each host: site or company. And the option to link this to a user. Would make it much easier for me :) What would "site" property look like? Does site == slave? Currently, role selection is via host group in hierarchy UNION slave selection. Would UNION keyword selection help (could then have a keyword = services on a site)? Sit does indeed come close to slave, but not for all. Some sites are running 2 slaves, some only 1, some have a local cluster. I'm not an SQL guru, so I'm not sure what you mean with the UNION statement. If I'm correct you mean I can use a keyword to point to a site? If so, then I would like to see the keyword linked to a host group too. Does this take > 6 minutes? Nope: nag...@node5:~$ time /usr/local/nagios/bin/rc.opsview check Checking configuration for /usr/local/nagios/etc/nagios.cfg... okay real 2m16.410s user 2m11.240s sys 0m1.090s Just to let you know that I've reproduced the problem and Nagios stalls in the conf.d directory. Must be a bug somewhere in Nagios for reading subdirectories. Haven't had a chance to look at this yet, but will try and get this into 3.7.1. Nice. I'll update as soon as possible to test it. Toni
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
