Projet

Général

Profil

Révision 17f78427

ID17f784270ae966ee9a13e9f5104a5b8f925b639e
Parent ef851f0c
Enfant d4320aea, 5b2396a9

Ajouté par Lars Kruse il y a plus de 7 ans

Whitespace cleanup

  • remove trailing whitespace
  • remove empty lines at the end of files

Voir les différences:

plugins/netscaler/snmp__netscaler_connections
23 23
# GNU General Public License for more details.
24 24
#
25 25
# You should have received a copy of the GNU General Public License
26
# along with this program.  If not, see <http://www.gnu.org/licenses/>. 
26
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
27 27
#
28
# ---------------------------------------------------- # 
28
# ---------------------------------------------------- #
29 29

  
30 30
=head1 NAME
31 31

  
......
33 33

  
34 34
=head1 CONFIGURATION
35 35

  
36
Make a symlink from netscaler_conn_ to /etc/munin/plugins/netscaler_conn_<nsfqdn>. 
36
Make a symlink from netscaler_conn_ to /etc/munin/plugins/netscaler_conn_<nsfqdn>.
37 37
You can omit <nsfqdn>, then you need the env variable B<host>.
38 38

  
39 39
To configure the plugin, use ENV variables.
......
173 173

  
174 174
&close_session($session);
175 175

  
176
print "$return_str"; 
176
print "$return_str";
177 177
exit 0;
178 178

  
179 179
# --------------------------- functions ------------------------- #
......
203 203
sub get_buildversion {
204 204
	my ($session) = @_;
205 205
       	my $build_version;
206
	
206

  
207 207
	my $result = $session->get_request(
208 208
		      -varbindlist => [$oid_build_version]
209 209
	);
......
228 228
        if (!defined($result)) {
229 229
                return "na";
230 230
        }
231
        else {  
231
        else {
232 232
                $return_value = $result->{$oid_string};
233 233
                return $return_value;
234 234
        }

Formats disponibles : Unified diff