NagiosXI-WizardError
Posted: Thu Dec 01, 2016 2:51 pm
Hi Guys,
I have the following issue:
1) Use Network Switch / Router Monitoring Wizard
2) It discovers every port from IP/SNMP Config
2.a) I just ask to add one port and ping
2.b) Apply
3) It hangs on "Waiting for configuration verification......."
3.a) Logs:
-----------------
However it hangs there and nothing happens...
I have already followed this guide: https://support.nagios.com/kb/article.php?id=34
Any ideas? It happens the same with every wizard.
Regards,
I have the following issue:
1) Use Network Switch / Router Monitoring Wizard
2) It discovers every port from IP/SNMP Config
2.a) I just ask to add one port and ping
2.b) Apply
3) It hangs on "Waiting for configuration verification......."
3.a) Logs:
Code: Select all
APPLYING NAGIOSCORE CONFIG...
CMDLINE=cd /usr/local/nagiosxi/scripts && ./reconfigure_nagios.sh
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
--2016-12-01 16:45:40-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.loginâ
0K .......... .......... .......... ..... 690K=0.05s
2016-12-01 16:45:40 (690 KB/s) - ânagiosql.loginâ saved [36148]
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.loginLOGIN SUCCESSFUL!
IMPORTING CONFIG FILES...URL: http://localhost/nagiosxi/includes/components/ccm/
Array
(
[0] => 10.2.0.1.cfg
[1] => jstrnbgc.tmp.cfg
)
IMPORTING /usr/local/nagios/etc/import/10.2.0.1.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'cmd=admin&type=import&importsubmitted=true&chbOverwrite=1&subForm=Import&selImportFile[]=/usr/local/nagios/etc/import/10.2.0.1.cfg' -O nagiosql.import.monitoring
--2016-12-01 16:45:40-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.import.monitoringâ
0K .......... .......... .......... .......... .......... 132K
50K .......... .......... .... 1.70M=0.4s
2016-12-01 16:45:41 (189 KB/s) - ânagiosql.import.monitoringâ saved [76048]
IMPORTING /usr/local/nagios/etc/import/jstrnbgc.tmp.cfg
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'cmd=admin&type=import&importsubmitted=true&chbOverwrite=1&subForm=Import&selImportFile[]=/usr/local/nagios/etc/import/jstrnbgc.tmp.cfg' -O nagiosql.import.monitoring
--2016-12-01 16:45:41-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.import.monitoringâ
0K .......... .......... .......... .......... .......... 128K
50K .......... .......... ... 1.52M=0.4s
2016-12-01 16:45:42 (182 KB/s) - ânagiosql.import.monitoringâ saved [75679]
RESETTING PERMS
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
--2016-12-01 16:45:42-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.loginâ
0K .......... .......... .......... ..... 848K=0.04s
2016-12-01 16:45:43 (848 KB/s) - ânagiosql.loginâ saved [36148]
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&username=nagiosxi&password=n@gweb' -O nagiosql.loginLOGIN SUCCESSFUL!
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'cmd=apply&type=writeConfig' -O nagiosql.export.monitoring
--2016-12-01 16:45:43-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost (localhost)... ::1, 127.0.0.1
Connecting to localhost (localhost)|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ânagiosql.export.monitoringâ
0K .......... .... 2.25K=6.4s
2016-12-01 16:45:49 (2.25 KB/s) - ânagiosql.export.monitoringâ saved [14745]
WRITE CONFIGS SUCCESSFUL!
OUTPUT:
Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
Warning: Duplicate definition found for service 'SO : LOAD' on host 'clickos1' (config file '/usr/local/nagios/etc/services/CLICKOS1.cfg', starting on line 66)
Warning: Duplicate definition found for service 'SO : DISK' on host 'clickos1' (config file '/usr/local/nagios/etc/services/CLICKOS1.cfg', starting on line 50)
Warning: Duplicate definition found for service 'DBA : ORACLE : STATUS : CLICKOS1' on host 'clickos1' (config file '/usr/local/nagios/etc/services/CLICKOS1.cfg', starting on line 33)
Warning: Duplicate definition found for service 'DBA : ORACLE : SPACE : CLICKOS1' on host 'clickos1' (config file '/usr/local/nagios/etc/services/CLICKOS1.cfg', starting on line 16)
Warning: Duplicate definition found for service 'SO : LOAD' on host 'buhop1' (config file '/usr/local/nagios/etc/services/BUHOP1.cfg', starting on line 69)
Warning: Duplicate definition found for service 'SO : DISK' on host 'buhop1' (config file '/usr/local/nagios/etc/services/BUHOP1.cfg', starting on line 52)
Warning: Duplicate definition found for service 'DBA : ORACLE : STATUS : BUHOP1' on host 'buhop1' (config file '/usr/local/nagios/etc/services/BUHOP1.cfg', starting on line 34)
Warning: Duplicate definition found for service 'DBA : ORACLE : SPACE : BUHOP1' on host 'buhop1' (config file '/usr/local/nagios/etc/services/BUHOP1.cfg', starting on line 16)
Warning: Duplicate definition found for service 'SO : LOAD' on host 'buhor1' (config file '/usr/local/nagios/etc/services/buhor1.cfg', starting on line 66)
Warning: Duplicate definition found for service 'SO : DISK' on host 'buhor1' (config file '/usr/local/nagios/etc/services/buhor1.cfg', starting on line 50)
Warning: Duplicate definition found for service 'DBA : ORACLE : STATUS : BUHOR1' on host 'buhor1' (config file '/usr/local/nagios/etc/services/buhor1.cfg', starting on line 33)
Warning: Duplicate definition found for service 'DBA : ORACLE : SPACE : BUHOR1' on host 'buhor1' (config file '/usr/local/nagios/etc/services/buhor1.cfg', starting on line 16)
Warning: Duplicate definition found for service 'SO : LOAD' on host 'buhod1' (config file '/usr/local/nagios/etc/services/buhod1.cfg', starting on line 66)
Warning: Duplicate definition found for service 'SO : DISK' on host 'buhod1' (config file '/usr/local/nagios/etc/services/buhod1.cfg', starting on line 50)
Warning: Duplicate definition found for service 'DBA : ORACLE : STATUS : BUHOD1' on host 'buhod1' (config file '/usr/local/nagios/etc/services/buhod1.cfg', starting on line 33)
Warning: Duplicate definition found for service 'DBA : ORACLE : SPACE : BUHOD1' on host 'buhod1' (config file '/usr/local/nagios/etc/services/buhod1.cfg', starting on line 16)
Warning: Duplicate definition found for service 'SO : LOAD' on host 'gisp2' (config file '/usr/local/nagios/etc/services/gisp2.cfg', starting on line 69)
Warning: Duplicate definition found for service 'SO : DISK' on host 'gisp2' (config file '/usr/local/nagios/etc/services/gisp2.cfg', starting on line 52)
Warning: Duplicate definition found for service 'DBA : ORACLE : STATUS : GISP2' on host 'gisp2' (config file '/usr/local/nagios/etc/services/gisp2.cfg', starting on line 34)
Warning: Duplicate definition found for service 'DBA : ORACLE : SPACE : GISP2' on host 'gisp2' (config file '/usr/local/nagios/etc/services/gisp2.cfg', starting on line 16)
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 1572 services.
Checked 272 hosts.
Checked 31 host groups.
Checked 4 service groups.
Warning: Host recovery notification option for contact 'nagiosadmin' doesn't make any sense - specify down and/or unreachable options as well
Warning: Service recovery notification option for contact 'nagiosadmin' doesn't make any sense - specify critical and/or warning options as well
Checked 51 contacts.
Checked 13 contact groups.
Checked 335 commands.
Checked 34 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 272 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 34 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 2
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
RET: 0
OUTPUT=RET: 0
RETURNCODE=0
..........
PROCESSED 1 COMMANDS
.............................................................
PROCESSED 0 COMMANDS
............................................................
PROCESSED 0 COMMANDS
.........................^C
-----------------
However it hangs there and nothing happens...
I have already followed this guide: https://support.nagios.com/kb/article.php?id=34
Any ideas? It happens the same with every wizard.
Regards,