Skip to content
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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

crcro
Copy link
Contributor

@crcro crcro commented Apr 20, 2020

  • python3
  • new apps json data export

new apps json data export
@murrant
Copy link
Member

murrant commented Apr 21, 2020

Looks good, is there a matching PR to handle this in LibreNMS?

@crcro
Copy link
Contributor Author

crcro commented Apr 22, 2020

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)

@SourceDoctor
Copy link
Member

i miss a configfile to configure login credentials to database

@SourceDoctor SourceDoctor added the User-Pending Currently waiting for user response label Apr 27, 2020
file.write(str(entries))

export = {"data": new_entries, "error": "0", "errorString": "", "version": "1"}
data = re.sub(' ', '', json.dumps(export))
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User-Pending Currently waiting for user response
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants