1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 18:38:30 +00:00
This commit is contained in:
Luka Furlan 2012-02-21 12:32:25 +01:00
commit 4ad7a32a0d
714 changed files with 4180 additions and 755 deletions

View file

@ -1,5 +1,35 @@
This is the repository for all user contributed stuff # This is the repository for all user contributed stuff
* contrib/tools/ is for 3rd-party tools. It usually serves as an incubator of trunk/contrib. ## contrib/plugins/ - 3rd-party plugins
* contrib/plugins/ is for 3rd-party plugins. It will serve as the backend of exchange.munin-monitoring.org when it is operational again.
* contrib/templates/ is for 3rd-party templates. Feel free to update templates, or even to create new ones. Bonus points for mobile-friendly ones :) **This is usually where you want to begin your journey.**
Here you'll find all the plugins coming from http://exchange.munin-monitoring.org/.
That web site is for the time being disabled, new updates are done here.
If a dedicated website comes back alive, its plugin backend will be this git repo.
## contrib/templates/ - 3rd-party templates
Feel free to update templates here, or even to create new ones.
Bonus points for mobile-friendly ones :)
Note that the one named `official` is a loose-synced copy of the one in SVN trunk.
It should serves as a base for small editions that can be resynced in SVN trunk, so for that :
* don't copy the whole template
* directly edit files in this directory
## contrib/tools/ - 3rd-party tools
Here, you can put just any kind of tool. Please use this directory instead of a random place on the internet.
It makes things way more easy to search for others.
And, it serves as an incubator of SVN `trunk/contrib` :-)
## Notes to contributors
We like to have ''elementary'' commits (a good rationale is : one per Changelog entry), as it is much easier to manage for reviewing. Debugging is also usually easier that way.
So please **don't** be afraid to make as many commits as needed.

BIN
images/snmp__fn-cpu.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
images/snmp__fn-memory.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
images/snmp__fn-sessions.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
images/snmp__fn-vpnsessions.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -14,17 +14,19 @@
#%# capabilities=autoconf #%# capabilities=autoconf
# #
# 2011/05/20 - pmoranga - initial version # 2011/05/20 - pmoranga - initial version
#
# 2012/01/27 - Sébastien Gross
# - Fix lvdisplay path
lvdisplay=$(which lvdisplay)
if [ "$1" = "autoconf" ]; then if [ "$1" = "autoconf" ]; then
/usr/sbin/lvdisplay 2>/dev/null >/dev/null if test -n "${lvdisplay}"; then
if [ $? -eq 0 ] echo yes
then exit 0
echo yes fi
exit 0 echo "no lvdisplay found"
else exit 1
echo "no lvdisplay found"
fi
exit 1
fi fi
@ -34,9 +36,9 @@ if [ "$1" = "config" ]; then
echo 'graph_vlabel %' echo 'graph_vlabel %'
echo 'graph_category disk' echo 'graph_category disk'
echo 'graph_args --base 100' echo 'graph_args --base 100'
/usr/sbin/lvdisplay -C | awk '$3 ~ /^s/{print $1".label "$1" snapshot of "$5} ' ${lvdisplay} -C | awk '$3 ~ /^s/{print $1".label "$1" snapshot of "$5} '
exit 0 exit 0
fi fi
/usr/sbin/lvdisplay -C | awk '$3 ~ /^s/{print $1".value",int($6)} ' ${lvdisplay} -C | awk '$3 ~ /^s/{print $1".value",int($6)} '

View file

@ -43,7 +43,6 @@ shopt -s extglob
EJCTL=$(which ejabberdctl) EJCTL=$(which ejabberdctl)
EJVER=$($EJCTL status | awk '/^ejabberd / {print $2}') EJVER=$($EJCTL status | awk '/^ejabberd / {print $2}')
MUNIN_DEBUG=${MUNIN_DEBUG:-0}
if [ "$1" == "autoconf" ]; then if [ "$1" == "autoconf" ]; then
if [ -x $EJCTL > /dev/null ]; then if [ -x $EJCTL > /dev/null ]; then

Some files were not shown because too many files have changed in this diff Show more