mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-24 09:57:09 +00:00
Review and unify category assignments of plugins
This commit is contained in:
parent
c8df9ab4e9
commit
33e95e6ff9
59 changed files with 99 additions and 100 deletions
|
@ -125,7 +125,7 @@ if($ARGV[0] and $ARGV[0] eq "config")
|
|||
$config{$name}{'graph'}{'vlabel'} = '%';
|
||||
$config{$name}{'graph'}{'args'} = '--lower-limit 0 --upper-limit 100';
|
||||
$config{$name}{'graph'}{'scale'} = 'no';
|
||||
$config{$name}{'graph'}{'category'} = 'webserver';
|
||||
$config{$name}{'graph'}{'category'} = 'loadbalancer';
|
||||
$config{$name}{'graph'}{'order'} = 'all bytes memory disk';
|
||||
$config{$name}{'field'}{'all'}{'draw'} = 'AREA';
|
||||
$config{$name}{'field'}{'all'}{'label'} = 'Hits of all requests';
|
||||
|
@ -145,7 +145,7 @@ if($ARGV[0] and $ARGV[0] eq "config")
|
|||
$config{'squid_traffic'}{'graph'}{'title'} = 'Traffic statistics';
|
||||
$config{'squid_traffic'}{'graph'}{'vlabel'} = 'bytes in (-) / out (+) per second';
|
||||
$config{'squid_traffic'}{'graph'}{'args'} = '--base 1000';
|
||||
$config{'squid_traffic'}{'graph'}{'category'} = 'webserver';
|
||||
$config{'squid_traffic'}{'graph'}{'category'} = 'loadbalancer';
|
||||
$config{'squid_traffic'}{'graph'}{'order'} = 'client_http_in server_all_in server_http_in server_ftp_in ' .
|
||||
'server_other_in icp_in icp_q_in icp_r_in cd_in client_http_hit_out ' .
|
||||
'client_http_out server_all_out server_http_out server_ftp_out ' .
|
||||
|
@ -179,7 +179,7 @@ if($ARGV[0] and $ARGV[0] eq "config")
|
|||
$config{'squid_ipcache'}{'graph'}{'title'} = 'IP cache statistics';
|
||||
$config{'squid_ipcache'}{'graph'}{'vlabel'} = 'Count';
|
||||
$config{'squid_ipcache'}{'graph'}{'args'} = '--base 1000';# --logarithmic';
|
||||
$config{'squid_ipcache'}{'graph'}{'category'} = 'webserver';
|
||||
$config{'squid_ipcache'}{'graph'}{'category'} = 'loadbalancer';
|
||||
$config{'squid_ipcache'}{'graph'}{'order'} = 'request hits misses numhits neghits invdreqests entries';
|
||||
$config{'squid_ipcache'}{'field'}{'entries'}{'label'} = 'Entries';
|
||||
$config{'squid_ipcache'}{'field'}{'request'}{'label'} = 'Requests';
|
||||
|
@ -195,7 +195,7 @@ if($ARGV[0] and $ARGV[0] eq "config")
|
|||
$config{'squid_requests'}{'graph'}{'title'} = 'Requests statistics';
|
||||
$config{'squid_requests'}{'graph'}{'vlabel'} = 'errors (-) / requests (+) per second';
|
||||
$config{'squid_requests'}{'graph'}{'args'} = '--base 1000';
|
||||
$config{'squid_requests'}{'graph'}{'category'} = 'webserver';
|
||||
$config{'squid_requests'}{'graph'}{'category'} = 'loadbalancer';
|
||||
$config{'squid_requests'}{'graph'}{'order'} = 'client_http_errors server_all_errors server_http_errors ' .
|
||||
'server_ftp_errors server_other_errors ' .
|
||||
'client_http_hits aborted_requests client_http_requests ' .
|
||||
|
@ -226,7 +226,7 @@ if($ARGV[0] and $ARGV[0] eq "config")
|
|||
$config{'squid_storedir'}{'graph'}{'title'} = 'Store directory statistics';
|
||||
$config{'squid_storedir'}{'graph'}{'vlabel'} = 'bytes';
|
||||
$config{'squid_storedir'}{'graph'}{'args'} = '--base 1000';
|
||||
$config{'squid_storedir'}{'graph'}{'category'} = 'webserver';
|
||||
$config{'squid_storedir'}{'graph'}{'category'} = 'loadbalancer';
|
||||
$config{'squid_storedir'}{'graph'}{'order'} = 'maximum current';
|
||||
$config{'squid_storedir'}{'field'}{'maximum'}{'label'} = 'Maximum';
|
||||
$config{'squid_storedir'}{'field'}{'maximum'}{'draw'} = 'AREA';
|
||||
|
@ -238,7 +238,7 @@ if($ARGV[0] and $ARGV[0] eq "config")
|
|||
$config{'squid_memory'}{'graph'}{'title'} = 'Store memory statistics';
|
||||
$config{'squid_memory'}{'graph'}{'vlabel'} = 'bytes';
|
||||
$config{'squid_memory'}{'graph'}{'args'} = '--base 1000';
|
||||
$config{'squid_memory'}{'graph'}{'category'} = 'webserver';
|
||||
$config{'squid_memory'}{'graph'}{'category'} = 'loadbalancer';
|
||||
$config{'squid_memory'}{'graph'}{'order'} = 'mi_tsia mi_ob mi_sb mi_hb mi_fsb mi_fob mi_tiu mi_tf mi_ts ta ma mu';
|
||||
$config{'squid_memory'}{'field'}{'mi_tsia'}{'label'} = '[mallinfo()] Total space in arena';
|
||||
$config{'squid_memory'}{'field'}{'mi_ob'}{'label'} = '[mallinfo()] Ordinary blocks';
|
||||
|
@ -261,7 +261,7 @@ if($ARGV[0] and $ARGV[0] eq "config")
|
|||
$config{'squid_meanobject'}{'graph'}{'title'} = 'Mean object size';
|
||||
$config{'squid_meanobject'}{'graph'}{'vlabel'} = 'bytes';
|
||||
$config{'squid_meanobject'}{'graph'}{'args'} = '--base 1000';
|
||||
$config{'squid_meanobject'}{'graph'}{'category'} = 'webserver';
|
||||
$config{'squid_meanobject'}{'graph'}{'category'} = 'loadbalancer';
|
||||
$config{'squid_meanobject'}{'graph'}{'order'} = 'mos';
|
||||
$config{'squid_meanobject'}{'field'}{'mos'}{'label'} = 'Mean object size';
|
||||
$config{'squid_meanobject'}{'field'}{'mos'}{'draw'} = 'LINE1';
|
||||
|
@ -270,7 +270,7 @@ if($ARGV[0] and $ARGV[0] eq "config")
|
|||
$config{'squid_cpu'}{'graph'}{'title'} = 'CPU usage';
|
||||
$config{'squid_cpu'}{'graph'}{'vlabel'} = '%';
|
||||
$config{'squid_cpu'}{'graph'}{'args'} = '--base 1000 --lower-limit 0';
|
||||
$config{'squid_cpu'}{'graph'}{'category'} = 'webserver';
|
||||
$config{'squid_cpu'}{'graph'}{'category'} = 'loadbalancer';
|
||||
$config{'squid_cpu'}{'graph'}{'scale'} = 'no';
|
||||
$config{'squid_cpu'}{'graph'}{'order'} = 'cur av5 av60';
|
||||
$config{'squid_cpu'}{'field'}{'cur'}{'label'} = 'Current';
|
||||
|
@ -288,7 +288,7 @@ if($ARGV[0] and $ARGV[0] eq "config")
|
|||
$config{'squid_ids'}{'graph'}{'title'} = 'Internal data structures';
|
||||
$config{'squid_ids'}{'graph'}{'vlabel'} = 'Count';
|
||||
$config{'squid_ids'}{'graph'}{'args'} = '--lower-limit 0';
|
||||
$config{'squid_ids'}{'graph'}{'category'} = 'webserver';
|
||||
$config{'squid_ids'}{'graph'}{'category'} = 'loadbalancer';
|
||||
$config{'squid_ids'}{'graph'}{'order'} = 'se sewmo hoci odo';
|
||||
$config{'squid_ids'}{'field'}{'se'}{'label'} = 'StoreEntries';
|
||||
$config{'squid_ids'}{'field'}{'se'}{'draw'} = 'LINE1';
|
||||
|
@ -305,7 +305,7 @@ if($ARGV[0] and $ARGV[0] eq "config")
|
|||
$config{$name}{'graph'}{'title'} = "Median service times in ${time} minuts";
|
||||
$config{$name}{'graph'}{'vlabel'} = 'seconds';
|
||||
$config{$name}{'graph'}{'args'} = '--base 1000';
|
||||
$config{$name}{'graph'}{'category'} = 'webserver';
|
||||
$config{$name}{'graph'}{'category'} = 'loadbalancer';
|
||||
$config{$name}{'graph'}{'order'} = 'hra cm ch nh nmr dl iq';
|
||||
$config{$name}{'field'}{'hra'}{'label'} = 'HTTP Requests (All)';
|
||||
$config{$name}{'field'}{'hra'}{'draw'} = 'LINE1';
|
||||
|
@ -461,5 +461,5 @@ foreach my $mgraph (sort keys(%data))
|
|||
}
|
||||
|
||||
# for Munin Plugin Gallery
|
||||
# graph_category webserver
|
||||
# graph_category loadbalancer
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ port=${squidport:-3128}
|
|||
test "$1" = "config" && {
|
||||
echo 'graph_title Squid Efficiency'
|
||||
echo 'graph_info This graph shows the proxy efficiency over the last five mins.'
|
||||
echo 'graph_category webserver'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo "graph_args --lower-limit 0 --upper-limit 100"
|
||||
echo 'graph_vlabel %'
|
||||
echo 'request.label request hits'
|
||||
|
|
|
@ -30,7 +30,7 @@ fi
|
|||
if [ "$1" = "config" ]; then
|
||||
echo 'graph_title Squid Median Services Times'
|
||||
echo 'graph_info This graph shows the proxy median services response times.'
|
||||
echo 'graph_category webserver'
|
||||
echo 'graph_category loadbalancer'
|
||||
echo 'graph_args --lower-limit 0'
|
||||
echo 'graph_vlabel median response times (s)'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue