aboutsummaryrefslogtreecommitdiff
path: root/utils/collectd/files/exec-scripts
Commit message (Collapse)AuthorAge
* collectd: sqm_collect: optimise parent searchKevin Darbyshire-Bryant2021-10-06
| | | | | | | There can be only 1 parent process ID, so as soon as we find it, print it and exit - there's no point searching any of the following lines Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* collectd: sqm_collect: handle being orphanedKevin Darbyshire-Bryant2021-10-02
| | | | | | | | | | If the master collectd instance gets shut down in an uncontrolled manner (crashes!) then sqm_collect scripts will be left orphaned and will run forever. Modify script to check if it still has a parent and if not, exit. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* collectd: sqm_collect: tidy interval string handlingKevin Darbyshire-Bryant2020-05-25
| | | | Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* collectd: sqm_collectd: improve error handlingKevin Darbyshire-Bryant2020-05-25
| | | | Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* collectd: Improve sqm_collectd error reportingKevin Darbyshire-Bryant2020-05-17
| | | | Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* collectd: sqm_collectd improve interface name filterKevin Darbyshire-Bryant2020-05-07
| | | | | | | | | | | | Increase the range of characters that get substituted by '_' so the shell doesn't complain about illegal variable names. Primarily done to catch '.' and '-' but who knows what funnies will appear in i/f names. It's a shame that busybox ash doesn't understand :alnum: Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* collectd: SQM collect data from some qdiscsKevin Darbyshire-Bryant2020-05-05
Add a script that can collect data from mq (multi queue) and cake qdiscs. Script is reliant on collectd's 'exec' module. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>