I'm getting an error while trying to add the router
I'm getting an error while trying to add the router
Configuration verification failed.
You do not have the required permissions to view the files attached to this post.
Re: I'm getting an error while trying to add the router
If the device you are running the wizard against has a lot of ports, it could be returning so much data that it is getting truncated creating a invalid configuration.
To fix this, follow this procedure.
Edit the /etc/php.ini file
add this to the bottom of that file
Save the file
Then Edit the /etc/httpd/conf/httpd.conf file
add this to the bottom of that file
Restart Apache for the changes to take affect by running the following as root.
Try running the Wizard again to see if it works.
To fix this, follow this procedure.
Edit the /etc/php.ini file
add this to the bottom of that file
Code: Select all
max_input_vars=5000Then Edit the /etc/httpd/conf/httpd.conf file
Code: Select all
LimitRequestLine 100000Restart Apache for the changes to take affect by running the following as root.
Code: Select all
service httpd restartBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: I'm getting an error while trying to add the router
I'm still getting the same error.
Re: I'm getting an error while trying to add the router
I'm running the following configuration
###############################################################################
#
# Host configuration file
#
# Created by: Nagios Core Config Manager 2.6.7
# Date: 2017-07-25 16:16:45
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define host {
host_name 192.168.245.245
use xiwizard_switch_host
address 192.168.245.245
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
contacts
notification_interval 60
notification_period xi_timeperiod_24x7
icon_image switch.png
statusmap_image switch.png
_xiwizard switch
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
###############################################################################
#
# Host configuration file
#
# Created by: Nagios Core Config Manager 2.6.7
# Date: 2017-07-25 16:16:45
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################
define host {
host_name 192.168.245.245
use xiwizard_switch_host
address 192.168.245.245
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
contacts
notification_interval 60
notification_period xi_timeperiod_24x7
icon_image switch.png
statusmap_image switch.png
_xiwizard switch
register 1
}
###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
Re: I'm getting an error while trying to add the router
In your example, the contacts option is there, but no contact is defined, did you remove it before you posted it?
Lets make sure the configuration is good before running the wizard again. Follow this procedure to do that.
Go to the Core Config Manager
Under "Tools", click "Write Config Files" or if you are running a newer versions of XI, The menu is called "Config File Management"
Click the click the "Write" button, then the "Delete" button then click the "Write" button and then the "Verify" button
If you get any errors, resolve them and click on the "Delete" button, "Write", "Verify" until all of the errors are resolved.
Click the Apply Configuration link and click the "Apply Configuration" button after all of the errors are resolved.
Then, in the XI GUI, go to the Admin > Manage Config Wizards menu and check for updates. If the Network Switch / Router wizard needs to be updated, update it and run it again.
Let us know it this works.
Lets make sure the configuration is good before running the wizard again. Follow this procedure to do that.
Go to the Core Config Manager
Under "Tools", click "Write Config Files" or if you are running a newer versions of XI, The menu is called "Config File Management"
Click the click the "Write" button, then the "Delete" button then click the "Write" button and then the "Verify" button
If you get any errors, resolve them and click on the "Delete" button, "Write", "Verify" until all of the errors are resolved.
Click the Apply Configuration link and click the "Apply Configuration" button after all of the errors are resolved.
Then, in the XI GUI, go to the Admin > Manage Config Wizards menu and check for updates. If the Network Switch / Router wizard needs to be updated, update it and run it again.
Let us know it this works.
Be sure to check out our Knowledgebase for helpful articles and solutions!