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?
Create PNG pictures of dashboards Nagiosxi
Create PNG pictures of dashboards Nagiosxi
Last edited by jvd on Wed Jun 30, 2021 1:37 am, edited 1 time in total.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Create PNG pictures of dashboards BNagiosxi
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
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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Create PNG pictures of dashboards BNagiosxi
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?
Thankyou, we do not have enterprise, so the emailing option will not work for us. Is there an explenation avaible about the rest API?
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Create PNG pictures of dashboards Nagiosxi
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
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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!