Skip to content

Commit

Permalink
Merge branch 'categories'
Browse files Browse the repository at this point in the history
Category Tree: Reduce number of categories
  • Loading branch information
dipohl committed Feb 23, 2017
2 parents c27b260 + a4710dc commit 3e43463
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion plugins/cacti/cacti-host
Expand Up @@ -21,7 +21,7 @@ if [[ $1 != "" ]]; then
echo "graph_title Servidores consultados"
echo "graph_vlabel Numero servidores (s)"
echo "poller_hosts.label hosts(s)"
echo 'graph_category cacti'
echo 'graph_category munin'
exit 0
fi
fi
Expand Down
2 changes: 1 addition & 1 deletion plugins/cacti/cacti_poller_time
Expand Up @@ -21,7 +21,7 @@ if [[ $1 != "" ]]; then
echo "graph_title Poller Time"
echo "graph_vlabel Time(s)"
echo "poller_time.label time(s)"
echo 'graph_category cacti'
echo 'graph_category munin'
exit 0
fi
fi
Expand Down
2 changes: 1 addition & 1 deletion plugins/cacti/cacti_rrds
Expand Up @@ -21,7 +21,7 @@ if [[ $1 != "" ]]; then
echo "graph_title RRDs Procesados Time"
echo "graph_vlabel Numero de RRDs"
echo "rrds.label rrds"
echo 'graph_category cacti'
echo 'graph_category munin'
exit 0
fi
fi
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion plugins/netapp/snmp__netapp_cifs
Expand Up @@ -33,7 +33,7 @@ if len(sys.argv) == 2 and sys.argv[1] == "config":
print 'graph_title CIFS usage on '+servername
print 'graph_args --base 1000 -l 0'
print 'graph_vlabel number'
print 'graph_category san'
print 'graph_category fs'
print 'graph_info This graph shows CIFS usage on '+servername

print 'cifsConnectedUsers.label ConnectedUsers'
Expand Down
2 changes: 1 addition & 1 deletion plugins/netapp/snmp__netapp_cifs2
Expand Up @@ -84,7 +84,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_title $host CIFS sessions\n";
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
print "graph_vlabel CIFS\n";
print "graph_category san\n";
print "graph_category fs\n";
print "graph_info This graph shows CIFS sessions status for the $host.\n";
print "graph_order ";
foreach (sort keys %oids)
Expand Down
2 changes: 1 addition & 1 deletion plugins/netapp/snmp__netapp_cifscalls
Expand Up @@ -91,7 +91,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_title $host CIFS calls\n";
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
print "graph_vlabel calls / \${graph_period}\n";
print "graph_category san\n";
print "graph_category fs\n";
print "graph_info This graph shows cifs calls for the $host NetApp equipment.\n";
print "graph_order ";
foreach (sort keys %oids)
Expand Down
2 changes: 1 addition & 1 deletion plugins/netapp/snmp__netapp_cpu
Expand Up @@ -34,7 +34,7 @@ if len(sys.argv) == 2 and sys.argv[1] == "config":
print 'graph_scale no'
print 'graph_info This graph shows how CPU time is spent.'
print 'graph_period second'
print 'graph_category san'
print 'graph_category cpu'

print 'usage.label cpu_usage '
print 'usage.draw STACK'
Expand Down
2 changes: 1 addition & 1 deletion plugins/netapp/snmp__netapp_cpu2
Expand Up @@ -93,7 +93,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_title $host CPU \n";
print "graph_args --base 1000 -r --lower-limit 0 --upper-limit 100\n";
print "graph_vlabel CPU \n";
print "graph_category san\n";
print "graph_category cpu\n";
print "graph_info This graph shows cpu busy value for the $host in percent.\n";
print "graph_order ";
foreach (sort keys %oids)
Expand Down
2 changes: 1 addition & 1 deletion plugins/netapp/snmp__netapp_ndmp
Expand Up @@ -84,7 +84,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_title $host NDMP \n";
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
print "graph_vlabel NDMP status\n";
print "graph_category san\n";
print "graph_category backup\n";
print "graph_info This graph shows NDMP status for the $host NetApp equipment.\n";
print "graph_order ";
foreach (sort keys %oids)
Expand Down
2 changes: 1 addition & 1 deletion plugins/netapp/snmp__netapp_nfs3calls
Expand Up @@ -121,7 +121,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config") {
print "graph_args --base 1000\n";
print "graph_vlabel calls / \${graph_period}\n";
# graph_category san # To show plugin in Gallery also in this category
print "graph_category nfs\n";
print "graph_category fs\n";
print "graph_info This graph shows NFSv3 calls for the $host NetApp equipment.\n";
print "graph_order ";

