mirror of
https://github.com/munin-monitoring/contrib.git
synced 2024-09-10 10:42:43 +02:00
profiling: adding a dump_node
This commit is contained in:
parent
e5ceabe428
commit
97fdf4b33b
1 changed files with 13 additions and 0 deletions
13
tools/profiling/dump_node.sh
Normal file
13
tools/profiling/dump_node.sh
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
NODE=${1:-localhost}
|
||||||
|
PORT=${2:-4949}
|
||||||
|
|
||||||
|
{
|
||||||
|
for plugin in $(echo "list" | nc $NODE $PORT | tail -n 1)
|
||||||
|
do
|
||||||
|
echo "config $plugin"
|
||||||
|
echo "fetch $plugin"
|
||||||
|
done
|
||||||
|
echo "quit"
|
||||||
|
} | nc $NODE $PORT
|
Loading…
Reference in a new issue