Page 1 of 1

How to extract data for a browser extension

Posted: Fri Aug 25, 2023 2:23 am
by naviyork
Hello I am and system administrator of my company and pay for the nagios support, I write this post because I have a question, I want to use this GREAT extension ("imoin" https://github.com/ErikWegner/imoin/wiki/Configuration) to monitorize more easy my nagios, the personal sound alarms are great. But I have a problem, this extension is only compatible with the "opensource core nagios" version and not with the "XI nagios" version. In the configuration page the extension uses "cgi-bin/status.cgi" to read the data. But this file and path does not exist in the "XI" version... My question is: where can I find the file that is compatible in the XI version? Where is the file to get the information?
Sorry for my English and thanks in advance.

Re: How to extract data for a browser extension

Posted: Fri Aug 25, 2023 11:01 am
by danderson
Thanks for reaching out @naviyork,

The documentation the extension provided is a little inaccurate, as the actual link would be something like http://example.com/nagios/cgi-bin/status.cgi and NOT just http://example.com/cgi-bin/status.cgi.

The open source nagios core is still accessible in every XI, just with http://example.com/nagios instead of http://example.com/nagiosxi.

Re: How to extract data for a browser extension

Posted: Mon Aug 28, 2023 2:40 am
by naviyork
danderson wrote: Fri Aug 25, 2023 11:01 am Thanks for reaching out @naviyork,

The documentation the extension provided is a little inaccurate, as the actual link would be something like http://example.com/nagios/cgi-bin/status.cgi and NOT just http://example.com/cgi-bin/status.cgi.

The open source nagios core is still accessible in every XI, just with http://example.com/nagios instead of http://example.com/nagiosxi.
Thanks a lot danderson, it works with the path "https://X.X.X.X/nagios/cgi-bin/status.cgi". The extension is too useful. The post is closed for me.
Thanks again :) .