This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET / (monasca.api.resource.VersionResource) | |
GET /{version_id} (monasca.api.resource.VersionResource) | |
DELETE /v2.0/alarm-definitions/{alarm_definition_id} (monasca.api.resource.AlarmDefinitionResource) | |
GET /v2.0/alarm-definitions (monasca.api.resource.AlarmDefinitionResource) | |
GET /v2.0/alarm-definitions/{alarm_definition_id} (monasca.api.resource.AlarmDefinitionResource) | |
PATCH /v2.0/alarm-definitions/{alarm_definition_id} (monasca.api.resource.AlarmDefinitionResource) | |
POST /v2.0/alarm-definitions (monasca.api.resource.AlarmDefinitionResource) | |
PUT /v2.0/alarm-definitions/{alarm_definition_id} (monasca.api.resource.AlarmDefinitionResource) | |
DELETE /v2.0/alarms/{alarm_id} (monasca.api.resource.AlarmResource) | |
GET /v2.0/alarms (monasca.api.resource.AlarmResource) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
monasca_pip_packages: | |
- monasca-agent==1.5.0 | |
- monasca-notification | |
monasca_requires_pip_packages: | |
- pymysql==0.7.9 | |
- pymongo==3.2.2 | |
- oslo.utils==3.18.0 | |
- psutil==3.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"monasca_api": { | |
"monasca_pip_packages": [ | |
"monasca-agent==1.5.0", | |
"monasca-notification" | |
], | |
"monasca_requires_pip_packages": [ | |
"oslo.utils==3.18.0", | |
"psutil==3.0.0", | |
"pymongo==3.2.2", | |
"pymysql==0.7.9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@osa-newton-2:~# /opt/monasca-agent/bin/monasca-setup -d libvirt | |
> /opt/monasca-agent/lib/python2.7/site-packages/monasca_setup/detection/plugins/libvirt.py(74)_detect() | |
-> if not conf_indexes: | |
(Pdb) l | |
69 try: | |
70 cmd = proc.cmdline() | |
71 if len(cmd) > 2 and 'python' in cmd[0] and 'nova-compute' in cmd[1]: | |
72 conf_indexes = [cmd.index(y) for y in cmd if 'nova.conf' in y] | |
73 import pdb;pdb.set_trace() | |
74 -> if not conf_indexes: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mar 13 06:25:49 monasca-api-container-08d216ae monasca-notification[62983]: Process Process-1: | |
Mar 13 06:25:49 monasca-api-container-08d216ae monasca-notification[62983]: Traceback (most recent call last): | |
Mar 13 06:25:49 monasca-api-container-08d216ae monasca-notification[62983]: File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap | |
Mar 13 06:25:49 monasca-api-container-08d216ae monasca-notification[62983]: self.run() | |
Mar 13 06:25:49 monasca-api-container-08d216ae monasca-notification[62983]: File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run | |
Mar 13 06:25:49 monasca-api-container-08d216ae monasca-notification[62983]: self._target(*self._args, **self._kwargs) | |
Mar 13 06:25:49 monasca-api-container-08d216ae monasca-notification[62983]: File "/opt/monasca/local/lib/python2.7/site-packages/monasca_notification/main.py", line 87, in start_process | |
Mar 13 06:25:49 monasca-api-container-08d216ae monasca-notification[62983]: p.run() | |
Mar 13 06:25:49 monasca- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mar 13 06:25:49 monasca-api-container-08d216ae monasca-notification[62983]: Process Process-1: | |
Mar 13 06:25:49 monasca-api-container-08d216ae monasca-notification[62983]: Traceback (most recent call last): | |
Mar 13 06:25:49 monasca-api-container-08d216ae monasca-notification[62983]: File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap | |
Mar 13 06:25:49 monasca-api-container-08d216ae monasca-notification[62983]: self.run() | |
Mar 13 06:25:49 monasca-api-container-08d216ae monasca-notification[62983]: File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run | |
Mar 13 06:25:49 monasca-api-container-08d216ae monasca-notification[62983]: self._target(*self._args, **self._kwargs) | |
Mar 13 06:25:49 monasca-api-container-08d216ae monasca-notification[62983]: File "/opt/monasca/local/lib/python2.7/site-packages/monasca_notification/main.py", line 87, in start_process | |
Mar 13 06:25:49 monasca-api-container-08d216ae monasca-notification[62983]: p.run() | |
Mar 13 06:25:49 monasca- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ctrl-a01:/opt/openstack-ansible/playbooks# /opt/monasca-agent/bin/python -c 'import psutil;print psutil.virtual_memory()';free -b | |
svmem(total=270453657600L, available=200870019072L, percent=25.7, used=119030800384L, free=151422857216L, active=84483264512, inactive=26593742848, buffers=3111329792L, cached=46335832064) | |
total used free shared buff/cache available | |
Mem: 270453657600 65939648512 151426469888 4200562688 53087539200 198656114688 | |
Swap: 0 0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
init_config: null | |
instances: | |
- built_by: CommandCheck | |
collect_command_time: true | |
command: echo This message goes to stderr >&2;echo This message goes to stdout | |
name: echo to stderr | |
return_code_pattern: '0' | |
stderr_match_pattern: message | |
stdout_match_pattern: stdout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
changed: [aio1] => (item={u'service': {u'haproxy_timeout_server': u'60m', u'haproxy_ssl': True, u'haproxy_backend_httpcheck_options': [u'expect status 404'], u'haproxy_balance_type': u'http', u'haproxy_port': u'6082', u'haproxy_backend_nodes': [u'aio1_nova_console_container-d26e9f95'], u'haproxy_backend_options': [u'httpchk HEAD /'], u'haproxy_service_name': u'nova_console', u'haproxy_timeout_client': u'60m', u'haproxy_balance_alg': u'source'}}) | |
ok: [aio1] => (item={u'service': {u'haproxy_service_name': u'cinder_api', u'haproxy_backend_nodes': [u'aio1_cinder_api_container-82bdaead'], u'haproxy_port': 8776, u'haproxy_balance_type': u'http', u'haproxy_backend_options': [u'httpchk HEAD /'], u'haproxy_ssl': True}}) | |
ok: [aio1] => (item={u'service': {u'haproxy_ssl_all_vips': True, u'haproxy_ssl': True, u'haproxy_balance_type': u'http', u'haproxy_port': u'443', u'haproxy_backend_nodes': [u'aio1_horizon_container-e5c45533'], u'haproxy_backend_port': 80, u'haproxy_backend_options': [u'httpchk HEAD /'], u'haproxy_redir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/opt/monasca-agent/bin/monasca-setup --install_plugins_only -d httpcheck -a "url=http://10.20.0.16:15672/api name=rabbitmq match_pattern=.*RabbitMQ.*" |
OlderNewer