aboutsummaryrefslogtreecommitdiff
path: root/utils/munin_plugins
diff options
context:
space:
mode:
authorAntonio Juarez <antonio.maria.juarez@live.com>2014-03-03 22:07:58 +0000
committerAntonio Juarez <antonio.maria.juarez@live.com>2014-03-03 22:07:58 +0000
commit296ae46ed8f8f6e5f986f978febad302e3df231a (patch)
tree1629164454a239308f33c9e12afb22e7f3cd8eeb /utils/munin_plugins
parentchanged name (diff)
downloadmonero-296ae46ed8f8f6e5f986f978febad302e3df231a.tar.xz
moved all stuff to github
Diffstat (limited to 'utils/munin_plugins')
-rw-r--r--utils/munin_plugins/alt_blocks_count15
-rw-r--r--utils/munin_plugins/difficulty15
-rw-r--r--utils/munin_plugins/grey_peerlist_size15
-rw-r--r--utils/munin_plugins/height16
-rw-r--r--utils/munin_plugins/incoming_connections_count15
-rw-r--r--utils/munin_plugins/outgoing_connections_count15
-rw-r--r--utils/munin_plugins/tx_count16
-rw-r--r--utils/munin_plugins/tx_pool_size15
-rw-r--r--utils/munin_plugins/white_peerlist_size15
9 files changed, 137 insertions, 0 deletions
diff --git a/utils/munin_plugins/alt_blocks_count b/utils/munin_plugins/alt_blocks_count
new file mode 100644
index 000000000..38d091aed
--- /dev/null
+++ b/utils/munin_plugins/alt_blocks_count
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+case $1 in
+ config)
+ cat <<'EOM'
+graph_title alt_blocks_count
+graph_vlabel alt_blocks_count
+graph_category bytecoin
+alt_blocks_count.label alt_blocks_count
+EOM
+ exit 0;;
+esac
+
+printf "alt_blocks_count.value "
+/home/user/bytecoin_bin/connectivity_tool --ip=127.0.0.1 --rpc_port=8081 --timeout=1000 --rpc_get_daemon_info | grep alt_blocks_count | cut -d ' ' -f2
diff --git a/utils/munin_plugins/difficulty b/utils/munin_plugins/difficulty
new file mode 100644
index 000000000..b1319b16d
--- /dev/null
+++ b/utils/munin_plugins/difficulty
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+case $1 in
+ config)
+ cat <<'EOM'
+graph_title difficulty
+graph_vlabel difficulty
+graph_category bytecoin
+difficulty.label difficulty
+EOM
+ exit 0;;
+esac
+
+printf "difficulty.value "
+/home/user/bytecoin_bin/connectivity_tool --ip=127.0.0.1 --rpc_port=8081 --timeout=1000 --rpc_get_daemon_info | grep difficulty | cut -d ' ' -f2
diff --git a/utils/munin_plugins/grey_peerlist_size b/utils/munin_plugins/grey_peerlist_size
new file mode 100644
index 000000000..aaca8cf44
--- /dev/null
+++ b/utils/munin_plugins/grey_peerlist_size
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+case $1 in
+ config)
+ cat <<'EOM'
+graph_title grey_peerlist_size
+graph_vlabel grey_peerlist_size
+graph_category bytecoin
+grey_peerlist_size.label grey_peerlist_size
+EOM
+ exit 0;;
+esac
+
+printf "grey_peerlist_size.value "
+/home/user/bytecoin_bin/connectivity_tool --ip=127.0.0.1 --rpc_port=8081 --timeout=1000 --rpc_get_daemon_info | grep grey_peerlist_size | cut -d ' ' -f2
diff --git a/utils/munin_plugins/height b/utils/munin_plugins/height
new file mode 100644
index 000000000..eaa9e3e1b
--- /dev/null
+++ b/utils/munin_plugins/height
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+case $1 in
+ config)
+ cat <<'EOM'
+graph_title Height
+graph_vlabel height
+graph_category bytecoin
+height.label height
+height.type COUNTER
+EOM
+ exit 0;;
+esac
+
+printf "height.value "
+/home/user/bytecoin_bin/connectivity_tool --ip=127.0.0.1 --rpc_port=8081 --timeout=1000 --rpc_get_daemon_info | grep hight | cut -d ' ' -f2
diff --git a/utils/munin_plugins/incoming_connections_count b/utils/munin_plugins/incoming_connections_count
new file mode 100644
index 000000000..9078bc2d9
--- /dev/null
+++ b/utils/munin_plugins/incoming_connections_count
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+case $1 in
+ config)
+ cat <<'EOM'
+graph_title incoming_connections_count
+graph_vlabel incoming_connections_count
+graph_category bytecoin
+incoming_connections_count.label incoming_connections_count
+EOM
+ exit 0;;
+esac
+
+printf "incoming_connections_count.value "
+/home/user/bytecoin_bin/connectivity_tool --ip=127.0.0.1 --rpc_port=8081 --timeout=1000 --rpc_get_daemon_info | grep incoming_connections_count | cut -d ' ' -f2
diff --git a/utils/munin_plugins/outgoing_connections_count b/utils/munin_plugins/outgoing_connections_count
new file mode 100644
index 000000000..aeab9d73d
--- /dev/null
+++ b/utils/munin_plugins/outgoing_connections_count
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+case $1 in
+ config)
+ cat <<'EOM'
+graph_title outgoing_connections_count
+graph_vlabel outgoing_connections_count
+graph_category bytecoin
+outgoing_connections_count.label outgoing_connections_count
+EOM
+ exit 0;;
+esac
+
+printf "outgoing_connections_count.value "
+/home/user/bytecoin_bin/connectivity_tool --ip=127.0.0.1 --rpc_port=8081 --timeout=1000 --rpc_get_daemon_info | grep outgoing_connections_count | cut -d ' ' -f2
diff --git a/utils/munin_plugins/tx_count b/utils/munin_plugins/tx_count
new file mode 100644
index 000000000..7e9fa7a40
--- /dev/null
+++ b/utils/munin_plugins/tx_count
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+case $1 in
+ config)
+ cat <<'EOM'
+graph_title tx_count
+graph_vlabel tx_count
+graph_category bytecoin
+tx_count.label tx_count
+tx_count.type COUNTER
+EOM
+ exit 0;;
+esac
+
+printf "tx_count.value "
+/home/user/bytecoin_bin/connectivity_tool --ip=127.0.0.1 --rpc_port=8081 --timeout=1000 --rpc_get_daemon_info | grep tx_count| cut -d ' ' -f2
diff --git a/utils/munin_plugins/tx_pool_size b/utils/munin_plugins/tx_pool_size
new file mode 100644
index 000000000..0578b9090
--- /dev/null
+++ b/utils/munin_plugins/tx_pool_size
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+case $1 in
+ config)
+ cat <<'EOM'
+graph_title tx_pool_size
+graph_vlabel tx_pool_size
+graph_category bytecoin
+tx_pool_size.label tx_pool_size
+EOM
+ exit 0;;
+esac
+
+printf "tx_pool_size.value "
+/home/user/bytecoin_bin/connectivity_tool --ip=127.0.0.1 --rpc_port=8081 --timeout=1000 --rpc_get_daemon_info | grep tx_pool_size| cut -d ' ' -f2
diff --git a/utils/munin_plugins/white_peerlist_size b/utils/munin_plugins/white_peerlist_size
new file mode 100644
index 000000000..04524681a
--- /dev/null
+++ b/utils/munin_plugins/white_peerlist_size
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+case $1 in
+ config)
+ cat <<'EOM'
+graph_title white_peerlist_size
+graph_vlabel white_peerlist_size
+graph_category bytecoin
+white_peerlist_size.label white_peerlist_size
+EOM
+ exit 0;;
+esac
+
+printf "white_peerlist_size.value "
+/home/user/bytecoin_bin/connectivity_tool --ip=127.0.0.1 --rpc_port=8081 --timeout=1000 --rpc_get_daemon_info | grep white_peerlist_size | cut -d ' ' -f2