Page 1 of 1

Custom charts on 'Graph' page (collectd)

Posted: Tue Jan 23, 2018 9:32 pm
by xaptronic
Hello,

I'm running VestaCP on a VPS on digitalocean. I started using collectd to gather additional stats from log files and I have some plans for some other items. I've attempted to modify as little of the CP files as possible while doing so by putting as much logic into custom scripts that follow the patterns set out by other similar scripts.

My question comes down to, are there any plans to potentially allow for adding custom / additional charts to the Graphs page in the admin? I've implemented my solution roughly as a sort of "v-list-sys-rrd-collectd" where I output json to be included in the output of v-list-sys-rrd that then shows on up Graphs.

If there isn't anyway to do this without modifying the core files, I'm happy to fork, clean up my work a bit and submit a PR.

I'm also using collectd to solve this issue: viewtopic.php?f=16&t=10826

I've implemented status code monitoring (for the entire server) as well as a ban / unban graph. I've used these pieces of data to successfully fix problems related to bots sending post repeated post requests to /wp-admin.php on wordpress sites.

I would also be interested in adding support for collectd if there is any interest in using it as a more sophisticated alternative to the currently provided system metrics.