Nagios XI - Wizard & Host/Service Groups
Posted: Thu Jul 12, 2012 9:12 am
Hi,
I am currently using the 60 day demo of Nagios XI.
One issue I am finding is, when I add a host via Configure > Wizard, and add them to a host and/or service group, if i then go to Core Config Manager, I do not see the hosts or services I have added to these groups
However by using Hostgroup Overview or Servicegroup Overview from the Home page, the hosts/services I have added are clearly visible in those groups.
I am a fairly savvy Nagios Core user, so my first port of call was the following files:
/usr/local/nagios/etc/hostgroups.cfg
/usr/local/nagios/etc/servicegroups.cfg
I presume that it is these files that are read by the core config manager, which makes sense. I can see all the host groups, but when I have added hosts to groups via a Wizard, those groups have no "members"
For Example I have Group A with host A and host B
In /usr/local/nagios/etc/hosts/hosta.cfg, I can see that it is a member of host group A....but this is not reflected in hostgroups.cfg
Doing a recursive grep for HostA produces way too much output
What am I doing wrong?
Thanks!
As an aside, I have some custom scripts which I made for Nagios Core - if I put this in libexec and add the host/service/command definitions and reference this in nagios.cfg, will it work in the same manner as it did in Nagios Core and is this something which is supported on XI? Part of the reason to move to XI from Core is for support and a nice GUI for non nix guys so don't want to go under the covers too much if it voids support.
I am currently using the 60 day demo of Nagios XI.
One issue I am finding is, when I add a host via Configure > Wizard, and add them to a host and/or service group, if i then go to Core Config Manager, I do not see the hosts or services I have added to these groups
However by using Hostgroup Overview or Servicegroup Overview from the Home page, the hosts/services I have added are clearly visible in those groups.
I am a fairly savvy Nagios Core user, so my first port of call was the following files:
/usr/local/nagios/etc/hostgroups.cfg
/usr/local/nagios/etc/servicegroups.cfg
I presume that it is these files that are read by the core config manager, which makes sense. I can see all the host groups, but when I have added hosts to groups via a Wizard, those groups have no "members"
For Example I have Group A with host A and host B
In /usr/local/nagios/etc/hosts/hosta.cfg, I can see that it is a member of host group A....but this is not reflected in hostgroups.cfg
Doing a recursive grep for HostA produces way too much output
What am I doing wrong?
Thanks!
As an aside, I have some custom scripts which I made for Nagios Core - if I put this in libexec and add the host/service/command definitions and reference this in nagios.cfg, will it work in the same manner as it did in Nagios Core and is this something which is supported on XI? Part of the reason to move to XI from Core is for support and a nice GUI for non nix guys so don't want to go under the covers too much if it voids support.