amonapp / docs.amon.cx Goto Github PK
View Code? Open in Web Editor NEWThe place for the amon documentation (and tools to build it)
Home Page: https://docs.amon.cx
The place for the amon documentation (and tools to build it)
Home Page: https://docs.amon.cx
The documentation on writing a custom plugin specifies the following:
Add the command that can execute this file in /etc/opt/amonagent/plugins-enabled/custom.conf
[{ "command":"python /path/to/your-metrics.py", "name":"requests"},]
After testing my custom plugin I kept getting the issue error:
ERRO[0000] Can't decode JSON file error="invalid character ']' looking for beginning of value" plugin=custom
{}
This appears to be a formatting issue on the Wiki, since formatting the command as below solves this issue:
[{
"command":"python /path/to/your-metrics.py",
"name":"requests"
},]
There appears to be docs at docs.amon.cx
and amon.cx/docs
, with docs.amon.cx
being more current. In the interest of not confusing an enduser, is there a plan to retire the older docs?
(I hope it's okay if I grab issue #1 ;-) Congrats to open sourcing Amon! Very much looking forward to it!)
The install docs aren't totally clear which user the installation should be run as. I suggest switching to the amon user right after chowning the folders.
Otherwise this command
# To test if Amon is configured properly
python manage.py runserver
will create files as root in /opt/amon
and the regular systemd installation won't come up. :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.