mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Merge branch 'categories'
add categories to plugins in "other" and move plugins to other dirs and categories
This commit is contained in:
commit
cfd76b05dd
@ -46,7 +46,7 @@ if [ "$1" = "config" ]; then
|
|||||||
echo 'graph_period '${graph_period}
|
echo 'graph_period '${graph_period}
|
||||||
fi
|
fi
|
||||||
echo 'graph_vlabel requests / ${graph_period}'
|
echo 'graph_vlabel requests / ${graph_period}'
|
||||||
echo 'graph_category Other'
|
echo 'graph_category auth'
|
||||||
|
|
||||||
echo 'requests.label Authentication requests'
|
echo 'requests.label Authentication requests'
|
||||||
echo 'requests.info freeRADIUS authentication requests'
|
echo 'requests.info freeRADIUS authentication requests'
|
@ -70,7 +70,7 @@ if [ "$1" = "config" ]; then
|
|||||||
echo 'graph_args --base 1000 -l 0 '
|
echo 'graph_args --base 1000 -l 0 '
|
||||||
echo 'graph_period second'
|
echo 'graph_period second'
|
||||||
echo 'graph_vlabel requests / ${graph_period}'
|
echo 'graph_vlabel requests / ${graph_period}'
|
||||||
echo 'graph_category Other'
|
echo 'graph_category auth'
|
||||||
|
|
||||||
echo 'queue_len_internal.label Internal'
|
echo 'queue_len_internal.label Internal'
|
||||||
echo 'queue_len_internal.info number of requests waiting in the internal queue'
|
echo 'queue_len_internal.info number of requests waiting in the internal queue'
|
@ -50,6 +50,7 @@ fi
|
|||||||
if [ "$1" = "config" ]; then
|
if [ "$1" = "config" ]; then
|
||||||
|
|
||||||
echo 'graph_title Munin-update'
|
echo 'graph_title Munin-update'
|
||||||
|
echo 'graph_category munin'
|
||||||
echo 'graph_vlabel seconds'
|
echo 'graph_vlabel seconds'
|
||||||
[ -f $UPDATE_STATSFILE ] || exit 0
|
[ -f $UPDATE_STATSFILE ] || exit 0
|
||||||
cat $UPDATE_STATSFILE | grep "UD" | while read i; do
|
cat $UPDATE_STATSFILE | grep "UD" | while read i; do
|
||||||
|
@ -23,6 +23,7 @@ if [ "$1" = "config" ]; then
|
|||||||
|
|
||||||
echo 'graph_title Yum Activity'
|
echo 'graph_title Yum Activity'
|
||||||
echo 'graph_args --base 1000 -l 0 '
|
echo 'graph_args --base 1000 -l 0 '
|
||||||
|
echo 'graph_category security'
|
||||||
echo 'graph_vlabel Yum Activity'
|
echo 'graph_vlabel Yum Activity'
|
||||||
echo 'updates.label Yum Updated'
|
echo 'updates.label Yum Updated'
|
||||||
echo 'updates.draw AREA'
|
echo 'updates.draw AREA'
|
||||||
|
@ -130,7 +130,7 @@ def print_config():
|
|||||||
print 'graph_title Greyfix triplets by age'
|
print 'graph_title Greyfix triplets by age'
|
||||||
print 'graph_vlabel Number of triplets'
|
print 'graph_vlabel Number of triplets'
|
||||||
print 'graph_info The amount of triplets in the greyfix database with a certain age'
|
print 'graph_info The amount of triplets in the greyfix database with a certain age'
|
||||||
print 'graph_category postfix'
|
print 'graph_category mail'
|
||||||
print 'graph_total All triplets'
|
print 'graph_total All triplets'
|
||||||
print 'graph_args --lower-limit 0 --base 1000'
|
print 'graph_args --lower-limit 0 --base 1000'
|
||||||
|
|
@ -35,7 +35,7 @@ fi
|
|||||||
|
|
||||||
if [ "$1" = "config" ]; then
|
if [ "$1" = "config" ]; then
|
||||||
echo 'graph_title SPF Check Results'
|
echo 'graph_title SPF Check Results'
|
||||||
echo 'graph_category postfix'
|
echo 'graph_category mail'
|
||||||
echo 'graph_args --base 1000 -l 0'
|
echo 'graph_args --base 1000 -l 0'
|
||||||
echo 'graph_vlabel Count/s'
|
echo 'graph_vlabel Count/s'
|
||||||
|
|
@ -36,7 +36,7 @@ fi
|
|||||||
if [ "$1" = "config" ]; then
|
if [ "$1" = "config" ]; then
|
||||||
|
|
||||||
echo 'graph_title Postfix Mail Counter'
|
echo 'graph_title Postfix Mail Counter'
|
||||||
echo 'graph_category postfix'
|
echo 'graph_category mail'
|
||||||
echo 'graph_args --base 1000 -l 0'
|
echo 'graph_args --base 1000 -l 0'
|
||||||
echo 'graph_vlabel Hourly Messages'
|
echo 'graph_vlabel Hourly Messages'
|
||||||
echo 'recieved.label Delivered'
|
echo 'recieved.label Delivered'
|
||||||
|
@ -143,7 +143,7 @@ multigraph power_amps_drawn
|
|||||||
graph_title Power Draw in Amps
|
graph_title Power Draw in Amps
|
||||||
graph_args --lower-limit 0
|
graph_args --lower-limit 0
|
||||||
graph_vlabel Amps
|
graph_vlabel Amps
|
||||||
graph_category pdu
|
graph_category sensors
|
||||||
graph_scale no
|
graph_scale no
|
||||||
graph_info This shows the amperage drawn on your PDU. Per NEC, a PDU should not sustain 80% of its maximum circuit capacity for more than three hours.
|
graph_info This shows the amperage drawn on your PDU. Per NEC, a PDU should not sustain 80% of its maximum circuit capacity for more than three hours.
|
||||||
|
|
||||||
@ -167,7 +167,7 @@ multigraph power_power_factor
|
|||||||
graph_title Power Factor
|
graph_title Power Factor
|
||||||
graph_args --lower-limit 0
|
graph_args --lower-limit 0
|
||||||
graph_vlabel Power Factor
|
graph_vlabel Power Factor
|
||||||
graph_category pdu
|
graph_category sensors
|
||||||
graph_scale no
|
graph_scale no
|
||||||
graph_info Power factor represents the efficiency of the components connected to the circuit. Power factor declines as components age, increasing the overall load on the circuit.
|
graph_info Power factor represents the efficiency of the components connected to the circuit. Power factor declines as components age, increasing the overall load on the circuit.
|
||||||
|
|
||||||
@ -186,7 +186,7 @@ multigraph power_crest_factor
|
|||||||
graph_title Crest Factor
|
graph_title Crest Factor
|
||||||
graph_args --lower-limit 0
|
graph_args --lower-limit 0
|
||||||
graph_vlabel Crest Factor
|
graph_vlabel Crest Factor
|
||||||
graph_category pdu
|
graph_category sensors
|
||||||
graph_scale no
|
graph_scale no
|
||||||
graph_info Crest factor relates the peak value of a signal to its root mean square value. For three-phase AC, a crest factor of 1.732 is expected. Low crest factor may indicate UPS overclipping and crest factors over 5 degrade monitoring accuracy.
|
graph_info Crest factor relates the peak value of a signal to its root mean square value. For three-phase AC, a crest factor of 1.732 is expected. Low crest factor may indicate UPS overclipping and crest factors over 5 degrade monitoring accuracy.
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ if [ "$1" = "config" ]; then
|
|||||||
echo 'multigraph apc_status'
|
echo 'multigraph apc_status'
|
||||||
echo "graph_title UPS Status - $title"
|
echo "graph_title UPS Status - $title"
|
||||||
echo 'graph_args --base 1000'
|
echo 'graph_args --base 1000'
|
||||||
echo 'graph_category hardware'
|
echo 'graph_category sensors'
|
||||||
title=`/sbin/apcaccess | egrep "^MODEL" | awk '{print $3" "$4" "$5" "$6" "$7" "$8" "$9;}'`
|
title=`/sbin/apcaccess | egrep "^MODEL" | awk '{print $3" "$4" "$5" "$6" "$7" "$8" "$9;}'`
|
||||||
echo "graph_info $title"
|
echo "graph_info $title"
|
||||||
for key in $keys; do
|
for key in $keys; do
|
||||||
@ -35,7 +35,7 @@ if [ "$1" = "config" ]; then
|
|||||||
if [ -n "$unit" ]; then
|
if [ -n "$unit" ]; then
|
||||||
echo "graph_vlabel $unit"
|
echo "graph_vlabel $unit"
|
||||||
fi
|
fi
|
||||||
echo 'graph_category hardware'
|
echo 'graph_category sensors'
|
||||||
echo "$key.label $key"
|
echo "$key.label $key"
|
||||||
echo "$key.info $key."
|
echo "$key.info $key."
|
||||||
echo "$key.draw LINE1"
|
echo "$key.draw LINE1"
|
||||||
|
Loading…
Reference in New Issue
Block a user