Hi all,
I found this article and wanted to confirm if this is the recommended way to access host/service graphs directly for embedding in Word documents. The backend API is depreciated.
https://support.nagios.com/kb/article/n ... hs-91.html
We write monthly reports for our customers and in Nagios Core used to embed links to the graphs but we haven't found how to do so easily in XI. We have XI 5.4.0
The old way in Core was as follows:
https://nagioscore_host/pnp4nagios/image?host=hostname&srv=CPU__CPU_Usage&view=1&source=0&start=1519741741&end=1519831741
Many thanks,
Quentin
Linking directly to performance graphs
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Linking directly to performance graphs
Yes, XI uses different graphs than pnp4nagios.
I need to point out, it's not an image file that you are getting, you would be getting the full HTML for the graphs in XI which are much more robust
I need to point out, it's not an image file that you are getting, you would be getting the full HTML for the graphs in XI which are much more robust
Re: Linking directly to performance graphs
Thanks for the reply.
Can you confirm that graphexplorer is the correct way to directly access the graphs? Does the graphexplorer method support api keys instead of the backend tickets?
Can you confirm that graphexplorer is the correct way to directly access the graphs? Does the graphexplorer method support api keys instead of the backend tickets?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Linking directly to performance graphs
Yes it would be.quentinw wrote:Can you confirm that graphexplorer is the correct way to directly access the graphs?
Not at this time, but coming in a future release.quentinw wrote:Does the graphexplorer method support api keys instead of the backend tickets?