3147e5db84
Previously the element would only refresh from Nova when the Heat configuration was changed. But we want it to refresh whenever nova changes. Note that we won't actually remove hosts that go away. Change-Id: Ic8af7f30ccc0cc2c64643081a6e300a354d8ad35
811 B
811 B
Installs Nagios3 from packages.
Includes nova client used to get a list of IPs to monitor. Any found IPs are added to the Nagios "generic-host" group which should provide basic ping and ssh monitoring.
Access via http interface at http:///nagios3. Sets the default web user name as nagiosadmin with a password of nagiosadmin.
Options to set the web password and parse nova list output for initial ip list can be provided via heat. For example:
nagios3:
adm_web_passwd: nagiosadmin
os_auth_url: 192.0.2.1
os_password: unset
os_username: admin
os_tenant_name: admin
monitor_networks:
- ctlplane
Sample heat template with defaults configured for a boot-stack vm located at: https://git.openstack.org/cgit/openstack/tripleo-heat-templates