This plugin collects most statistics from NSD name servers. It
should be called nsd_by_type, nsd_by_rcode or nsd_hits to monitor
queries received by type, replies sent by rcode or the base query
volume, respectively. The plugin is friendly to the name server
and only sends one signal per run (even if three links exist).
In some cases it can be useful to know the maximum value of any row of an
aggregate (for example, the maximum number of logins by a single user), without
graphing each row separately (because there are too many or the rows change).
This change allows that by setting the "only" parameter to "max" or "min".
v0.7 - added critical thresholds to some graphs, and some descriptions below some of them
v0.6 - added wlan errors by type graph - useful to detect interferences on the same frequency; added CPU usage graph
v0.5 - added ping graph - ping times from the AirOS device to a configured address; other fixes
v0.4 - corrected memory size unit calculation and display, fixed query bug, fancier graphs for memory and link speed
v0.3 - added undefined values handling in case of connection timeout, corrected linefeed character handling
v0.2 - combined all the separate pugins into one multigraph plugin, a couple of charts separated
v0.1 - initial version, separate plugin for each graph, packaged 11 different plugins
I noticed a problem with date format on /var/log/auth.log (tested on debian and ubuntu)
$ date '+%b %d'
Jun 09
/var/log/auth.log
Jun 9 13:17:01
So grep "`date '+%b %d'`" can't works fine for day with 1 digit.
I suggest to factorize and change the grep's regex with my update.
The existing Unicorn plugins are written in Ruby, which didn't work well for me due to ENV variables etc.
This plugin monitors number of workers, total memory used and average memory per process for Unicorn.
ln -s /usr/share/munin/plugins/unicorn_ /etc/munin/plugins/unicorn_average
ln -s /usr/share/munin/plugins/unicorn_ /etc/munin/plugins/unicorn_memory
ln -s /usr/share/munin/plugins/unicorn_ /etc/munin/plugins/unicorn_processes
It can easily be adapated to any multi threaded server by just changing the value it searches for 'unicorn worker' in this case.