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/netapp/snmp__netapp_cpu
4 4
"""
5 5

  
6 6
# The SNMP traps for the NetApp filer can be found in
7
# /net/netappfiler/vol0/etc/mib/traps.dat if the filer is 
7
# /net/netappfiler/vol0/etc/mib/traps.dat if the filer is
8 8
# NFS automounted mounted on server.
9 9
# Example: the SNMP id for cpuBusyTimePerCent is
10
# snmp.1.3.6.1.4.1.789.1.2.1.3.0 
11
# and retrival of this value is done by 
10
# snmp.1.3.6.1.4.1.789.1.2.1.3.0
11
# and retrival of this value is done by
12 12
# snmpget -v 1 -c public netappfiler 1.3.6.1.4.1.789.1.2.1.3.0
13 13
#
14
# Requires snmpget and assumes public community.  
14
# Requires snmpget and assumes public community.
15 15

  
16 16
import commands
17 17
import sys
......
24 24

  
25 25
snmpid      = "1.3.6.1.4.1.789.1.2.1.3.0"
26 26
warning     = 80
27
critical    = 95 
27
critical    = 95
28 28
servername  = sys.argv[0].split('_')[1]
29 29

  
30 30
if len(sys.argv) == 2 and sys.argv[1]  == "config":

Formats disponibles : Unified diff