Skip to content

Instantly share code, notes, and snippets.

@hub-cap
Created May 27, 2014 19:13
Show Gist options
  • Save hub-cap/98885a957f2940cf6179 to your computer and use it in GitHub Desktop.
Save hub-cap/98885a957f2940cf6179 to your computer and use it in GitHub Desktop.
baz@monitoring-test:~/rackspace-monitoring-agent$ raxmon-checks-create --entity-id=enNnEwr5PC --who=me --why=cuz --label=dbaas --type=agent.dbaas_mysql --details="port=3306"
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/raxmon_cli/common.py", line 125, in run_action
callback(instance, options, args, done)
File "/usr/local/bin/raxmon-checks-create", line 48, in callback
why=options.why)
File "/usr/local/lib/python2.7/dist-packages/rackspace_monitoring/drivers/rackspace.py", line 733, in create_check
data=data, coerce=self.get_check, headers=headers)
File "/usr/local/lib/python2.7/dist-packages/rackspace_monitoring/drivers/rackspace.py", line 301, in _create
headers=headers)
File "/usr/local/lib/python2.7/dist-packages/rackspace_monitoring/drivers/rackspace.py", line 152, in request
raw=raw
File "/usr/local/lib/python2.7/dist-packages/libcloud/common/openstack.py", line 580, in request
return super(OpenStackBaseConnection, self).request(**kwargs)
File "/usr/local/lib/python2.7/dist-packages/libcloud/common/base.py", line 633, in request
connection=self)
File "/usr/local/lib/python2.7/dist-packages/libcloud/common/base.py", line 99, in __init__
raise Exception(self.parse_error())
File "/usr/local/lib/python2.7/dist-packages/rackspace_monitoring/drivers/rackspace.py", line 107, in parse_error
raise error
RackspaceMonitoringValidationError: <ValidationError type=badRequest, message="Validation error for key 'type'", details=Invalid value agent.dbaas_mysql. Should be one of (remote.dns,remote.ssh,remote.smtp,remote.http,remote.tcp,remote.ping,remote.ftp-banner,remote.imap-banner,remote.pop3-banner,remote.smtp-banner,remote.postgresql-banner,remote.telnet-banner,remote.mysql-banner,remote.mssql-banner,agent.memory,agent.cpu,agent.load_average,agent.disk,agent.filesystem,agent.network,agent.apache,agent.redis,agent.mysql,agent.plugin,agent.windows_perfos,agent.mssql_version,agent.mssql_database,agent.mssql_buffer_manager,agent.mssql_sql_statistics,agent.mssql_memory_manager,agent.mssql_plan_cache)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment