-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added monitoring with nagios #309
Conversation
Visually this looks fine, though I cannot test until the mentioned dependent BZ is completed so I have the right packages |
@jguiditta, the nagios plugins disk and load are available in the RHOS-5-RHEL-7 repo. |
Since this is solving a BZ, could you please update the commit message to be similar to the below? thanks, will report test results later today separately.
|
@@ -86,6 +86,12 @@ | |||
# Gluster | |||
$gluster_open_port_count = '10', | |||
|
|||
# Monitoring | |||
$monitoring = 'nagios' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing commas, this gives the error:
Ok, I needed to update concat from src as well, which got me to 'mostly working'. First error is: Warning: Firewall001 nagios incoming: Unable to persist firewall rules: Execution of '/usr/libexec/iptables/iptables.init save' returned 1: This is likely because you ned to pull in quick stack::openstack_common, which sets up the basic firewall config. The second error is a missing package:
So, as I see it, couple minor fixes needed here:
Other than those minor bits, this is looking good. |
Verified I am using the latest rhos repo, and that it doesn't not have any nagios+http rpm. So, the above 4 issues, plus the request for updated commit message, and this will likely be ready (though I would like to be able to actually test it, not able to completely do so yet due to the above errors). |
@jguiditta, thanks for your feedback
I'm patching puppet nagios module accordingly for 1. and 2. Will provide update. |
Be aware this is very confusing: Since the puppet modules is outside of quickstack scope, the nagios-plugins modules which are still available everywhere on RHEL/CentOS/6/7 and Fedora20 will be used. |
Pull Request for OPM to integrate latest puppet-nagios-openstack for removed FW rules: |
This new version is using an external puppet nagios module.
Which makes more sense since this is not directly related with openstack anyway.
This has the advantage to reduce impact on quickstack as much as possible.
This add a 'Nagios hostgroup' and monitoring::server and monitoring::client to wrap calls to the external nagios module.
This is impacting only non HA to start with (Neutron/Nova_network controllers/compute/networker)
Tested with latest RHOS5/RHEL7
This requires: