1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 02:18:08 +00:00

Plugin-Gallery: Get better 2nd level headings

Review of category mail
This commit is contained in:
dipohl 2017-02-24 20:20:32 +01:00
parent e777037d06
commit 54a91c13a4
17 changed files with 2 additions and 2 deletions

29
plugins/qmail/qremote Executable file
View file

@ -0,0 +1,29 @@
#!/bin/sh
#
# Plugin to count the qmail-remote processes
#
# Magic markers - optional - used by installation scripts and
# munin-config:
#
#%# family=manual
#%# capabilities=autoconf
if [ "$1" = "autoconf" ]; then
echo "yes"
exit 0
fi
if [ "$1" = "config" ]; then
cat <<EOT
graph_title Qmail-remote processes
graph_args --base 1000 -l 0
graph_vlabel running processes
graph_category Mail
remote.label remote
remote.type GAUGE
EOT
exit 0
fi
echo -n "remote.value " && pgrep qmail-remote | wc -l