Setup issue with contact groups

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dxf1
Posts: 57
Joined: Mon Dec 07, 2009 5:16 am

Setup issue with contact groups

Post by dxf1 »

I have 3 hosts thies have been placed in a hostgroup all - ok
I have created a contact which is mamber of a contact group -ok

When I try to use the contact group for a configured host I get the following message ????

Checking services...
Checked 8 services.
Checking hosts...
Warning: Host 'o2esth02' has no default contacts or contactgroups defined!
Warning: Host 'o2estl01' has no default contacts or contactgroups defined!
Error: Contact group 'O2-Contacts' specified in host 'o2estl02' is not defined anywhere!
Checked 5 hosts.
Checking host groups...
Checked 2 host groups.

The contact group is defined but nagios does not appear to see it ???

Regards
Dave
TSCAdmin
Posts: 155
Joined: Wed Apr 14, 2010 3:00 pm
Location: India

Re: Setup issue with contact groups

Post by TSCAdmin »

Post the contents of the cfgs, please ... that'll help diagnose the problem
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Setup issue with contact groups

Post by mmestnik »

Is there any other output, say:

Code: Select all

Checking contact groups...
Checked 1 contact groups.
You can upload a configsnapshot, that's how we can see your cfg files. Though it's clear that these would not contain the contact group.

Better list the steps used to get to this point, start from when you first entered the CCM to when the config failed to load.

Try removing the contact group from the host and just getting the config to load. Here is how I'd have done it... in an extra safe, cautious manner.
1. Add a contact.
2. Apply.
3. Add a contact group /w member.
4. Apply.
5. Add a host /w contact group.
6. Apply.
dxf1
Posts: 57
Joined: Mon Dec 07, 2009 5:16 am

Re: Setup issue with contact groups

Post by dxf1 »

All etc files tared and gzipped
Regards

Dave
You do not have the required permissions to view the files attached to this post.
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Setup issue with contact groups

Post by mmestnik »

I'll look at this information, but please tell us what steps you took to get the this point and provide details about the results or each step.
dxf1
Posts: 57
Joined: Mon Dec 07, 2009 5:16 am

Re: Setup issue with contact groups

Post by dxf1 »

I have followed exactly the method that you described if I remove the contact group the aply works fine
You do not have the required permissions to view the files attached to this post.
mmestnik
Posts: 972
Joined: Mon Feb 15, 2010 2:23 pm

Re: Setup issue with contact groups

Post by mmestnik »

The etc config folder is intended to always contain a working config.
http://go.nagios.com/faq#Nagios_Core_.2 ... etc_Folder

We need a config snapshot as downloaded from the CCM.

The steps provided were not intended to correct the problem, the idea was to isolate the problem. Looks like you have done that, with the contact group defined but not used by any host then the error you originally reported should be gone.



I'll take a look at your config.
Locked