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/wowza/wowza-media-server
141 141
			print ("graph_vlabel minutes")
142 142
			print ("avg.label average listening duration")
143 143
			print ("mdn.label median listening duration")
144
		
144

  
145 145
		elif plugin_name == "wowza_vhost_listeners":
146 146
			print ("graph_title Wowza listeners count by vhosts")
147 147
			print ("graph_args --base 1000 -l 0")
......
157 157
					is_first = False
158 158
				else:
159 159
					print (vname,".draw STACK",sep='')
160
                
160

  
161 161
		elif plugin_name == "wowza_vhost_duration":
162 162
			print ("graph_title Wowza clients listening duration by vhosts")
163 163
			print ("graph_args --base 1000 -l 0")
......
168 168
                                vname = vh["Name"].strip("/").replace(".","_").replace("-","_")
169 169
                                print (vname,"_avg.label average listening duration for ",vh["Name"],sep='')
170 170
                                print (vname,"_mdn.label median listening duration for ",vh["Name"],sep='')
171
                
171

  
172 172
		elif plugin_name == "wowza_vhost_uptime":
173 173
			print ("graph_title Wowza vhosts uptime")
174 174
			print ("graph_args --base 1000 -l 0")
......
178 178
			for vh in vhosts:
179 179
                                vname = vh["Name"].strip("/").replace(".","_").replace("-","_")
180 180
				print (vname,".label vhost: ",vh["Name"],sep='')
181
		
181

  
182 182
		elif plugin_name == "wowza_app_listeners":
183 183
			print ("graph_title Wowza listeners count by apps")
184 184
			print ("graph_args --base 1000 -l 0")
......
196 196
                                                is_first = False
197 197
                                        else:
198 198
                                                print (vname,"_",aname,".draw STACK",sep='')
199
                
199

  
200 200
		elif plugin_name == "wowza_app_duration":
201 201
			print ("graph_title Wowza clients listening duration by apps")
202 202
			print ("graph_args --base 1000 -l 0")
......
209 209
                                        aname = app["Name"].strip("/").replace(".","_").replace("-","_")
210 210
                                        print (vname,"_",aname,"_avg.label average listening duration for ",vh["Name"],".",app["Name"],sep='')
211 211
                                        print (vname,"_",aname,"_mdn.label median listening duration for ",vh["Name"],".",app["Name"],sep='')
212
                
212

  
213 213
		elif plugin_name == "wowza_app_uptime":
214 214
			print ("graph_title Wowza apps uptime")
215 215
			print ("graph_args --base 1000 -l 0")
......
221 221
                                for app in vh["Applications"]:
222 222
                                        aname = app["Name"].strip("/").replace(".","_").replace("-","_")
223 223
                                        print (vname,"_",aname,".label vhost.app: ",vh["Name"],".",app["Name"],sep='')
224
                
224

  
225 225
		else:                   # wowza_listeners
226 226
                        print ("graph_title Wowza listeners count")
227 227
			print ("graph_args --base 1000 -l 0")

Formats disponibles : Unified diff