Page 1 of 1
Phantom relation
Posted: Fri Sep 20, 2013 12:32 pm
by BanditBBS
I think some of benhank's craziness is rubbing off on me!
I have a host template that I looked at relations for and can not figure out how/where it has a relation to service.
temp.jpg
I just went through everything I could think of and see absolutely no possible way it is related.

Re: Phantom relation
Posted: Fri Sep 20, 2013 1:13 pm
by sreinhardt
I would believe, that it is stating that the contactgroups and hostgroups, have it listed somehow. But, I'd refer to my goto way of finding things in configs, grep!!
Code: Select all
grep -Ri 'windows-server-prod' /usr/local/nagios/etc/*
Re: Phantom relation
Posted: Fri Sep 20, 2013 1:17 pm
by BanditBBS
Code: Select all
/usr/local/nagios/etc/hosttemplates.cfg: name windows-server-prod
let your confusion start
It is only listed in the creation of itself!
Re: Phantom relation
Posted: Fri Sep 20, 2013 1:18 pm
by BanditBBS
Also, I know how it is related to hostgroup and contactgroup. I am concerned as to why is lists a service!?!?!?!?!
Re: Phantom relation
Posted: Fri Sep 20, 2013 1:24 pm
by BanditBBS
Never mind, just close this thread. I deleted and recreated that service and all is well. I created it the exact same, so no clue why it was showing. it was actually showing as a relation to every host template that I ever used, very weird! Didn't feel like investigating any further, too busy with other items

Re: Phantom relation
Posted: Fri Sep 20, 2013 1:26 pm
by sreinhardt
Hey you with your logic!! Honestly, I got nothing for you, other than that services are allowed to define hostgroups, so maybe it is coming in from the all windows hostgroup?
.... and just as I reply you fixed it, cool!