![nagios xi free edition nagios xi free edition](https://www.nagios.com/wp-content/uploads/2015/05/Feature-Image-Configuration-Wizards.png)
- #NAGIOS XI FREE EDITION ZIP FILE#
- #NAGIOS XI FREE EDITION UPDATE#
- #NAGIOS XI FREE EDITION SOFTWARE#
- #NAGIOS XI FREE EDITION CODE#
This will use some of the security features built into Nagios XI to clean any input variables and prevent XSS vulnerabilities. $form_variable = grab_array_var($inargs, $variable_name, $default_value) The $inargs array contains all of the POST data from each stage of the form. To access variables submitted in wizard forms, use the “grab_array_var()” function as documented below. To maintain security within Nagios XI, avoid interacting directly with the $_POST, $_GET, or $_GLOBALS arrays. This will have unpredictable results and will most likely break a monitoring configuration.
#NAGIOS XI FREE EDITION UPDATE#
Wizards should never run UPDATE or INSERT SQL queries directly into the nagios or nagiosql databases. This includes accounting for undefined variables and array indices.
![nagios xi free edition nagios xi free edition](https://thinkmcs.com/wp-content/uploads/2021/01/3-1-Nagios.png)
Wizards must be free from all fatal, syntax, and notice error messages. Contact the Nagios XI Support Team if you have questions about your code, and see php.net for the best reference on PHP syntax and built-in functions. The development guidelines for Nagios XI Wizards are still somewhat loosely defined, but the following conditions will maximize compatibility, security, and reliability of the Configuration Wizard.
![nagios xi free edition nagios xi free edition](https://www.nagios.com/wp-content/uploads/2016/02/Configuration_Snapshot_Archive_Drop.jpg)
You will likely need to repeat the process of rezipping the files, uploading to Nagios XI, and restarting the wizard several times, so leave both tabs open while you develop. Be sure to account for any undefined variables to prevent the Apache logs from being cluttered with error messages, and also to prevent bugs in the wizard itself.Įvery time you upload a new wizard into Nagios XI, select the URL for the monitoringwizard.php page, and hit “Enter” to start the wizard over from stage one, and to clear any POST variables that will affect wizard navigation. You will likely have to upload the wizard several more times until debugging is complete.įor debugging the wizard stages ( monitoringwizard.php), error outputs will appear at the top of the page. Once the wizard loads with no syntax errors, leave this page open, but select the tab opened to the Monitoring Wizard – Step 1 page. The old wizard will simply be overwritten. To fix the syntax error, modify your local copy, rezip the directory, and then upload the wizard again.
#NAGIOS XI FREE EDITION CODE#
This allows you to clearly identify any fatal errors in the code before proceeding to the stages of the wizard. If you were to access the Manage Configuration Wizards page directly and you uploaded a wizard that had a php syntax error on it, you should clearly see the error output on screen.
#NAGIOS XI FREE EDITION ZIP FILE#
While developing the wizard, we recommend developing the code on a local workstation and then uploading the zip file periodically to ensure the full functionality and compatibility of the wizard. Both of these tabs will be beneficial when testing and developing the wizard. Right click on the Manage Config Wizards under System Extensions and select “Open In New Tab.” Leave that page there for a moment, and access the Configure menu, and right click the Run the Monitoring Wizard link and select “Open In New Tab” as well.
#NAGIOS XI FREE EDITION SOFTWARE#