mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 02:33:18 +00:00
commit
e66faac0cc
1 changed files with 13 additions and 0 deletions
13
tools/profiling/dump_node
Executable file
13
tools/profiling/dump_node
Executable 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…
Add table
Add a link
Reference in a new issue