New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysql-stats rewrite #291
base: master
Are you sure you want to change the base?
mysql-stats rewrite #291
Conversation
crcro
commented
Apr 20, 2020
- python3
- new apps json data export
new apps json data export
Looks good, is there a matching PR to handle this in LibreNMS? |
I will have an update to this commit to handle diffs between reads and some innodb insert buffer changes (the output from SHOW INNODB ENGINE STATUS is a bit different now). i will make the PR to handle this in LibreNMS soon (mostly done) |
fixed innodb insert buffer stats
i miss a configfile to configure login credentials to database |
file.write(str(entries)) | ||
|
||
export = {"data": new_entries, "error": "0", "errorString": "", "version": "1"} | ||
data = re.sub(' ', '', json.dumps(export)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
space removement not needed
Example:
https://github.com/librenms/librenms-agent/pull/258/files