We have some python applications with uWSGI (Web Server Gateway Interface) and could be interesting to show uses of workers, respawns, requests, …
I don’t know how to create a new applicacion in librenms, or there is an example how to do it (template or similar).
uWSGI has a stats resource who gives you a JSON file with values. I can put this on snmp extend (this is the easy part).
You should give it go. It’s not that tricky!
You can find plenty of examples, like this:
librenms:master
← hvanoch:supervisord
opened 02:07PM - 12 Jan 22 UTC
This PR adds stats for [supervisord](http://supervisord.org/). It will show the … total number of processes per status. It also adds the up-time and state (number used by supervisor) per process. This up-time can be useful to detect if a process is stuck if we would expect to only run for a certain amount of time.
This allows to set alerting on certain supervisor statuses.
PR for the agent: https://github.com/librenms/librenms-agent/pull/392
DO NOT DELETE THE UNDERLYING TEXT
#### Please note
> Please read this information carefully. You can run `./lnms dev:check` to check your code before submitting.
- [x] Have you followed our [code guidelines?](https://docs.librenms.org/Developing/Code-Guidelines/)
- [ ] If my Pull Request does some changes/fixes/enhancements in the WebUI, I have inserted a screenshot of it.
- [x] If my Pull Request makes discovery/polling/yaml changes, I have added/updated [test data](https://docs.librenms.org/Developing/os/Test-Units/).
#### Testers
If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`. If there are schema changes, you can ask on discord how to revert.
And a bunch more here; https://github.com/librenms/librenms/pulls?q=is%3Apr+label%3A"Applications+%3Afloppy_disk%3A"+is%3Aclosed