From 83b1651d7d0e282b40993e8deb601d8e62fae731 Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Sun, 2 Oct 2011 18:04:24 +0200 Subject: [PATCH] Plot available entropy --- mrtg-alix/mrtg-scripts/explore_entropy | 6 ++++++ mrtg-alix/mrtg-scripts/mrtg.cfg | 16 ++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100755 mrtg-alix/mrtg-scripts/explore_entropy diff --git a/mrtg-alix/mrtg-scripts/explore_entropy b/mrtg-alix/mrtg-scripts/explore_entropy new file mode 100755 index 0000000..bd1ba19 --- /dev/null +++ b/mrtg-alix/mrtg-scripts/explore_entropy @@ -0,0 +1,6 @@ +#!/bin/sh + +cat /proc/sys/kernel/random/entropy_avail +echo "0" +echo "" +hostname -s diff --git a/mrtg-alix/mrtg-scripts/mrtg.cfg b/mrtg-alix/mrtg-scripts/mrtg.cfg index 7d1def4..1741b75 100644 --- a/mrtg-alix/mrtg-scripts/mrtg.cfg +++ b/mrtg-alix/mrtg-scripts/mrtg.cfg @@ -43,6 +43,22 @@ LegendO[cpu]:  nonidle WithPeak[cpu]: wym Colours[cpu]: ORANGE#ffa000, RED#f00000, BLACK#000000, VIOLET#ff00ff +# entropy +Target[entropy]: `/usr/local/sbin/explore_entropy` +MaxBytes[entropy]: 4500 +Title[entropy]: - Entropy +PageTop[entropy]:

System entropy

+Options[entropy]: growright,nopercent,gauge,noo +WithPeak[entropy]: ymw +ShortLegend[entropy]: entropy +YLegend[entropy]: entropy +Legend1[entropy]: entropy +Legend2[entropy]: - +LegendI[entropy]:  entropy +LegendO[entropy]:   +Colours[entropy]: ORANGE#ffa000, RED#f00000, BLACK#000000, VIOLET#ff00ff + + # CPU und MB tempreture Target[temp]: `/usr/local/sbin/explore_temp` MaxBytes[temp]: 100 -- 2.39.5