fix: reduce mib graph queries #4439

Merged
merged 1 commit into from Sep 15, 2016

Projects

None yet

4 participants

@murrant
Contributor
murrant commented Sep 14, 2016

Please note

Please read this information carefully. You can run ./scripts/pre-commit.php to check your code before submitting.

Used have 1 query for every graph type known to LibreNMS.
Now it just gets a list of the graphs for the device and checks against that.
Removes about 14 queries for every graph in my installs with mib polling enabled

@murrant murrant fix: reduce mib graph queries
Used have 1 query for every graph type known to LibreNMS.
Now it just gets a list of the graphs for the device and checks against that.
5ed595f
@scrutinizer-notifier

The inspection completed: 4 new issues, 1 updated code elements

@laf laf merged commit 83d7bbd into librenms:master Sep 15, 2016

2 checks passed

Auto-Deploy Build finished.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@murrant murrant deleted the murrant:reduce_mib_graph_queries branch Sep 15, 2016
@crcro crcro added a commit to crcro/librenms that referenced this pull request Sep 17, 2016
@murrant @crcro murrant + crcro fix: reduce mib graph queries (#4439)
Used have 1 query for every graph type known to LibreNMS.
Now it just gets a list of the graphs for the device and checks against that.
2405520
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment