Page 1 of 1

Create PNG pictures of dashboards Nagiosxi

Posted: Tue Jun 29, 2021 8:53 am
by jvd
Hello,

Is there a possability to generate PNG pictures from the html pages in Nagios automaticly, so i can upload these pictures for a Narrowcasting system?

Re: Create PNG pictures of dashboards BNagiosxi

Posted: Tue Jun 29, 2021 1:50 pm
by benjaminsmith
Hi @jvd,

It's not a feature built into Nagios XI but I did a quick Google search and there are some applications available to take periodic screenshots and save the output to a target directory.

With Nagios XI, you can schedule any page to be sent (emailed) as an image or PDF. Just click the 'hamburger menu in the upper right corner to schedule a page.

You can also pull all kinds of status data using the REST API. However, the output would have to be converted from JSON to an image using a script.

Hope that helps get you started, let us know if you have further questions.

--Benjamin

Re: Create PNG pictures of dashboards BNagiosxi

Posted: Wed Jun 30, 2021 1:35 am
by jvd
Benjamin,

Thankyou, we do not have enterprise, so the emailing option will not work for us. Is there an explenation avaible about the rest API?

Re: Create PNG pictures of dashboards Nagiosxi

Posted: Wed Jun 30, 2021 2:43 pm
by benjaminsmith
Hi @jvd,

The API is fully documented in the GUI. Navigate to Help > API Docs. There are a number of sample curl commands you can run to test the output.

Take a look and let me know if you need assistance with anything.

Regards,
Benjamin