Page 1 of 3
Nagiosxi disappear services
Posted: Thu Oct 07, 2010 6:31 am
by diegosiassb
I have a serious problem following
insert all hosts
insert all services ecc
everything ok for some time
the resources then disappear services
this problem is extremely serious because it allows the use of nagios in my company
Besides, if I open the nagios core point if the nagios nagioxi and not everything works as a web page
I hope there is a solution or explanation to the problem because my superiors are waiting to see the nagiosxi bought the licensed function
Sorry for the firm but is a big problem for me
Thanks
Diego
Re: Nagiosxi disappear services
Posted: Thu Oct 07, 2010 9:46 am
by tonyyarusso
I don't really understand what you're saying, but hopefully we can clarify a bit:
the resources then disappear services
So, are you saying the services vanish at random? Both from the status views and the Core Config Manager?
Besides, if I open the nagios core point if the nagios nagioxi and not everything works as a web page
Are you saying the pages are returning HTTP errors?
Can you provide some logs and/or screenshots to better explain what you're experiencing?
Re: Nagiosxi disappear services
Posted: Thu Oct 07, 2010 10:26 am
by mmestnik
How s this insert performed? If you alter the Nagios Core config files directly on a NagiosXI install, then this will happen.
Re: Nagiosxi disappear services
Posted: Fri Oct 08, 2010 12:42 am
by diegosiassb
Steps had installed OS RH 5.5
Created directory / tmp / xi
Located in the directory fiel nagiosxi
unzip tar nagiosxi xi-2009r1.3e.tar
Installation all ok
After installation by the book I checked out the webpage to reach localhost with his services
I have used the tool php pre-import to import my configuration files command, miscommand, host, hostgroups, contacts, contacgroups, services, servicesgroups, timeperiod, template
After
I imported the modified files with the web page
I have checked all the configuration was visible all ok
then I continued the important plugins with ssh
delete localhosts's services
Re: Nagiosxi disappear services
Posted: Fri Oct 08, 2010 12:45 am
by diegosiassb
At first I had all the services then I found this situation
Re: Nagiosxi disappear services
Posted: Fri Oct 08, 2010 12:51 am
by diegosiassb
In summary the nagiosxi see all services 2731
If I search some of these I can not see them
In the nagios core servicegroups are all visible
Thanks
Diego
Re: Nagiosxi disappear services
Posted: Fri Oct 08, 2010 1:05 am
by diegosiassb
my server nagios
[root@nagiosxi2 services]# pwd
/usr/local/nagios/etc/services
[root@nagiosxi2 services]# ls -ltr CONCE*
-rw-r--r-- 1 apache nagios 11869 Oct 8 07:52 CONCENI-02.cfg
-rw-r--r-- 1 apache nagios 11943 Oct 8 07:52 CONCENI-01-DR.cfg
-rw-r--r-- 1 apache nagios 12341 Oct 8 07:52 CONCENI-01.cfg
-rw-r--r-- 1 apache nagios 12839 Oct 8 07:52 CONCENI-04.cfg
-rw-r--r-- 1 apache nagios 12853 Oct 8 07:52 CONCENI-03-DR.cfg
-rw-r--r-- 1 apache nagios 11869 Oct 8 07:52 CONCENI-03.cfg
-rw-r--r-- 1 apache nagios 12921 Oct 8 07:52 CONCENI-02-DR.cfg
-rw-r--r-- 1 apache nagios 10976 Oct 8 07:52 CONCENI-05-DR.cfg
-rw-r--r-- 1 apache nagios 11391 Oct 8 07:52 CONCENI-05.cfg
-rw-r--r-- 1 apache nagios 11945 Oct 8 07:52 CONCENI-04-DR.cfg
[root@nagiosxi2 services]#
example
There are files as an attachment but are not visible on the Web
Files
Re: Nagiosxi disappear services
Posted: Fri Oct 08, 2010 1:15 am
by diegosiassb
THAT THE CURRENT SITUATION
Re: Nagiosxi disappear services
Posted: Fri Oct 08, 2010 3:49 am
by diegosiassb
if I make a selcet databese nagiosql mysql> select * from tbl_service where config_name='CONCENI-01' limit 6;
There are services for server CONCENI
So I get this result means that the data are I just do not understand maybe you lose in web
| id | config_name | host_name | host_name_tploptions | hostgroup_name | hostgroup_name_tploptions | service_description | display_name | servicegroups | servicegroups_tploptions | use_template | use_template_tploptions | check_command | is_volatile | initial_state | max_check_attempts | check_interval | retry_interval | active_checks_enabled | passive_checks_enabled | check_period | parallelize_check | obsess_over_service | check_freshness | freshness_threshold | event_handler | event_handler_enabled | low_flap_threshold | high_flap_threshold | flap_detection_enabled | flap_detection_options | process_perf_data | retain_status_information | retain_nonstatus_information | notification_interval | first_notification_delay | notification_period | notification_options | notifications_enabled | contacts | contacts_tploptions | contact_groups | contact_groups_tploptions | stalking_options | notes | notes_url | action_url | icon_image | icon_image_alt | use_variables | name | active | last_modified | access_rights | config_id |
+-----+-------------+-----------+----------------------+----------------+---------------------------+---------------------+--------------+---------------+--------------------------+--------------+-------------------------+------------------------------+-------------+---------------+--------------------+----------------+----------------+-----------------------+----------------+------------+------------+----------------+---------------+------+--------+---------------------+---------------+-----------+
| 984 | CONCENI-01 | 1 | 2 | 0 | 2 | CPU | | 1 | 2 | 1 | 2 | 66!sianagios!80!90 | 0 | | 3 | 10 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | NULL | 0 | 2 | NULL | NULL | 2 | | 2 | 2 | 2 | 800 | NULL | 2 | w,u,c,r | 2 | 0 | 2 | 1 | 2 | | | | | | | 0 | | 1 | 2010-10-07 11:25:25 | NULL | 1 |
| 985 | CONCENI-01 | 1 | 2 | 0 | 2 | PING | | 1 | 2 | 1 | 2 | 82 | 0 | | 3 | 2 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | NULL | 0 | 2 | NULL | NULL | 2 | | 2 | 2 | 2 | 480 | NULL | 2 | w,u,c,r | 2 | 0 | 2 | 1 | 2 | | | | | | | 0 | | 1 | 2010-10-07 11:25:25 | NULL | 1 |
| 986 | CONCENI-01 | 1 | 2 | 0 | 2 | SSH | | 1 | 2 | 1 | 2 | 15 | 0 | | 3 | 8 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | NULL | 0 | 2 | NULL | NULL | 2 | | 2 | 2 | 2 | 480 | NULL | 2 | w,u,c,r | 2 | 0 | 2 | 1 | 2 | | | | | | | 0 | | 1 | 2010-10-07 11:25:26 | NULL | 1 |
| 987 | CONCENI-01 | 1 | 2 | 0 | 2 | DISK / | | 1 | 2 | 1 | 2 | 80!"\\/"!sianagios!90!95 | 0 | | 3 | 5 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | NULL | 0 | 2 | NULL | NULL | 2 | | 2 | 2 | 2 | 480 | NULL | 2 | w,u,c,r | 2 | 0 | 2 | 1 | 2 | | | | | | | 0 | | 1 | 2010-10-07 11:25:26 | NULL | 1 |
| 988 | CONCENI-01 | 1 | 2 | 0 | 2 | DISK /boot | | 1 | 2 | 1 | 2 | 80!"\\/boot"!sianagios!90!95 | 0 | | 3 | 5 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | NULL | 0 | 2 | NULL | NULL | 2 | | 2 | 2 | 2 | 480 | NULL | 2 | w,u,c,r | 2 | 0 | 2 | 1 | 2 | | | | | | | 0 | | 1 | 2010-10-07 11:25:26 | NULL | 1 |
| 989 | CONCENI-01 | 1 | 2 | 0 | 2 | DISK /var | | 1 | 2 | 1 | 2 | 80!"\\/var"!sianagios!90!95 | 0 | | 3 | 5 | 1 | 2 | 2 | 2 | 2 | 2 | 2 | NULL | 0 | 2 | NULL | NULL | 2 | | 2 | 2 | 2 | 480 | NULL | 2 | w,u,c,r | 2 | 0 | 2 | 1 | 2 | | | | | | | 0 | | 1 | 2010-10-07 11:25:26 | NULL | 1 |
+-----+-------------+-----------+----------------------+----------------+---------------------------+---------------------+--------------+---------------+--------------------------+--------------+-------------------------+------------------------------+-------------+---------------+--------------------+----------------+----------------+-----------------------+------------------------+--------------+-------------------+---------------------+------------+---------------------+----------------+---------------------------+------------------+-------+-----------+------------+------------+----------------+---------------+------+--------+---------------------+---------------+-----------+
6 rows in set (0.00 sec)
mysql> select * from tbl_service where config_name='CONCENI-01' limit 6;
Re: Nagiosxi disappear services
Posted: Fri Oct 08, 2010 4:06 am
by diegosiassb
Logs