Expand Down
2 changes: 1 addition & 1 deletion plugins/netapp/snmp__netapp_ops
Expand Up @@ -85,7 +85,7 @@ if (defined $ARGV[0] and $ARGV[0] eq "config")
print "graph_title $host OPS \n";
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
print "graph_vlabel OPS \n";
print "graph_category san\n";
print "graph_category fs\n";
print "graph_info This graph shows OPS for the $host NetApp equipment.\n";
print "graph_order misc64CifsOps misc64NfsOps iscsi64Ops fcp64Ops misc64HttpOps\n";
foreach my $k (sort keys %config)
Expand Down
2 changes: 1 addition & 1 deletion plugins/netapp/snmp__netapp_reallocate
Expand Up @@ -112,7 +112,7 @@ sub do_config_vol
}
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
print "graph_vlabel reallocate_status status\n";
print "graph_category san\n";
print "graph_category fs\n";
foreach my $state ("reallocating", "redirecting", "quiesce", "debug")
{
print "$state.label $state\n";
Expand Down
2 changes: 1 addition & 1 deletion plugins/netapp/snmp__netapp_sis
Expand Up @@ -110,7 +110,7 @@ sub do_config_vol
}
print "graph_args --base 1000 --lower-limit 0 --rigid\n";
print "graph_vlabel sis status\n";
print "graph_category san\n";
print "graph_category fs\n";
print "graph_order sisInitialising sisRunning sisPending sisDebug\n";
foreach my $state ("debug", "initialising", "running", "pending")
{
Expand Down
2 changes: 1 addition & 1 deletion plugins/nfs-freebsd/nfs_client
Expand Up @@ -48,7 +48,7 @@ if [ "$1" = "config" ]; then
echo 'graph_args --base 1000 -l 0'
echo 'graph_vlabel requests / ${graph_period}'
echo 'graph_total total'
echo 'graph_category NFS'
echo 'graph_category fs'
for a in $labels; do echo "$a.label $a" ; echo "$a.type DERIVE"; echo "$a.min 0"; done
exit 0
fi
Expand Down
2 changes: 1 addition & 1 deletion plugins/nfs-freebsd/nfs_client_cache
Expand Up @@ -48,7 +48,7 @@ if [ "$1" = "config" ]; then
echo 'graph_args --base 1000 -l 0'
echo 'graph_vlabel requests / ${graph_period}'
echo 'graph_total total'
echo 'graph_category NFS'
echo 'graph_category fs'
for a in $labels; do echo "$a.label $a" ; echo "$a.type DERIVE"; echo "$a.min 0"; done
exit 0
fi
Expand Down
2 changes: 1 addition & 1 deletion plugins/nfs-freebsd/nfsd
Expand Up @@ -50,7 +50,7 @@ if [ "$1" = "config" ]; then
echo 'graph_args --base 1000 -l 0'
echo 'graph_vlabel requests / ${graph_period}'
echo 'graph_total total'
echo 'graph_category NFS'
echo 'graph_category fs'
for a in $labels; do echo "$a.label $a" ; echo "$a.type DERIVE"; echo "$a.min 0"; done
exit 0
fi
Expand Down

0 comments on commit 3e43463

Please sign in to comment.