('state',models.DecimalField(decimal_places=2,help_text='Optional field used to store current state needed for diff-based monitoring.',max_digits=16,null=True,verbose_name='state')),
('aggregation',models.CharField(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',help_text='Method used for aggregating this resource monitored data.',max_length=16,verbose_name='aggregation')),
('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(blank=True,help_text='Default allocation value used when this is not an on demand resource',null=True,verbose_name='default allocation')),
('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,validators=[orchestra.contrib.resources.validators.validate_scale],verbose_name='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,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')],help_text='Monitor backends used for monitoring this resource.',max_length=256,verbose_name='monitors')),
('content_type',models.ForeignKey(help_text='Model where this resource will be hooked.',on_delete=django.db.models.deletion.CASCADE,to='contenttypes.ContentType')),
('crontab',models.ForeignKey(blank=True,help_text='Crontab for periodic execution. Leave it empty to disable periodic monitoring',null=True,on_delete=django.db.models.deletion.CASCADE,to='djcelery.CrontabSchedule',verbose_name='crontab')),
field=models.BooleanField(default=True,help_text='Disables monitors exeeded and recovery triggers',verbose_name='disable trigger'),
),
migrations.AlterField(
model_name='resource',
name='monitors',
field=orchestra.models.fields.MultiSelectField(blank=True,choices=[('Apache2Traffic','[M] Apache 2 Traffic'),('ApacheTrafficByName','[M] ApacheTrafficByName'),('DokuWikiMuTraffic','[M] DokuWiki MU 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'),('WordpressMuTraffic','[M] Wordpress MU Traffic'),('OwnCloudDiskQuota','[M] ownCloud SaaS Disk Quota'),('OwncloudTraffic','[M] ownCloud SaaS Traffic'),('PhpListTraffic','[M] phpList SaaS Traffic')],help_text='Monitor backends used for monitoring this resource.',max_length=256,verbose_name='monitors'),
),
migrations.AlterField(
model_name='resource',
name='crontab',
field=models.ForeignKey(blank=True,help_text='Crontab for periodic execution. Leave it empty to disable periodic monitoring',null=True,on_delete=django.db.models.deletion.SET_NULL,to='djcelery.CrontabSchedule',verbose_name='crontab'),
),
migrations.AlterField(
model_name='resource',
name='monitors',
field=orchestra.models.fields.MultiSelectField(blank=True,choices=[('Apache2Traffic','[M] Apache 2 Traffic'),('ApacheTrafficByName','[M] ApacheTrafficByName'),('DokuWikiMuTraffic','[M] DokuWiki MU Traffic'),('DovecotMaildirDisk','[M] Dovecot Maildir size'),('Exim4Traffic','[M] Exim4 traffic'),('MailmanSubscribers','[M] Mailman subscribers'),('MailmanTraffic','[M] Mailman traffic'),('MysqlDisk','[M] MySQL disk'),('PostfixMailscannerTraffic','[M] Postfix-Mailscanner traffic'),('ProxmoxOpenVZTraffic','[M] ProxmoxOpenVZTraffic'),('UNIXUserDisk','[M] UNIX user disk'),('VsFTPdTraffic','[M] VsFTPd traffic'),('WordpressMuTraffic','[M] Wordpress MU Traffic'),('NextCloudDiskQuota','[M] nextCloud SaaS Disk Quota'),('NextcloudTraffic','[M] nextCloud SaaS Traffic'),('OwnCloudDiskQuota','[M] ownCloud SaaS Disk Quota'),('OwncloudTraffic','[M] ownCloud SaaS Traffic'),('PhpListTraffic','[M] phpList SaaS Traffic')],help_text='Monitor backends used for monitoring this resource.',max_length=256,verbose_name='monitors'),