Comments (6)
An example:
I have supervisord configured to run a lot of server daemons that I wish to monitor. I would like that amon collector would ask supervisor_ctl for process names, groups and pid so it can monitor those processes as if I had manually added them to 'process_checks' configuration myself. This way I only need to configure my daemons in one location.
from amon.
That sounds good. But I am not sure if I can work on that specific feature anytime soon.
But it's not hard to implement - if you like, you can do that.
The only thing Amon cares about is a list with all the processes in defaults.py
So you can create a small python script that checks /etc/supervisord or supervisorctl and returns a list with all the values,
than in defaults.py - you can import the variables from the script and replace the PROCESS_CHECKS list defaults.
from amon.
The thing is, I don't have process names, but PIDs... but I will see what can I do and then send you a pull request.
from amon.
This would be an ace feature. How are you going about it, @santagada?
from amon.
Right now my instance creation script both creates the supervisord configuration and adds the process names to amon conf.
Later what I plan to do it to modify amond to query supervisor using the xmlrpc interface... the thing is, should it do it once whant loading the configuration or should it try to refresh the data? Also there could be a supervisor plugin atached to an event to send event data to amon.
from amon.
Alright, excellent. Querying supervisor sounds like the reasonable next step. I definitely think it should refresh the configuration (event driven, optimally).
from amon.
Related Issues (20)
- MongoDB Auth
- Launch forum.amon.cx with discourse.org HOT 2
- Windows Agent Update
- Feature request: ZFS, BTRFS Volume monitoring by amon agent HOT 7
- Feature request: MDADM raid status monitoring by amon agent HOT 1
- Feature Request: Proxmox as Cloud provider
- Feature Request: OpenStack as Cloud provider HOT 1
- Explore the possibility of adding metrics pull for Prometheus exporters
- Feature request: Maintenance windows
- Feature request: Parent/Master check
- Feature Request: Package amon-server as snap
- Explore the possibility of adding OpsView integrations metrics
- python manage.py migrate - Error HOT 5
- Dockered amon - CSRF verification failed. Request aborted.
- Error installing amonagent - Debian Stretch
- make a CONTRIBUTING.md HOT 1
- Agent daemon not running after restart HOT 1
- [ISSUE] amonagent can't connect to Amon API
- Status of Amon HOT 3
- CI feature: integrate pull request preview environments
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 amon.