SNMPTT Wizard
Posted: Wed Nov 12, 2014 1:03 pm
When I go to try this wizard I cannot select any hosts. THe wizard doesn't seem to find any hosts. Am I missing something simple here?
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
tail -30 /var/log/httpd/error_logCode: Select all
ll -d /usr/local/nagiosxi/html/includes/configwizards/snmp-trap/
ll /usr/local/nagiosxi/html/includes/configwizards/snmp-trap/lmiltchev wrote:Try to run the wizard, then check the apache error log
and post any relevant errors you see in it.Code: Select all
tail -30 /var/log/httpd/error_log
Code: Select all
[xxxxx@xxxxxx ~]$ sudo tail -30 /var/log/httpd/error_log
[Wed Nov 12 10:56:20 2014] [error] [client 10.100.6.104] PHP Notice: Undefined index: initial_state in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 117, referer: http://lnttavmnag1/nagiosxi/includes/components/ccm/index.php?cmd=view&type=service&page=1
[Wed Nov 12 10:56:20 2014] [error] [client 10.100.6.104] PHP Notice: Undefined index: initial_state in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 117, referer: http://lnttavmnag1/nagiosxi/includes/components/ccm/index.php?cmd=view&type=service&page=1
[Wed Nov 12 10:56:20 2014] [error] [client 10.100.6.104] PHP Notice: Undefined index: initial_state in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 117, referer: http://lnttavmnag1/nagiosxi/includes/components/ccm/index.php?cmd=view&type=service&page=1
[Wed Nov 12 10:56:20 2014] [error] [client 10.100.6.104] PHP Notice: Undefined index: initial_state in /usr/local/nagiosxi/html/includes/components/ccm/includes/common_functions.inc.php on line 117, referer: http://lnttavmnag1/nagiosxi/includes/components/ccm/index.php?cmd=view&type=service&page=1
[Wed Nov 12 10:56:20 2014] [error] [client 10.100.6.104] PHP Notice: Undefined index: check_interval in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/check_settings.php on line 30, referer: http://lnttavmnag1/nagiosxi/includes/components/ccm/index.php?cmd=view&type=service&page=1
[Wed Nov 12 10:56:20 2014] [error] [client 10.100.6.104] PHP Notice: Undefined index: retry_interval in /usr/local/nagiosxi/html/includes/components/ccm/page_templates/check_settings.php on line 34, referer: http://lnttavmnag1/nagiosxi/includes/components/ccm/index.php?cmd=view&type=service&page=1
[Wed Nov 12 10:59:19 2014] [notice] caught SIGTERM, shutting down
[Wed Nov 12 10:59:20 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Nov 12 10:59:20 2014] [notice] SSL FIPS mode disabled
[Wed Nov 12 10:59:20 2014] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 12 10:59:20 2014] [notice] Digest: done
[Wed Nov 12 10:59:20 2014] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Nov 12 10:59:20 2014] [notice] SSL FIPS mode disabled
[Wed Nov 12 10:59:20 2014] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
[Wed Nov 12 11:00:07 2014] [notice] caught SIGTERM, shutting down
[Wed Nov 12 11:00:08 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Nov 12 11:00:08 2014] [notice] SSL FIPS mode disabled
[Wed Nov 12 11:00:08 2014] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 12 11:00:08 2014] [notice] Digest: done
[Wed Nov 12 11:00:08 2014] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Nov 12 11:00:08 2014] [notice] SSL FIPS mode disabled
[Wed Nov 12 11:00:08 2014] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
[Wed Nov 12 11:11:22 2014] [notice] caught SIGTERM, shutting down
[Wed Nov 12 11:11:23 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Nov 12 11:11:23 2014] [notice] SSL FIPS mode disabled
[Wed Nov 12 11:11:23 2014] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 12 11:11:23 2014] [notice] Digest: done
[Wed Nov 12 11:11:23 2014] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Nov 12 11:11:23 2014] [notice] SSL FIPS mode disabled
[Wed Nov 12 11:11:24 2014] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal operations
Run the following commands and show us the output:
Code: Select all
ll -d /usr/local/nagiosxi/html/includes/configwizards/snmp-trap/ ll /usr/local/nagiosxi/html/includes/configwizards/snmp-trap/
Code: Select all
[xxx@xxxx]# ll -d /usr/local/nagiosxi/html/includes/configwizards/snmp-trap/
drwxr-x--- 5 nagios nagios 4096 Jul 11 09:54 /usr/local/nagiosxi/html/includes/configwizards/snmp-trap/
[xxx@xxxx]# ll /usr/local/nagiosxi/html/includes/configwizards/snmp-trap/
total 32
-rwxr-x--- 1 nagios nagios 173 Jul 11 09:54 config.xml
drwxr-x--- 2 nagios nagios 4096 Aug 15 2012 logos
drwxr-x--- 2 nagios nagios 4096 Aug 15 2012 plugins
-rwxr-x--- 1 nagios nagios 740 Jul 11 09:54 sanity.sh
-rwxr-x--- 1 nagios nagios 9362 Jul 11 09:54 snmp-trap.inc.php
drwxr-x--- 2 nagios nagios 4096 Aug 15 2012 templates
Yes, when I just tried the Bulk Host Cloning and Import wizard, the drop down for the Host list is empty.Are you having issues with any other wizards as well, for example Bulk Host Cloning and Import wizard? BTW, what is the number of hosts that you see listed under the Nagios XI Installation Profile?
Code: Select all
Total Hosts: 0
Total Services: 0 Code: Select all
http://assets.nagios.com/downloads/nagiosxi/docs/Repairing_The_Nagios_XI_Database.pdfCode: Select all
http://ip address/nagiosCode: Select all
mysql -pnagiosxiAttached two images to show some of what I see.lmiltchev wrote:Do you see the hosts/services in the CCM? How many do you see when you log in Nagios Core?
Code: Select all
http://ip address/nagios
Can you log in mysql successfully?
Code: Select all
mysql -pnagiosxi
Code: Select all
[xxxx@xxxx]# mysql -pnagiosxi
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 12438
Server version: 5.0.95 Source distribution
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>