Page 1 of 1

Nagios XI file structure

Posted: Fri Jan 22, 2021 8:51 am
by chris_hird
I need to understand the file structure for Nagios XI to install the IBM i plugin. The documentation from the developer is not sufficient to allow an understanding of how it needs to be implemented. I have looked through the developer documentation but I cannot find a file structure that shows where files should exist so they are picked up correctly by the interface. I can see the code for the commands goes in /usr/local/nagios/libexec but where do the wizards and templates etc go? It mentions that logos need to go into the logo directory which I found under /usr/local/nagios/share/images/logos but not sure if that is the correct location? The developer mentions putting the templates in a template directory and wizards have a structure but not detailed information. I really would like to develop a proper installation script (the one provided only covers a few files and does not move the commands, templates wizards etc) Is there anyone who can help me identify where to find the relevant documentation or pass on the information.

Chris..

Re: Nagios XI file structure

Posted: Fri Jan 22, 2021 2:43 pm
by benjaminsmith
Hi Chris,

Thanks for trying out Nagios XI for your company. Feel free to ask us any questions during your trial.

IBM developed a couple of IBM i configuration wizards for Nagios XI and they are easy to install. You can download them from the Github repo at:

https://github.com/IBM/nagios-for-i/tre ... 20NagiosXI

For instructions are installing a configuration Wizard in Nagios XI, please see the following guide:

https://assets.nagios.com/downloads/nag ... izards.pdf

Lastly, once you get them installed just go to Configure > Start Monitoring Now and search for IBM. Please note, you will have to install Java on the XI server to use these plugins/wizards.
ibm-i-wizards.png
Best Regards,
Benjamin

Re: Nagios XI file structure

Posted: Sat Jan 23, 2021 2:47 pm
by chris_hird
Thanks Benjamin. I followed the instructions and I now have everything up and running. Is there a document that shows the requirements for developing additional wizards? I can just take the structure of the IBM wizards and make mine follow the same, but would rather have the official guidelines if the exist.

Chris...

Re: Nagios XI file structure

Posted: Mon Jan 25, 2021 1:54 pm
by chris_hird
I have tried to find a definitive description of the requirements for wizard structure so they can be imported but cannot find anything. Is there anyone who can point me in the right direction please.

Chris...

Re: Nagios XI file structure

Posted: Mon Jan 25, 2021 3:34 pm
by benjaminsmith
Hi Chris,

Take a look at the following doc,

Guidelines for Writing Custom Wizards]Guidelines for Writing Custom Wizards

and let us know if you have any specific questions.

Regards,
Benjamin