Hi,
My question is related to bug 231. I'm having the same problem as described but using the latest 3.0.2 version of NagiosQL.
www.nagiosql.org/_mantis/view.php?id=231
Basically, when you have more then one domain, services are exported cross-domain. Example:
I have Domain1 with Service1 and Service2
I have Domain2 with Service1 and Service2
When I export Domain1 configuration I get the following services in the files: Service1, Service1, Service2 and Service2. Shouldn't I only have one Service1 and one Service2?
Same thing for Domain2, I get all 4 services...
This cause the following error in Nagios, as you can see with the "CPU usage" service.
[1240882148] Warning: Duplicate definition found for service 'CPU usage' on host 'nagios' (config file '/opt/nagios/etc/services/NRPE.cfg', starting on line 30)
[1240882148] Warning: Duplicate definition found for service 'CPU usage' on host 'nagios' (config file '/opt/nagios/etc/services/NRPE.cfg', starting on line 14)
Can someone let me know if it is normal behavior? If not, is there plan to fix this in 3.0.3 or can you provide a patch?
I am using:
NagiosQL 3.0.2
Nagios 3.0.6 (compiled for i386)
CentOS 5.3 x86_64
PHP 5.1.6 (standard RPM from CentOS)
Apache 2.2.3 (standard RPM from CentOS)
MySQL 5.0.45 (standard RPM from CentOS)
Thank you very much,
Jean-Philippe