Hi,
We find a problem when we create a service check.
I give you an example to understand better:
Service Check 1
Config Name: h_world
Service description: check_switch_1
CTG file name: /usr/local/nagios/etc/services/h_world.ctg
Service Check 2
Config Name: h_world
Service description: check_switch_2
CTG file name: /usr/local/nagios/etc/services/h_world.ctg
Service Check 3
Config Name: h_WORLD
Service description: check_router_1
CTG file name: /usr/local/nagios/etc/services/h_WORLD.ctg
Service Check 4
Config Name: h_WORLD
Service description: check_router_2
CTG file name: /usr/local/nagios/etc/services/h_WORLD.ctg
After I create this services if I go to nagios console, I must find the file "h_WORLD.ctg" with check_router_1 and check_router_2 services and another file "h_world.ctg" with check_switch_1 and check_switch_2 services, right ?
But, I don't know why, nagios create the file "h_WORLD.ctg" with check_router_1, check_router_2, check_switch_1 and check_switch_2 services and file "h_world.ctg" with check_router_1, check_router_2, check_switch_1 and check_switch_2 services too.
I think it doesn't diferentiate case sensitive and write the changes in both files.
So, we have a duplicate services.
Finally, I receive this when we check nagios configuration:
Warning: Duplicate definition found for service 'check_router_2' on host 'h_world' (config file '/usr/local/nagios/etc/services/h_world.cfg', starting on line 612)
I hope I explained clearly
Thanks in advance
Eric
Problem with cfg files (Config_name) in Nagios XI
Re: Problem with cfg files (Config_name) in Nagios XI
What version of XI are you running?
Former 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.
Re: Problem with cfg files (Config_name) in Nagios XI
Hi Abrist,
Here you are:
Nagios XI 2012R1.8 Copyright © 2008-2014 Nagios Enterprises, LLC.
Thanks
Here you are:
Nagios XI 2012R1.8 Copyright © 2008-2014 Nagios Enterprises, LLC.
Thanks
Re: Problem with cfg files (Config_name) in Nagios XI
There could be an issue with caps, or could be some oddness in your config (like hostgroup inheriting or the services add to each other's hosts, etc). Could you open a ticket by sending an email to [email protected]. Include your profile.zip and a link to this thread in your email.
Former 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.
Re: Problem with cfg files (Config_name) in Nagios XI
Hi Abrist,
How can I find profile.zip ?
I only find this one ----> /usr/local/nagiosxi/tmp/component-profile.zip
Thanks
How can I find profile.zip ?
I only find this one ----> /usr/local/nagiosxi/tmp/component-profile.zip
Thanks
Re: Problem with cfg files (Config_name) in Nagios XI
In the XI web interface, go to Admin -> System Profile, then click the blue download link to the right.
Former Nagios employee
Re: Problem with cfg files (Config_name) in Nagios XI
Great, go ahead and email [email protected] with a link to this thread and your profile. We will look over the profile and either give you a route to resolution or set up a time for a remote session.
Former 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.
Re: Problem with cfg files (Config_name) in Nagios XI
Hi, I send some emails but nobody answer me.
Re: Problem with cfg files (Config_name) in Nagios XI
Can you PM me the profile and the email address you sent the ticket in from? It is possible you sent it from an email that is not the official contact for your organization, so it never made it through.
Former Nagios employee