In addition it appears the iterations post-facto have caused some additional issues. the monitors interface fails with the following trace:
ERROR: nagios::21-monitors-interface-test
[/tmp/bundletester-rGLciT/nagios/tests/21-monitors-interface-test exit 1]
2015-05-15 16:49:30 Starting deployment of amazon
2015-05-15 16:49:31 Deploying services...
2015-05-15 16:49:32 Deploying service mediawiki using cs:trusty/mediawiki-3
2015-05-15 16:49:39 Deploying service mysql using cs:trusty/mysql-25
2015-05-15 16:49:49 Deploying service nagios using local:trusty/nagios
2015-05-15 16:50:00 Deploying service nrpe using cs:trusty/nrpe-3
2015-05-15 16:50:08 Config specifies num units for subordinate: nrpe
2015-05-15 16:56:47 Adding relations...
2015-05-15 16:56:48 Adding relation mysql:db <-> mediawiki:db
2015-05-15 16:56:48 Adding relation nagios:monitors <-> mysql:monitors
2015-05-15 16:56:48 Adding relation nrpe:general-info <-> mysql:juju-info
2015-05-15 16:56:49 Adding relation nrpe:monitors <-> nagios:monitors
2015-05-15 16:56:49 Adding relation nrpe:local-monitors <-> mysql:local-monitors
2015-05-15 16:59:07 Exposing service 'nagios'
2015-05-15 16:59:07 Deployment complete in 576.87 seconds
Traceback (most recent call last):
File "/tmp/bundletester-rGLciT/nagios/tests/21-monitors-interface-test", line 42, in test_nrpe_monitors_config
mysql_unit.file_contents('/etc/nagios/nrpe.d/procrunning_mysqld.cfg')
File "/usr/lib/python3/dist-packages/amulet/sentry.py", line 85, in file_contents
raise IOError(output)
OSError: cat: /etc/nagios/nrpe.d/procrunning_mysqld.cfg: No such file or directory
ERROR subprocess encountered error code 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/bundletester-rGLciT/nagios/tests/21-monitors-interface-test", line 61, in <module>
test_nrpe_monitors_config()
File "/tmp/bundletester-rGLciT/nagios/tests/21-monitors-interface-test", line 44, in test_nrpe_monitors_config
amulet.raise_status(amulet.ERROR,
AttributeError: 'module' object has no attribute 'ERROR'
In addition it appears the iterations post-facto have caused some additional issues. the monitors interface fails with the following trace:
ERROR: nagios: :21-monitors- interface- test ter-rGLciT/ nagios/ tests/21- monitors- interface- test exit 1] mediawiki- 3 monitors ter-rGLciT/ nagios/ tests/21- monitors- interface- test", line 42, in test_nrpe_ monitors_ config unit.file_ contents( '/etc/nagios/ nrpe.d/ procrunning_ mysqld. cfg') python3/ dist-packages/ amulet/ sentry. py", line 85, in file_contents nrpe.d/ procrunning_ mysqld. cfg: No such file or directory
[/tmp/bundletes
2015-05-15 16:49:30 Starting deployment of amazon
2015-05-15 16:49:31 Deploying services...
2015-05-15 16:49:32 Deploying service mediawiki using cs:trusty/
2015-05-15 16:49:39 Deploying service mysql using cs:trusty/mysql-25
2015-05-15 16:49:49 Deploying service nagios using local:trusty/nagios
2015-05-15 16:50:00 Deploying service nrpe using cs:trusty/nrpe-3
2015-05-15 16:50:08 Config specifies num units for subordinate: nrpe
2015-05-15 16:56:47 Adding relations...
2015-05-15 16:56:48 Adding relation mysql:db <-> mediawiki:db
2015-05-15 16:56:48 Adding relation nagios:monitors <-> mysql:monitors
2015-05-15 16:56:48 Adding relation nrpe:general-info <-> mysql:juju-info
2015-05-15 16:56:49 Adding relation nrpe:monitors <-> nagios:monitors
2015-05-15 16:56:49 Adding relation nrpe:local-monitors <-> mysql:local-
2015-05-15 16:59:07 Exposing service 'nagios'
2015-05-15 16:59:07 Deployment complete in 576.87 seconds
Traceback (most recent call last):
File "/tmp/bundletes
mysql_
File "/usr/lib/
raise IOError(output)
OSError: cat: /etc/nagios/
ERROR subprocess encountered error code 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last): ter-rGLciT/ nagios/ tests/21- monitors- interface- test", line 61, in <module> nrpe_monitors_ config( ) ter-rGLciT/ nagios/ tests/21- monitors- interface- test", line 44, in test_nrpe_ monitors_ config raise_status( amulet. ERROR,
File "/tmp/bundletes
test_
File "/tmp/bundletes
amulet.
AttributeError: 'module' object has no attribute 'ERROR'