How can I use the above feature of XI 5 exactly?Added embeddable highcharts performance graphs that can be placed in an iframe passing host/service/width/height/username/token
how to use
how to use
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: how to use
The graphvis API will be used. We don't have any documentation yet, but we will be adding this functionality to the new REST API soon.
An example URL would look something like this:
In my case:
An example URL would look something like this:
Code: Select all
http://x.x.x.x/nagiosxi/includes/components/graphexplorer/graph.php?host=<myhost>&service=<myservice>&width=<some width>&height=<some height>&username=<username>&ticket=<token>Code: Select all
http://x.x.x.x/nagiosxi/includes/components/graphexplorer/graph.php?host=CentOS6-NRPE&service=Load&width=1200&height=520&username=nagiosadmin&ticket=<mytoken>You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: how to use
Ah ok I was looking around for documentation but couldn't find it. I'll test this asap and will let you know what I find. Could take some time, as I first still need to test and implement SSL and next week I have a full week of VMware courses...
Please leave the thread open for some time.
EDIT: Will this work for multistacked graphs? If so, could you give an example?
Please leave the thread open for some time.
EDIT: Will this work for multistacked graphs? If so, could you give an example?
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: how to use
It doesn't currently work for multistacked graphs.
Re: how to use
I have been testing this and it works. Is it possible to add the timeperiod to the url, as I can only produce 24 hours timeperiods? If so, could I please get the syntax how to do this?
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: how to use
I have added this for 5.2.3
Also including the changes in the attachment below.
After placing the attachment in
/usr/local/nagiosxi/html/includes/components/graphexplorer/
You can use the following URL arguments
OR
you can specify a specific timestamp to start from
Also including the changes in the attachment below.
After placing the attachment in
/usr/local/nagiosxi/html/includes/components/graphexplorer/
You can use the following URL arguments
Code: Select all
&view=0 - 4 Hour
&view=1 - 24 Hour
&view=2 - 7 days
&view=3 - 1 month
&view=4 - 1 yearyou can specify a specific timestamp to start from
Code: Select all
&start=1446902866You do not have the required permissions to view the files attached to this post.
Re: how to use
Thanks, Scott! I tested changing the timeperiod by adding "&view=...", which seemed to be working well. Here's my "7 days" graph: 
Willem, let us know if this is working for you as well.
Willem, let us know if this is working for you as well.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!