Search found 7 matches

by GMont
Mon Aug 28, 2017 6:17 am
Forum: Nagios XI
Topic: Service definition duplication by configuration files import
Replies: 7
Views: 3054

Re: Service definition duplication by configuration files im

Ok, that was my fault, I fixed it. So far, PING and Uptime do not get duplicated anymore (PING was duplicated apparently because I accidentally deleted the host_name directive from the configuration, as you pointed out). For the other services, I noticed that they were the only services specified wi...
by GMont
Thu Aug 24, 2017 7:16 am
Forum: Nagios XI
Topic: Service definition duplication by configuration files import
Replies: 7
Views: 3054

Re: Service definition duplication by configuration files im

Thanks for you reply. I think the problem is not completely clear, I'll try to clarify. An example: I have one configuration file, localhost.cfg, with this content: define host{ use linux-server host_name localhost alias localhost address 127.0.0.1 } define hostgroup{ hostgroup_name linux-servers al...
by GMont
Wed Aug 23, 2017 10:32 am
Forum: Nagios XI
Topic: Service definition duplication by configuration files import
Replies: 7
Views: 3054

Re: Service definition duplication by configuration files im

Thanks for the prompt reply. Yes, I am: [root@localhost conf.preimport]# for file in ../conf.orig/nagios/*cfg ../conf.orig/nagios/objects/*cfg; do echo $file; php /usr/local/nagiosxi/tools/xiprepimport.php $file || break; done [root@localhost conf.preimport]# mkdir /usr/local/nagios/etc/conf.preimpo...
by GMont
Wed Aug 23, 2017 8:58 am
Forum: Nagios XI
Topic: Service definition duplication by configuration files import
Replies: 7
Views: 3054

Service definition duplication by configuration files import

Hi all, I'm trying to import an existing configuration into a new installation of Nagios XI (this is a test environment with a manual install of Nagios XI over a CentOS 7 host). I noticed that, importing the same files twice or more, service definitions get duplicated. It seems that only services ar...
by GMont
Mon Sep 12, 2016 3:45 am
Forum: Open Source Nagios Projects
Topic: Nagios 4.2.0 status.cgi is really slow and uses 100% CPU
Replies: 4
Views: 3888

Re: Nagios 4.2.0 status.cgi is really slow and uses 100% CPU

Hi,
I tried Nagios 4.2.1, status.cgi loads in less than 2s.
I think we can consider this problem as fixed.

Thanks.
by GMont
Thu Sep 01, 2016 9:54 am
Forum: Open Source Nagios Projects
Topic: Nagios 4.2.0 status.cgi is really slow and uses 100% CPU
Replies: 4
Views: 3888

Re: Nagios 4.2.0 status.cgi is really slow and uses 100% CPU

Thanks for you reply.

I took the time to test both with Nagios 4.1.1 and with the maint branch from github, in both cases the loading time of status.cgi was 2s or below,
so I thinks this solves the problem. I will probably wait for 4.2.1 to come out before upgrading the production environment.
by GMont
Tue Aug 30, 2016 7:33 am
Forum: Open Source Nagios Projects
Topic: Nagios 4.2.0 status.cgi is really slow and uses 100% CPU
Replies: 4
Views: 3888

Nagios 4.2.0 status.cgi is really slow and uses 100% CPU

Hi all, I'm trying to upgrade from Nagios 3.5 to 4.2.0. The environment is this: - Virtual machine (VMware) - Red Hat Enterprise Linux 6.7 - SELinux: disabled - using gearman from Con-sol Labs repositories After cloning the Nagios 3.5 VM and compiling Nagios 4.2.0 from sources with rpmbuild I upgrad...