Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 23 lines (17 sloc) 645 Bytes
# silence!
exec >& /dev/null
# change this appropriately
declare -r MONITIS_RRD_DIR=/usr/share/monitisexchange/Monitis-Linux-Scripts/RRD
# this is usually the default
declare -r MUNIN_DIR=/var/lib/munin
main() {
# this will update monitor 'threads' with the counter 'threads'
# this monitor must exist prior to hooking this script on crontab
# the monitor and counters can be easily created using:
# cd $MONITIS_RRD_DIR && \
# ./ munin add_monitor $MUNIN_DIR localhost threads threads
./ munin update_data_for_monitor $MUNIN_DIR localhost threads threads
main "$@"