Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add Billing Graphs & Data to API #8245
This PR makes billing graphs available through the API, along with the data backing them for use generating graphs in an external system. Updated documentation demonstrates the new API functions available.
As part of this, the billing_graph and bandwidth_graph pages were moved into the standard graph structure. The remaining billing_graph.php and bandwidth_graph.php pages have been converted to redirect to the new location, but this should really only affect people who have been accessing them directly, or that a page opened prior to updating librenms might try loading the old pages. If preferred, we can simply remove these pages.
DO NOT DELETE THIS TEXT
If you would like to test this pull request then please run:
I have no idea where frequency is coming from in that!
Not quite sure what it is you're showing with that link - lines 13/22 in your diff don't seem to correspond with the same file from the PR. Is it possible there's another change you've got merged in causing a conflict? Comparing to https://github.com/librenms/librenms/pull/8245/files#diff-b96e6cb436083334eca02bb816d9c017 I don't have any lines which just contain
I presume the images work fine if you remove frequency from the URL?
Ok, all sorted:
referenced this pull request
Feb 21, 2018
pushed a commit
this pull request
Feb 23, 2018
added a commit
this pull request
Mar 19, 2018
Thank you for add create/edit bill API in LibreNMS.
In LibreNMS create bill API "https://docs.librenms.org/#API/Bills/#create_edit_bill", there is an field name like "bill_custid". Please let me now, where from i will get this bill_custid?
The Create/Edit bill API was not added in this PR (or by me), and this is not the correct location to ask questions like this. The best place to ask questions is the discord board: https://t.libren.ms/discord
However, pretty sure that field is just free text and corresponds with the "Customer Reference" field in the web form.