Page 2 of 3

Re: Nagiosxi disappear services

Posted: Fri Oct 08, 2010 4:14 am
by diegosiassb
File services CONCENI-01.cfg


###############################################################################
#
# Service configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2010-10-08 11:10:05
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
###############################################################################

define service {
host_name CONCENI-01
service_description ALIMENTAZIONI STATUS
use generic-service
servicegroups ENI AREA CLERICI
check_command check_power_fsc!sianagios
is_volatile 0
max_check_attempts 3
check_interval 10
retry_interval 1
check_period 24x7
notification_interval 480
notification_period 24x7
notification_options w,u,c,r
contact_groups admins,enicontact,eni_teps
register 1
}

define service {
host_name CONCENI-01
service_description CPU
use generic-service
servicegroups ENI AREA CLERICI
check_command check_cpu!sianagios!80!90
is_volatile 0
max_check_attempts 3
check_interval 10
retry_interval 1
check_period 24x7
notification_interval 800
notification_period 24x7
notification_options w,u,c,r

Re: Nagiosxi disappear services

Posted: Fri Oct 08, 2010 8:43 am
by diegosiassb
Now

I decided to remove the services of a server CONCENI-01 and then reload the configuration file of the server CONCENI-01with tools import
are now visible again the services do not know what changes from the first

I enclose the current screen

Re: Nagiosxi disappear services

Posted: Fri Oct 08, 2010 8:56 am
by diegosiassb
after five minute without doing anything and again disappeared services of the server con-01
Now I would not know what evidence do

Re: Nagiosxi disappear services

Posted: Fri Oct 08, 2010 9:34 am
by tonyyarusso
Just to summarize, it looks like just the servicegroup associations are being lost - the services are still there I think. I still don't know why, but perhaps that will help someone else figure it out if I don't think of something.

Re: Nagiosxi disappear services

Posted: Fri Oct 08, 2010 2:09 pm
by mmestnik
Take a look at config_id, I'm not sure what it should be, however the red error is clear. This can not be active because it belongs to another config.

Re: Nagiosxi disappear services

Posted: Mon Oct 11, 2010 12:31 am
by diegosiassb
The views of both the servicegroups hostgroups that you lose the services while remaining hosts

Thanks
Diego

Re: Nagiosxi disappear services

Posted: Mon Oct 11, 2010 10:45 am
by mmestnik
I didn't quite copy your last.

Are you renaming hosts? That's going to cause all sorts of headache and pain. Could you explain a little more?

Re: Nagiosxi disappear services

Posted: Tue Oct 12, 2010 12:49 am
by diegosiassb
I finished the configuration and everything works and is visible

After five minutes,
the services ...... example ..... check cpu ...... some host .... are no longer associated with the hostgroups and servicegroups

if you look at the pictures I posted you can see with your eyes Though the services are no longer visible if I go into the administration part I can see and edit

what I find very strange is that everything works for a short time and disappear without making changes


you say ..... watch the config_id where is it? in databese? in which table? Thanks

Since this problem is the second time ....that happens..

I thought ......... keep a copy of the basic configuration locahost only then to start from but does not include the services
only host hostgroups template contacts contactgroups
then if it's ok
servicegroups and services ...... hand one at a time

if you have other ideas ...............

I am discouraged .......if think to put it all over again without having the safety features then I worry

bye
Diego

Re: Nagiosxi disappear services

Posted: Tue Oct 12, 2010 4:52 am
by diegosiassb
Ok

after placing the configuration still the same problem the services are no longer associated with the hostgroups and servicegroups

sorry but I can not solve the problem

Re: Nagiosxi disappear services

Posted: Tue Oct 12, 2010 5:14 am
by diegosiassb
I tried this I went on servicegroups where there are no associated services.
I put some of those services that are not visible.
first I expected it to be error because it was already associated.
Second ..... the services are now associated with servicegroups but not yet visible in the view of servicegroups.
In any case, the software does not behave properly