Commit Graph

8 Commits

Author SHA1 Message Date
Lars Kruse 7fed3b9765 Fix multiple shellcheck issues 2019-08-13 05:16:13 +02:00
Lars Kruse 7c62b9b6de added executable permission for multiple plugins 2018-03-09 00:18:30 +01:00
dipohl a4710dc1a4 Category Tree: Reduce number of categories
cacti -> munin (cacti) [Monitoring the monitoring.. nagios and monit
already there. shall we use a new name for the category then?]
san -> fs (netapp)
san -> cpu (netapp)
nfs -> fs
2017-02-23 04:00:39 +01:00
Petteri Valkonen cadcfa01fb Use /usr/bin/env bash in shebang for portability 2014-04-07 22:28:15 +03:00
Adam Michel 3cd07ace54 Added nfs_client_cache plugin
This adds a plugin for tracking NFS client caching statistics. Because
the output for this segment of nfsstat was slightly different, the
parsing required some awk dancing to programatically make coherent
labels. It's basically a separate function anyway. Right?
2013-07-01 16:50:14 -07:00
Adam Michel e891287fd3 Added v3 to title, added nfs_client
I added a v3 to the title of the nfsd graph to reduce ambiguity.

This is also the initial commit of the nfs_client plugin. It is
essentially identical to server. The output of nfsstat for client is
somewhat different from server in the labeling of the cache entries.
As such, I've left them off here and will add a standalone plugin for
nfs_client_cache where the awful, terrible, hideous string parsing will
take place without sullying the triviality and simplicity of this
working plugin.
2013-07-01 16:30:42 -07:00
Adam Michel d0d72f5daa Better README 2013-07-01 16:22:40 -07:00
Adam Michel 960122b96c Initial Commit of FreeBSD NFS Plugins
This is an initial commit of FreeBSD NFS plugins for the Munin
monitoring platform. The NFS plugins for Munin depend on the
/proc filesystem in Linux for statistics which does not exist in
FreeBSD by default. While one can add the linproc package to their
installation to emulate this functionality, I felt it would be better
to write plugins that made use of native tools.

I'm leveraging the nfsstat command to create these plugins. I'm sure
there is a better primary data source in FreeBSD to gather this output
from but for my purposes, using nfsstat is adequate and acceptable.
Unfortunately this means if the output of the nfsstat command changes
due to updates, these plugins will likely report inaccurate data.
These are the days of our lives, as they say. Someone with appropriate
levels of FreeBSD knowledge can probably improve these plugins
trivially.

I'm specifically targeting FreeNAS/NAS4Free, but the code should work
on any FreeBSD system with minimal package additions. Installing munin
on FreeNAS is not supported in general, but it's easy enough to do and
I wanted it monitored, ergo we are here.
2013-07-01 16:11:50 -07:00