Code Monkey home page Code Monkey logo

docs.amon.cx's People

Contributors

martinrusev avatar omgimalexis avatar pablocastellano avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docs.amon.cx's Issues

Custom plugin syntax

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"
},]

Multiple doc locations

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?

Don't run amon as root during installation

(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. :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.