Comments (4)
@codeisallaround Can you try listing them with pidstat -ruhtd
? The agent relies on sysstat
for process metrics
https://github.com/amonapp/amonagent/blob/master/collectors/processes.go#L45
from amonagent.
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.
from amonagent.
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 '.').
...
{
"cpu":0,
"memory_mb":"0.00",
"kb_read":0,
"kb_write":0,
"name":"firefox"
}
...
> pidstat -ruht
# Time UID TGID TID %usr %system %guest %CPU CPU minflt/s majflt/s VSZ RSS %MEM Command
...
1493588239 1000 3232 0 3,70 0,21 0,00 3,91 0 153,76 0,01 2792760 744472 23,90 firefox
1493588239 1000 0 3232 3,05 0,12 0,00 3,17 0 131,16 0,01 2792760 744472 23,90 |__firefox
...
Edit: It might be because my Linux uses non-US regional format for numbers and dates (number separator ',' instead of '.')
from amonagent.
@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 - .
and ,
, because my Linux install also uses non-US regional format as well
from amonagent.
Related Issues (20)
- ARM binary?
- Amon repository down HOT 3
- Windows agent HOT 4
- amonagent tags HOT 1
- "check-process.rb -p amonagent" failing HOT 4
- Can not connect to MongoDB database
- Amon Agent Stops Sending Data HOT 9
- Systemd - Killed by SIGPIPE
- ruby scripts empty response when amonagent starts as service HOT 2
- Amazon Linux dependency issue for RPM HOT 4
- Wrong command at documentation in bash script
- Agent build for Raspbian HOT 2
- Bug: Debian/Ubuntu - Agent failed to start HOT 5
- Explore adding support for Datadog Integrations HOT 2
- Amonagent failing to restart / monitoring within RedHat / Fedora with systemd
- Add ability to configure amonagent logging to custom file.
- Server without name in "servers" collection in the DB breaks the global Pause Alerts page
- mysql plugin HOT 1
- write on log when agent crash!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amonagent.