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
Setup issue with contact groups
Re: Setup issue with contact groups
Post the contents of the cfgs, please ... that'll help diagnose the problem
Re: Setup issue with contact groups
Is there any other output, say:
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.
Code: Select all
Checking contact groups...
Checked 1 contact groups.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.
Re: Setup issue with contact groups
All etc files tared and gzipped
Regards
Dave
Regards
Dave
You do not have the required permissions to view the files attached to this post.
Re: Setup issue with contact groups
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.
Re: Setup issue with contact groups
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.
Re: Setup issue with contact groups
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.
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.