Hi,
I have developed a custom configuration wizard and uploaded in Nagios Exchange site. When I click on the "Check for Updates", the "Status" field remains blank.
When a custom configuration wizard is installed in Nagios XI, how it will refresh its status in page "Manage Configuration Wizard" when Administrator clicks on "Check for Updates". Is there any guidelines to register the configuration wizard so that it can automatically connects to its source and find the latest available version ?
Regards,
Ajaya
Custom Configuration Wizard and Status field
-
ajayasenapati
- Posts: 4
- Joined: Wed Jan 13, 2016 3:55 am
Re: Custom Configuration Wizard and Status field
Good to see some custom wizards getting attention!
There isn't a simple way to accomplish this since the check for updates button is reaching out to our internal API which has an xml based list of wizards/components and the current versions that are available. If you wanted to do some digging to figure a way to make it work try looking for configwizards_api_versions.xml in the configwizards.php file (hint: it's in html/admin).
It would take a little scripting to call the current API list and append that retrieved list to an existing xml file which would have your custom wizard version and paths hardcoded into it already. Just follow normal XML format (note the wizard name which below is snmpwalk would match the <name>.zip you used to install the wizard from the interface):
There isn't a simple way to accomplish this since the check for updates button is reaching out to our internal API which has an xml based list of wizards/components and the current versions that are available. If you wanted to do some digging to figure a way to make it work try looking for configwizards_api_versions.xml in the configwizards.php file (hint: it's in html/admin).
It would take a little scripting to call the current API list and append that retrieved list to an existing xml file which would have your custom wizard version and paths hardcoded into it already. Just follow normal XML format (note the wizard name which below is snmpwalk would match the <name>.zip you used to install the wizard from the interface):
Code: Select all
<snmpwalk>
<version>1.3.1</version>
<download>
https://assets.nagios.com/downloads/nagiosxi/wizards/xi5/snmpwalk.zip
</download>
</snmpwalk>/Luke