Projet

Général

Profil

Révision 060ddd51

ID060ddd51f2d2aa5f5fc20cd7f3bea31c95cfbc07
Parent b7e6b69b
Enfant 5a98a767

Ajouté par Diego Elio Pettenò il y a environ 13 ans

misc: make some plugin speak dirtyconfig, saving a few roundtrips.

Voir les différences:

plugins/sensors/freeipmi
158 158
    }
159 159
  }
160 160

  
161
  exit 0;
161
  unless ( $ENV{MUNIN_CAP_DIRTYCONFIG} == 1 ) {
162
    exit 0;
163
  }
162 164
}
163 165

  
164 166
foreach my $type (keys %sensors) {
plugins/sensors/hwmon
173 173
    }
174 174
  }
175 175

  
176
  exit 0;
176
  unless ( $ENV{MUNIN_CAP_DIRTYCONFIG} == 1 ) {
177
    exit 0;
178
  }
177 179
}
178 180

  
179 181
foreach my $type (keys %sensors) {
plugins/snmp/snmp__apc_pdu
103 103
END
104 104
    }
105 105

  
106
    exit 0;
106
    unless ( $ENV{MUNIN_CAP_DIRTYCONFIG} == 1 ) {
107
      exit 0;
108
    }
107 109
}
108 110

  
109 111
my $phasesLoad = $session->get_entries(-columns => [$oidPhaseLoad]);

Formats disponibles : Unified diff