mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 02:18:08 +00:00
Whitespace cleanup
* remove trailing whitespace * remove empty lines at the end of files
This commit is contained in:
parent
ef851f0c34
commit
17f784270a
604 changed files with 2927 additions and 2945 deletions
|
@ -32,8 +32,8 @@ import time
|
|||
if len(argv) > 1:
|
||||
if argv[1] == 'config':
|
||||
|
||||
print """graph_title Zope Conflict Errors
|
||||
graph_vlabel Count
|
||||
print """graph_title Zope Conflict Errors
|
||||
graph_vlabel Count
|
||||
graph_category appserver
|
||||
graph_info The number of conflict errors in event logs over the past 24h""".replace("\n ","\n")
|
||||
for i in range(0,len(logs)):
|
||||
|
@ -52,7 +52,7 @@ else:
|
|||
delta = datetime.now() - logdate
|
||||
if delta.days >= 1:
|
||||
continue
|
||||
error_count += 1
|
||||
error_count += 1
|
||||
id = dict(i=i)
|
||||
print 'error_count%(i)s.value' % id, error_count
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue