Hi everyone, so we're having an issue with the performance graphs for the check_http plugin.
So what we've done is create a new command using the check_http plugin, check_http_website. It looks like this:
"$USER1$/check_http -H $HOSTNAME$ -u /StoreFront/indexmain.html -w 3 -c 5"
Just a simple implementation of it to check how long our site is taking to load. It'll warn at 3 seconds and then go critical at 5 seconds. What we wanted to do next is stick the performance graph of this command on a dashboard so we can see it at all times. We're having trouble with this though: for whatever reason the performance graph, by default, shows the page size on the graph, as well as the time it takes to load. This basically ruins it, since the page size in bytes is much, much larger than the seconds value, making the seconds impossible to see. The time is all we really care about on this graph, so it's silly that there seems to be no way (that I can see) to alter this graph in any way, beyond clicking to not show one of the values. But this goes away when you refresh, so that's not really a great solution.
Is there anything we can do about this?
Issue with performance graphs for check_http
-
dpasacritacrown
- Posts: 24
- Joined: Tue Oct 13, 2015 12:57 pm
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Issue with performance graphs for check_http
Graph Explorer is the answer to your problem.
Home > Graphs > Graph Explorer
Click the Multistacked Performance Graph tab
From the Select Host drop down list select the correct host
In the left pane click X on these to remove the existing datasources
From the Select Service drop down list select the http service
From the Select Data Type drop down list select the time datasource
Make sure the time period is what you want
Click the Add To Graph icon in the top left corner of the graph
Select the Dashboard to add it to
Now you have a graph with just one datasource.
Does this solve your problem?
Home > Graphs > Graph Explorer
Click the Multistacked Performance Graph tab
From the Select Host drop down list select the correct host
In the left pane click X on these to remove the existing datasources
From the Select Service drop down list select the http service
From the Select Data Type drop down list select the time datasource
Make sure the time period is what you want
Click the Add To Graph icon in the top left corner of the graph
Select the Dashboard to add it to
Now you have a graph with just one datasource.
Does this solve your problem?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
dpasacritacrown
- Posts: 24
- Joined: Tue Oct 13, 2015 12:57 pm
Re: Issue with performance graphs for check_http
Oh thank you that's perfect!!!!!
Thanks a lot! I don't know how I missed that.
Re: Issue with performance graphs for check_http
Glad to see this worked! Is there anything else that we can do for you or are we good to close this thread?
Former Nagios Employee