Projet

Général

Profil

Révision ae4e85ab

IDae4e85ab60d6572e32f284ddbdcaa8b965af9770
Parent 3a6fdce8
Enfant e10e386b

Ajouté par dipohl il y a presque 9 ans

Plugin-Gallery: Better 2nd level headings

Voir les différences:

plugins/other/uustat
12 12
#
13 13
# Environment
14 14
#       exclude: space separated list hosts to exclude.
15
#       category: category of this plugin, default 'postfix'
16 15
#       host.warning: Warning packages threshold, default none.
17 16
#       host.critical: Critical packages threshold, default none.
18 17
#
......
88 87
}
89 88

  
90 89
if (@ARGV > 0 && $ARGV[0] eq 'config') {
91
    my $category = $ENV{'category'} || 'postfix';
92 90

  
93 91
    print "graph_title UUCP usage \n";
94 92
    print "graph_args -l 0\n";
95 93
    print "graph_vlabel packages\n";
96 94
    print "graph_scale no\n";
97
    printf "graph_category %s\n", $category;
95
    print "graph_category postfix\n";
98 96

  
99 97
    foreach my $host (hosts) {
100 98
	next if host_excluded $host;

Formats disponibles : Unified diff