-
Notifications
You must be signed in to change notification settings - Fork 19
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
processes: null (Linux) #20
Comments
@codeisallaround Can you try listing them with https://github.com/amonapp/amonagent/blob/master/collectors/processes.go#L45 |
Thanks, it was my mistake. I just looked at the makefile. The deb would install systat. I had compiled the arm binary from source and run it without using the deb file. With systat enabled it, processes object is filled with data. |
I closed it too early. pidstat -ruht shows me correct values but amonagent's JSON lists gives me only 0 or 0.00 as values. e.g. for Firefox: Edit2: With number format set to US-english it works, but not with using a non-US format (number separator ',' instead of '.').
Edit: It might be because my Linux uses non-US regional format for numbers and dates (number separator ',' instead of '.') |
@codeisallaround Can you try with the precompiled ARM binary from releases: https://github.com/amonapp/amonagent/releases I will take a look, I usually optimize for both separators - |
Trying out current master (latest commit e9cf24b on Mar 27 2017) the "processes" object is not set.
With debug output enabled it looks like this:
I see the '"processes": null,' on Ubuntu Linux 17.04 and Raspbian. I read that the processes listing isn't for Windows yet, but it should work for Linux - right?
I used 'go get github.com/amonapp/amonagent' and added the missing packages also with go get. I altered a path in makefile (building works fine) and altered address in the conf file to point to a local script that just writes down the POST data to a log file.
The text was updated successfully, but these errors were encountered: