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