Re: Resource Graph behaviour change in V22

JohnD Blackburn <[email protected]> Fri, 22 Jun 2018 01:09:40 +0000
Newsgroups gmane.network.opennms.general
Message-ID <DB6PR0602MB290280F8B84FD21093D5E4C0CB750@DB6PR0602MB2902.eurprd06.prod.outlook.com>
I’ve changed org.opennms.web.graphs.engine to ‘png’ and it has changed the look of the graphs back to the old version.  However, the zoom function that worked before ONS22 no longer works.






From: JohnD Blackburn [mailto:[email protected]]
Sent: Monday, 11 June 2018 1:42 PM
To: General OpenNMS Discussion <[email protected]>
Subject: Re: [opennms-discuss] Resource Graph behaviour change in V22


Yes, I think they are related. But I think that bug is incorrectly named.  It is more than just “The X axis resolution does not zoom correctly”  It is more a case of “zooming doesn’t correctly scale the graph.”

I also noticed that if you zoom out, it doesn’t populate the data outside the original x axis range.










From: Mike Kelly [mailto:[email protected]]
Sent: Monday, 11 June 2018 11:53 AM
To: General OpenNMS Discussion <[email protected]<mailto:[email protected]>>
Subject: Re: [opennms-discuss] Resource Graph behaviour change in V22

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

OpenNMS 22.0.0 changed to the "Backshift" engine for rendering resource graphs by default (see https://issues.opennms.org/browse/NMS-10152<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.opennms.org%2Fbrowse%2FNMS-10152&data=02%7C01%7Cjohnd.blackburn%40au.abb.com%7Cad3fc207cfc742327b0408d5cf41e837%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C636642804344680862&sdata=KwpdBTgxC7fgRrsKupPzBd%2FqIjWG0%2FMwTPQwDQSIIQQ%3D&reserved=0>).

I think you may be seeing this bug in Backshift impacting the zoom behavior: https://issues.opennms.org/browse/BSHIFT-172<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.opennms.org%2Fbrowse%2FBSHIFT-172&data=02%7C01%7Cjohnd.blackburn%40au.abb.com%7Cad3fc207cfc742327b0408d5cf41e837%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C636642804344680862&sdata=UXRn0sBpvQ2tlnR3vOtyVVcen%2FgZ6sKIzJdF6sGIJZs%3D&reserved=0>

You can revert to the older "png" engine by editing $OPENNMS_HOME/etc/opennms.properties, and setting org.opennms.web.graphs.engine to "png".

On Sun, Jun 10, 2018 at 8:55 PM JohnD Blackburn <[email protected]<mailto:[email protected]>> wrote:
We’ve recently upgraded from 21.0.4 to 22, and I’ve noticed a change to how resource graph’s behave.

Previously, I could generate a graph for the previous week/month, and then zoom in on an “interesting” spike in the graph by clicking on the graph, and then dragging the mouse pointer over the relevant timeframe of the graph, and OpenNMS would then re-generate the graph with the selected timeframe, with an appropriately re-scaled Y axis.

Now I only seem to be able to “zoom” in on the graph by spinning the wheel on the mouse, but it is zooming both the x and Y axis, so by the time I’ve zoomed into the appropriate timeframe for the “interesting spike”, the y axis has also zoomed the same amount.  Eg:


[cid:[email protected]]

Now I want to zoom on those spikes, but all I seem to be able to get is:

[cid:[email protected]]


Both X and Y axis are zooming at exactly the same rate.

What I need is to be able to zoom the X axis, and have the y axis scale appropriately to the range of data for the currently visible X axis.

How do I get this functionality back?


Regards,
John Blackburn
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsdm.link%2Fslashdot&data=02%7C01%7Cjohnd.blackburn%40au.abb.com%7Cad3fc207cfc742327b0408d5cf41e837%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C636642804344680862&sdata=GUh4GQJbJfmJ6jYyB30usgtdb0BSU8axVUSmWJoR1W0%3D&reserved=0>_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ<https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.opennms.org%2Findex.php%2FMailing_List_FAQ&data=02%7C01%7Cjohnd.blackburn%40au.abb.com%7Cad3fc207cfc742327b0408d5cf41e837%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C636642804344680862&sdata=DhNIfSuICcJmolSevq3jSe%2B2%2BLPhQ9U7OKszolZDan8%3D&reserved=0>

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fopennms-discuss&data=02%7C01%7Cjohnd.blackburn%40au.abb.com%7Cad3fc207cfc742327b0408d5cf41e837%7C372ee9e09ce04033a64ac07073a91ecd%7C0%7C0%7C636642804344680862&sdata=uxi4%2BXJBcD7fEH8YzNpe1i%2FXIEReE12HzU6qZ4o2x1g%3D&reserved=0>
--

Mike Kelly

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss