NagiosQL bug

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

NagiosQL bug

Post by arnab.roy »

Hi All,

I have potential issue, where if I make a hostgroup(say abcd) a member of another hostgroup(say bcdf) the configuration errors and gives an unrelated error like this Could not expand members specified in hostgroup (config file '/usr/local/nagios/etc/hostgroups.cfg', starting on line 14) .

Can you guys quickly have a look what might be causing this, this is pretty urgent.

I am running r1.7
Many Thanks

Arnab
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: NagiosQL bug

Post by mguthrie »

Can you click the "Download" button the hostgroups page and show the config that it's generating?

I've seen that error when it prints a "members" field, with no values afterwards.
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: NagiosQL bug

Post by arnab.roy »

Hi Mike,

You are right it seems like if a hostgroup doesnt have a member i.e. no hosts attached to it and you try and make an empty hostgroup a member of another empty hostgroup it flips out , should it behave this way in core nagios I remember being able to do this!

Cheers
Arnab
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: NagiosQL bug

Post by mguthrie »

It's actually the Nagios Core verification that's failing at that stage. I'm wondering if in Core 3.2+ you're not able to do this...
Locked