Page 3 of 3

Re: Warning: Duplicate definition found for service (HELP))

Posted: Tue Jun 11, 2013 4:17 pm
by Technology_Vacation
No they are only visible under the /services directory.

Re: Warning: Duplicate definition found for service (HELP))

Posted: Tue Jun 11, 2013 4:47 pm
by sreinhardt
In your XI webUI are they listed as capital or lowercase? Please do the following and return the output to us:

Code: Select all

ll /usr/local/nagios/etc/services
mkdir /tmp/services
mv /usr/local/nagios/etc/services/* /tmp/services/
Write config files from WebUI, do not apply or verify.
ll /usr/local/nagios/etc/services
Verify configs and restart nagios from WebUI

Re: Warning: Duplicate definition found for service (HELP))

Posted: Sun Jun 16, 2013 6:28 pm
by Technology_Vacation
I have tried this step, and still the same issue..

Any other alternatives?

Re: Warning: Duplicate definition found for service (HELP))

Posted: Mon Jun 17, 2013 2:03 pm
by abrist
What was the output of Spencer's commands?

Code: Select all

ll /usr/local/nagios/etc/services
mkdir /tmp/services
mv /usr/local/nagios/etc/services/* /tmp/services/
Write config files from WebUI, do not apply or verify.
ll /usr/local/nagios/etc/services
Verify configs and restart nagios from WebUI

Re: Warning: Duplicate definition found for service (HELP))

Posted: Wed Jun 19, 2013 2:12 pm
by Technology_Vacation
Its not affecting anything, but yet again - I'm thinking long term if it might cause issues..

Re: Warning: Duplicate definition found for service (HELP))

Posted: Wed Jun 19, 2013 3:32 pm
by lmiltchev
What was the output of Spencer's commands?

Code: Select all

ll /usr/local/nagios/etc/services
mkdir /tmp/services
mv /usr/local/nagios/etc/services/* /tmp/services/
Write config files from WebUI, do not apply or verify.
ll /usr/local/nagios/etc/services
Verify configs and restart nagios from WebUI

Re: Warning: Duplicate definition found for service (HELP))

Posted: Wed Jul 10, 2013 7:55 pm
by Technology_Vacation
So i found out the problem..

Core configuration manager ----Services ---- If you have a service defined as ABC.ABC.COM and then one ABC.abc.com.

Nagios would treat them as 2 different configuration files even though they are the exact same same.

Once I updated the config name from ABC.abc.com to ABC.ABC.COM, saved and apply configurations.

The duplicates configurations files were removed..

Thank you all for your assistance, I really hope this helps someone.

Reach out to me if would like me to walk you through it.