Reduce number of categories

This commit is contained in:
dipohl 2017-02-23 21:50:22 +01:00
parent c0568802bf
commit 0104c6d40a
18 changed files with 28 additions and 28 deletions

View File

@ -62,7 +62,7 @@ echo "host_name $hostname"
echo "graph_args --base 1000"
echo "graph_title Carrier/Noise Ratio"
echo "graph_vlabel dB"
echo "graph_category dvb"
echo "graph_category radio"
echo "graph_scale no"
echo "graph_info Calculated carrier/noise ratio of the signal. To avoid data errors, the decoding of a received signal requires a minimum C/N ratio that depends on the FEC rate."
echo "cpn.label C/N"
@ -74,7 +74,7 @@ echo "host_name $hostname"
echo "graph_args --base 1000"
echo "graph_title Carrier Frequency Offset"
echo "graph_vlabel MHz"
echo "graph_category dvb"
echo "graph_category radio"
echo "graph_scale no"
echo "graph_info Incoming signals from the LNB are subject to frequency tolerances, thus check the 'CFO Error' under menu item 'Status>Tuner'. This value represents the margin by which the entered frequency deviates from the actual frequency. In order to maximize reception quality the CFO error should be minimized."
echo "cfo.label CFO"
@ -86,7 +86,7 @@ echo "host_name $hostname"
echo "graph_args --base 1000"
echo "graph_title RF Signal Level"
echo "graph_vlabel dBm"
echo "graph_category dvb"
echo "graph_category radio"
echo "graph_scale no"
echo "graph_info Input for the connection of the receiving LNB of the satellite antenna. Admissible RF signal input range is -82 to -10 dBm."
echo "inp.label RF level"
@ -98,7 +98,7 @@ echo "host_name $hostname"
echo "graph_args --base 1000"
echo "graph_title Tuner system Status"
echo "graph_vlabel 1=OK, 0=BAD"
echo "graph_category dvb"
echo "graph_category radio"
echo "graph_scale no"
echo "graph_info Tuner system status: 1 = 'OK' or 0 = 'BAD'. It is OK if all the following values are OK: AGC (Automatic Gain Control), CE (Carrier Frequency Offset Estimation), Symbol Timing, Carrier Locked, Viterbi error correction."
echo "tnr.label Tuner status"
@ -110,7 +110,7 @@ echo "host_name $hostname"
echo "graph_args --base 1000"
echo "graph_title Warning LED"
echo "graph_vlabel 0=OFF; >0=ON"
echo "graph_category dvb"
echo "graph_category radio"
echo "graph_scale no"
echo "graph_info Every monitoring function has a checkbox 'warning LED on' to select if the 'Warning' LED on the web interface and the front panel of the device is activated on alarms or not."
echo "ld2.label Warning"
@ -122,7 +122,7 @@ echo "host_name $hostname"
echo "graph_args --base 1000 --logarithmic"
echo "graph_title BER Viterbi/LDPC"
echo "graph_vlabel Bit Error Rate"
echo "graph_category dvb"
echo "graph_category radio"
#echo "graph_scale no"
echo "graph_info Detected bit error rate (BER) before the Viterbi error correction."
echo "ber_vt.label Viterbi/LDPC BER"
@ -134,7 +134,7 @@ echo "host_name $hostname"
echo "graph_args --base 1000 --logarithmic"
echo "graph_title BER Reed Solomon/BCH"
echo "graph_vlabel Bit Error Rate"
echo "graph_category dvb"
echo "graph_category radio"
#echo "graph_scale no"
echo "graph_info Detected bit error rate (BER) before the Reed Solomon error correction."
echo "ber_rs.label RS/BCH BER"

View File

@ -93,7 +93,7 @@ def print_adapter_config(dvb_adapter) :
print ('graph_title DVB Femon Sensors '+dvb_adapter[0])
print ('graph_args '+os.getenv('graph_args','--lower-limit 0 --upper-limit 100 --rigid'))
print ('graph_vlabel Quality')
print ('graph_category DVB')
print ('graph_category other')
print ('graph_info This graph shows femon output for your dvb-'+dvb_adapter[0])
print ('str.label Signal Strength')

View File

@ -72,7 +72,7 @@ if [ "$1" = "config" ]; then
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
# 420 milliload)
#echo 'graph_scale no'
echo 'graph_category RabbitMQ'
echo 'graph_category chat'
echo "connections.label Connections"
echo "connections.warning $CONN_WARN"

View File

@ -51,7 +51,7 @@ if [ "$1" = "config" ]; then
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
# 420 milliload)
#echo 'graph_scale no'
echo 'graph_category RabbitMQ'
echo 'graph_category chat'
for queue in $QUEUES; do
echo "$queue.label $queue"

View File

@ -51,7 +51,7 @@ if [ "$1" = "config" ]; then
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
# 420 milliload)
#echo 'graph_scale no'
echo 'graph_category RabbitMQ'
echo 'graph_category chat'
for queue in $QUEUES; do
echo "$queue.label $queue"

View File

@ -51,7 +51,7 @@ if [ "$1" = "config" ]; then
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
# 420 milliload)
#echo 'graph_scale no'
echo 'graph_category RabbitMQ'
echo 'graph_category chat'
for queue in $QUEUES; do
echo "$queue.label $queue"

View File

@ -51,7 +51,7 @@ if [ "$1" = "config" ]; then
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
# 420 milliload)
#echo 'graph_scale no'
echo 'graph_category RabbitMQ'
echo 'graph_category chat'
for queue in $QUEUES; do
echo "$queue.label $queue"

View File

@ -51,7 +51,7 @@ if [ "$1" = "config" ]; then
# We want Cur/Min/Avg/Max unscaled (i.e. 0.42 load instead of
# 420 milliload)
#echo 'graph_scale no'
echo 'graph_category RabbitMQ'
echo 'graph_category chat'
for queue in $QUEUES; do
echo "$queue.label $queue"

View File

@ -44,7 +44,7 @@ def print_config():
graph_title senderscore reputation
graph_info This graph shows senderscore.org reputation metrics
graphs_args --upper-limit 100 -u 100 -l 0
graph_category senderscore
graph_category other
graph_vlabel score
graph_scale no

View File

@ -51,7 +51,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config')
print <<EOC
graph_title $TITLE
graph_vlabel Totals
graph_category spotweb
graph_category other
spots.label New Spots
downloaded.label Downloads
EOC

View File

@ -53,7 +53,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config') {
print <<EOC
graph_title $TITLE
graph_vlabel Spots
graph_category spotweb
graph_category other
cat0.label Videos/images
cat0.colour 008edf
cat1.label Music

View File

@ -46,7 +46,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config') {
print <<EOC
graph_title Spotweb spots by Category (Totals)
graph_vlabel Spots
graph_category spotweb
graph_category other
cat0.label Videos/images
cat0.colour 0f94e1
cat1.label Music
@ -75,4 +75,4 @@ sub print_value {
my $spots = `$MYSQL $MYSQLOPTS -e "SELECT count(*) as spots FROM $DATABASE.spots WHERE category = $_[0]$_[1];"`;
$spots =~ /(\d+)/;
print "cat".$_[0].".value ".$1."\n";
}
}

View File

@ -53,7 +53,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config') {
print <<EOC
graph_title $TITLE
graph_vlabel Size
graph_category spotweb
graph_category other
cat0.label Videos/images
cat0.colour 008edf
cat1.label Music

View File

@ -46,7 +46,7 @@ if(defined $ARGV[0] && $ARGV[0] eq 'config') {
print <<EOC
graph_title Spotweb spots and comments (Totals)
graph_vlabel Spots/comments
graph_category spotweb
graph_category other
spots.label Spots
EOC
;

View File

@ -36,7 +36,7 @@ if(exists $ARGV[0] and $ARGV[0] eq "config")
{
print "graph_title Teamspeak User\n";
print "graph_vlabel Connected Teamspeak Users\n";
print "graph_category Teamspeak\n";
print "graph_category voip\n";
print "graph_info This graph shows the number of connected users on a Teamspeak3 server\n";
foreach my $server (@serverids)
{
@ -77,4 +77,4 @@ else
}
$telnet->close;
}
exit;
exit;

View File

@ -127,7 +127,7 @@ if (exists $ARGV[0] and $ARGV[0] eq "autoconf") {
print "graph_title Teamspeak Users ".$name."\n";
print "graph_vlabel Connected Teamspeak Users\n";
print "graph_category Teamspeak\n";
print "graph_category voip\n";
print "graph_info This graph shows the number of connected users on a Teamspeak3 server\n";
print "users.label Users\n";
print "users.info Connected users to ".$name."\n";
@ -138,7 +138,7 @@ if (exists $ARGV[0] and $ARGV[0] eq "autoconf") {
#overview mode
print "graph_title Teamspeak Users Overview\n";
print "graph_vlabel Connected Teamspeak Users\n";
print "graph_category Teamspeak\n";
print "graph_category voip\n";
print "graph_info This graph shows the number of connected users on a Teamspeak3 server\n";
foreach (@num) {
@ -162,7 +162,7 @@ if (exists $ARGV[0] and $ARGV[0] eq "autoconf") {
#transfer mode
print "graph_title Teamspeak Transfer Overview\n";
print "graph_vlabel Teamspeak Transfer\n";
print "graph_category Teamspeak\n";
print "graph_category voip\n";
print "graph_info This graph shows the Teamspeak3 Transfer Overview\n";
print "transfer.label ~ Transfer per second\n";
print "transfer.info Transfer per second over 5 min\n";

View File

@ -45,7 +45,7 @@ if ( exists $ARGV[0] and $ARGV[0] eq "config" )
{
print "graph_title Teamspeak User\n";
print "graph_vlabel Connected Teamspeak Users\n";
print "graph_category Teamspeak\n";
print "graph_category voip\n";
#print "graph_args --base 1000 -l 0\n";
print "graph_info This graph shows the number of connected users on a teamspeak2 server\n";
foreach my $server (@uports)

View File

@ -5,7 +5,7 @@ if [ "$1" = "config" ]; then
echo graph_title $V 24h visitors for $RID
echo 'graph_args --base 1000'
echo 'graph_vlabel vizitatori_ultimele_24_ore'
echo 'graph_category Trafic_ro'
echo 'graph_category other'
echo 'graph_info 24h visitors.'
echo "24h_visitors.label $RID"
echo "24h_visitors.info 24H visitors for $RID"