Warning: Duplicate definition found for service (HELP))
-
Technology_Vacation
- Posts: 22
- Joined: Thu Mar 21, 2013 9:07 am
Re: Warning: Duplicate definition found for service (HELP))
No they are only visible under the /services directory.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Warning: Duplicate definition found for service (HELP))
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 WebUINagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
-
Technology_Vacation
- Posts: 22
- Joined: Thu Mar 21, 2013 9:07 am
Re: Warning: Duplicate definition found for service (HELP))
I have tried this step, and still the same issue..
Any other alternatives?
Any other alternatives?
Re: Warning: Duplicate definition found for service (HELP))
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 WebUIFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
Technology_Vacation
- Posts: 22
- Joined: Thu Mar 21, 2013 9:07 am
Re: Warning: Duplicate definition found for service (HELP))
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))
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 WebUIBe sure to check out our Knowledgebase for helpful articles and solutions!
-
Technology_Vacation
- Posts: 22
- Joined: Thu Mar 21, 2013 9:07 am
Re: Warning: Duplicate definition found for service (HELP))
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.
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.