Re: NAGIOSXI
Posted: Thu Oct 14, 2010 11:46 am
by mguthrie
After lots of staring at these screenshots, I'm noticing that you have parenthesis in your group names, which are illegal characters for Nagiosql. Upon attempting to create a hostgroup with the name 'test_group(bugtesting)', I received an error when I attempted to Apply the Configuration. I'm not sure how the configuration has been able to go through with invalid characters, but I'm wondering if that could be causing an issue. I recommend changing the parenthesis ' ( )' characters to some other format. Again, I don't know how the configuration was able to apply with this, because it's not supposed to with NagiosQL. Maybe a problem with the importing tool?
Will you try something for me? Can you create a new group in XI through the CCM without any parenthesis, add some hosts/services to it, see if it applies, and see if any disappear. (Make sure the host or services don't have parenthesis in the configs either.). If they still disappear then the problem lies elsewhere and we need to keep hunting.
If this doesn't work, can you send us the zip file with your most recent configuration snapshot? It's hard to get the full picture of what's happening with just the screenshots.
Re: NAGIOSXI
Posted: Fri Oct 15, 2010 8:16 am
by diegosiassb
In the server nagios there are file whit definition check for host but in web ...... no
[root@nagiosxi2 services]# ls -ltr
total 44
-rw-r--r-- 1 apache nagios 1240 Oct 15 15:12 localhost.cfg
-rw-r--r-- 1 apache nagios 1216 Oct 15 15:12 ENI_TEMP_FSC.cfg
-rw-r--r-- 1 apache nagios 1230 Oct 15 15:12 ENI_RAID_FSC.cfg
-rw-r--r-- 1 apache nagios 1414 Oct 15 15:12 ENI_PING.cfg
-rw-r--r-- 1 apache nagios 1230 Oct 15 15:12 ENI_FANS_STATUS.cfg
-rw-r--r-- 1 apache nagios 1299 Oct 15 15:12 ENI_CPU_LINUX.cfg
-rw-r--r-- 1 apache nagios 1029 Oct 15 15:12 ENI_CHECK_TIME.cfg
-rw-r--r-- 1 apache nagios 1326 Oct 15 15:12 ENI_CHECK_PROC_ALL.cfg
-rw-r--r-- 1 apache nagios 1329 Oct 15 15:12 ENI_CHECK_NTP.cfg
-rw-r--r-- 1 apache nagios 6031 Oct 15 15:12 ENI_CHECK_DISK.cfg
[root@nagiosxi2 services]# grep -i CONCENI-01 *
ENI_CHECK_DISK.cfg: host_name ANTIFRODE_PVIRT,APPENI-01,APPENI-01-DR,APPENI-02,APPENI-02-DR,CONCENI-01,CONCENI-01-DR,CONCENI-02,CONCENI-02-DR,CONCENI-03,CONCENI-03-DR,CONCENI-04,CONCENI-04-DR,CONCENI-05,CONCENI-05-DR,VIRT-AUTORIZ_GT
ENI_CHECK_DISK.cfg: host_name ANTIFRODE_PVIRT,APPENI-01,APPENI-01-DR,APPENI-02,APPENI-02-DR,CONCENI-01,CONCENI-01-DR,CONCENI-02,CONCENI-02-DR,CONCENI-03,CONCENI-03-DR,CONCENI-04,CONCENI-04-DR,CONCENI-05,CONCENI-05-DR,VIRT-AUTORIZ_GT
ENI_CHECK_DISK.cfg: host_name CONCENI-01,CONCENI-01-DR,CONCENI-02,CONCENI-02-DR,CONCENI-03,CONCENI-03-DR,CONCENI-04,CONCENI-04-DR,CONCENI-05,CONCENI-05-DR
ENI_CHECK_DISK.cfg: host_name ANTIFRODE_PVIRT,CONCENI-01,CONCENI-01-DR,CONCENI-02,CONCENI-02-DR,CONCENI-03,CONCENI-03-DR,CONCENI-04,CONCENI-04-DR,CONCENI-05,CONCENI-05-DR,VIRT-AUTORIZ_GT
ENI_CHECK_DISK.cfg: host_name ANTIFRODE_PVIRT,APPENI-01,APPENI-01-DR,APPENI-02,APPENI-02-DR,CONCENI-01,CONCENI-01-DR,CONCENI-02,CONCENI-02-DR,CONCENI-03,CONCENI-03-DR,CONCENI-04,CONCENI-04-DR,CONCENI-05,CONCENI-05-DR,VIRT-AUTORIZ_GT
ENI_CHECK_DISK.cfg: host_name ANTIFRODE_PVIRT,APPENI-01,APPENI-01-DR,APPENI-02,APPENI-02-DR,CONCENI-01,CONCENI-01-DR,CONCENI-02,CONCENI-02-DR,CONCENI-03,CONCENI-03-DR,CONCENI-04,CONCENI-04-DR,CONCENI-05,CONCENI-05-DR,VIRT-AUTORIZ_GT
ENI_CHECK_DISK.cfg: host_name ANTIFRODE_PVIRT,APPENI-01,APPENI-01-DR,APPENI-02,APPENI-02-DR,CONCENI-01,CONCENI-01-DR,CONCENI-02,CONCENI-02-DR,CONCENI-03,CONCENI-03-DR,CONCENI-04,CONCENI-04-DR,CONCENI-05,CONCENI-05-DR,VIRT-AUTORIZ_GT
ENI_CHECK_NTP.cfg: host_name ANTIFRODE_PVIRT,APPENI-01,APPENI-01-DR,APPENI-02,APPENI-02-DR,CONCENI-01,CONCENI-01-DR,CONCENI-02,CONCENI-02-DR,CONCENI-03,CONCENI-03-DR,CONCENI-04,CONCENI-04-DR,CONCENI-05,CONCENI-05-DR,VIRT-AUTORIZ_GT
ENI_CHECK_PROC_ALL.cfg: host_name ANTIFRODE_PVIRT,APPENI-01,APPENI-01-DR,APPENI-02,APPENI-02-DR,CONCENI-01,CONCENI-01-DR,CONCENI-02,CONCENI-02-DR,CONCENI-03,CONCENI-03-DR,CONCENI-04,CONCENI-04-DR,CONCENI-05,CONCENI-05-DR,VIRT-AUTORIZ_GT
ENI_CHECK_TIME.cfg: host_name ANTIFRODE_PVIRT,APPENI-01,APPENI-01-DR,APPENI-02,APPENI-02-DR,CONCENI-01,CONCENI-01-DR,CONCENI-02,CONCENI-02-DR,CONCENI-03,CONCENI-03-DR,CONCENI-04,CONCENI-04-DR,CONCENI-05,CONCENI-05-DR,VIRT-AUTORIZ_GT
ENI_CPU_LINUX.cfg: host_name ANTIFRODE_PVIRT,APPENI-01,APPENI-01-DR,APPENI-02,APPENI-02-DR,CONCENI-01,CONCENI-01-DR,CONCENI-02,CONCENI-02-DR,CONCENI-03,CONCENI-03-DR,CONCENI-04,CONCENI-04-DR,CONCENI-05,CONCENI-05-DR,VIRT-AUTORIZ_GT
ENI_FANS_STATUS.cfg: host_name CONCENI-01,CONCENI-01-DR,CONCENI-02,CONCENI-02-DR,CONCENI-03,CONCENI-03-DR,CONCENI-04,CONCENI-04-DR,CONCENI-05,CONCENI-05-DR
ENI_PING.cfg: host_name ANTIFRODE_PVIRT,APPENI-01,APPENI-01-DR,APPENI-02,APPENI-02-DR,CESTELLO_ENI_DR,CESTELLO_ENI_PROD,CONCENI-01,CONCENI-01-DR,CONCENI-02,CONCENI-02-DR,CONCENI-03,CONCENI-03-DR,CONCENI-04,CONCENI-04-DR,CONCENI-05,CONCENI-05-DR,SWITCH_NET1_PROD,SWITCH_NET1_PROD_DR,SWITCH_NET2_PROD,SWITCH_NET2_PROD_DR,VIRT-AUTORIZ_GT
ENI_RAID_FSC.cfg: host_name CONCENI-01,CONCENI-01-DR,CONCENI-02,CONCENI-02-DR,CONCENI-03,CONCENI-03-DR,CONCENI-04,CONCENI-04-DR,CONCENI-05,CONCENI-05-DR
ENI_TEMP_FSC.cfg: host_name CONCENI-01,CONCENI-01-DR,CONCENI-02,CONCENI-02-DR,CONCENI-03,CONCENI-03-DR,CONCENI-04,CONCENI-04-DR,CONCENI-05,CONCENI-05-DR
[root@nagiosxi2 services]#