diff options
author | uvok cheetah | 2024-03-19 19:38:12 +0100 |
---|---|---|
committer | uvok cheetah | 2024-03-19 19:38:12 +0100 |
commit | 2f30683bcaa322f722410b3189404afeb5f02829 (patch) | |
tree | 5dbbf6763c14026d8f3d7cdcbbf48623d351f07d /roles/router | |
parent | 94fd6db6186ea78bb98bb7bbd5092ef7da92ac36 (diff) |
munin: Make graph log scale
and start at 1 always
Diffstat (limited to 'roles/router')
-rwxr-xr-x | roles/router/files/munin_bird | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/router/files/munin_bird b/roles/router/files/munin_bird index 7fb39cf..8504c98 100755 --- a/roles/router/files/munin_bird +++ b/roles/router/files/munin_bird @@ -143,13 +143,14 @@ sub autoconf { exit 0; } +# log scale, minimum 1 for consistent appearance sub config { my $stats = get_stats; while ( my ($name,$proto) = each %$stats) { print <<HEREDOC; multigraph ${name}_routes graph_title bird routes for $proto->{title} -graph_args --base 1000 +graph_args --base 1000 --logarithmic -l 1 graph_vlabel routes graph_category network exported.label Exported routes |