Révision e3899a30
Reduce number of categories, use more generic terms
| plugins/ubuntu/apt_ubuntu | ||
|---|---|---|
| 25 | 25 |
#%# family=contrib |
| 26 | 26 |
|
| 27 | 27 |
########################################################### |
| 28 |
category = 'system' # 'upgrades'
|
|
| 28 |
category = 'security' # 'upgrades'
|
|
| 29 | 29 |
title = 'Upgradable packages' # 'Upgradeable packages' |
| 30 | 30 |
vlabel = 'Total packages' |
| 31 | 31 |
other = 'other' |
| ... | ... | |
| 73 | 73 |
sys.exit(1) |
| 74 | 74 |
|
| 75 | 75 |
def config(): |
| 76 |
print 'graph_category %s' % (category)
|
|
| 76 |
print 'graph_category security'
|
|
| 77 | 77 |
print 'graph_title %s' % (title) |
| 78 | 78 |
#print 'graph_total %s' % (total) |
| 79 | 79 |
print 'graph_vlabel %s' % (vlabel) |
Formats disponibles : Unified diff