Issue with performance graphs for check_http
Posted: Tue Oct 13, 2015 2:49 pm
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?
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?