('aggregation',models.CharField(max_length=16,help_text='Method used for aggregating this resource monitored data.',choices=[('last-10-days-avg','Last 10 days AVG'),('last','Last value'),('monthly-avg','Monthly AVG'),('monthly-sum','Monthly Sum')],default='last-10-days-avg',verbose_name='aggregation')),
('on_demand',models.BooleanField(help_text='If enabled the resource will not be pre-allocated, but allocated under the application demand',default=False,verbose_name='on demand')),
('default_allocation',models.PositiveIntegerField(help_text='Default allocation value used when this is not an on demand resource',blank=True,null=True,verbose_name='default allocation')),
('unit',models.CharField(max_length=16,help_text='The unit in which this resource is represented. For example GB, KB or subscribers',verbose_name='unit')),
('scale',models.CharField(validators=[orchestra.contrib.resources.validators.validate_scale],max_length=32,help_text='Scale in which this resource monitoring resoults should be prorcessed to match with unit. e.g. <tt>10**9</tt>',verbose_name='scale')),
('disable_trigger',models.BooleanField(help_text='Disables monitors exeeded and recovery triggers',default=False,verbose_name='disable trigger')),
('monitors',orchestra.models.fields.MultiSelectField(max_length=256,help_text='Monitor backends used for monitoring this resource.',blank=True,choices=[('Apache2Traffic','[M] Apache 2 Traffic'),('DovecotMaildirDisk','[M] Dovecot Maildir size'),('Exim4Traffic','[M] Exim4 traffic'),('MailmanSubscribers','[M] Mailman subscribers'),('MailmanTraffic','[M] Mailman traffic'),('MysqlDisk','[M] MySQL disk'),('OpenVZTraffic','[M] OpenVZTraffic'),('PostfixMailscannerTraffic','[M] Postfix-Mailscanner traffic'),('UNIXUserDisk','[M] UNIX user disk'),('VsFTPdTraffic','[M] VsFTPd traffic')],verbose_name='monitors')),
('crontab',models.ForeignKey(null=True,verbose_name='crontab',to='djcelery.CrontabSchedule',help_text='Crontab for periodic execution. Leave it empty to disable periodic monitoring',blank=True)),