('monitor',models.CharField(max_length=256,verbose_name='monitor',choices=[(b'Apache2Traffic','[M] Apache 2 Traffic'),(b'MaildirDisk','[M] Maildir disk usage'),(b'MailmanSubscribers','[M] Mailman subscribers'),(b'MailmanTraffic','[M] Mailman traffic'),(b'FTPTraffic','[M] Main FTP traffic'),(b'SystemUserDisk','[M] Main user disk'),(b'MysqlDisk','[M] MySQL disk'),(b'OpenVZTraffic','[M] OpenVZTraffic')])),
('period',models.CharField(default=b'LAST',help_text='Operation used for aggregating this resource monitored data.',max_length=16,verbose_name='period',choices=[(b'LAST','Last'),(b'MONTHLY_SUM','Monthly Sum'),(b'MONTHLY_AVG','Monthly Average')])),
('on_demand',models.BooleanField(default=False,help_text='If enabled the resource will not be pre-allocated, but allocated under the application demand',verbose_name='on demand')),
('default_allocation',models.PositiveIntegerField(help_text='Default allocation value used when this is not an on demand resource',null=True,verbose_name='default allocation',blank=True)),
('unit',models.CharField(help_text='The unit in which this resource is represented. For example GB, KB or subscribers',max_length=16,verbose_name='unit')),
('scale',models.CharField(help_text='Scale in which this resource monitoring resoults should be prorcessed to match with unit. e.g. <tt>10**9</tt>',max_length=32,verbose_name='scale',validators=[orchestra.contrib.resources.validators.validate_scale])),
('disable_trigger',models.BooleanField(default=False,help_text='Disables monitors exeeded and recovery triggers',verbose_name='disable trigger')),
('monitors',orchestra.models.fields.MultiSelectField(blank=True,help_text='Monitor backends used for monitoring this resource.',max_length=256,verbose_name='monitors',choices=[(b'Apache2Traffic','[M] Apache 2 Traffic'),(b'MaildirDisk','[M] Maildir disk usage'),(b'MailmanSubscribers','[M] Mailman subscribers'),(b'MailmanTraffic','[M] Mailman traffic'),(b'FTPTraffic','[M] Main FTP traffic'),(b'SystemUserDisk','[M] Main user disk'),(b'MysqlDisk','[M] MySQL disk'),(b'OpenVZTraffic','[M] OpenVZTraffic')])),
('content_type',models.ForeignKey(help_text='Model where this resource will be hooked.',to='contenttypes.ContentType')),
('crontab',models.ForeignKey(blank=True,to='djcelery.CrontabSchedule',help_text='Crontab for periodic execution. Leave it empty to disable periodic monitoring',null=True,verbose_name='crontab')),