Bug 1318343

Summary: The firewall rule for Nagios is not correct,
Product: Red Hat OpenStack Reporter: Hitesh ingole <hingole>
Component: documentationAssignee: RHOS Documentation Team <rhos-docs>
Status: CLOSED WONTFIX QA Contact: RHOS Documentation Team <rhos-docs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.0 (RHEL 7)CC: lbopf, srevivo
Target Milestone: ---Keywords: Documentation
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-05 01:57:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Hitesh ingole 2016-03-16 15:11:54 UTC
Description of problem:
The firewall rule in the below link under "⁠13.2.3. Configure NRPE" differs  from description.

~~~~
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/5/html/Installation_and_Configuration_Guide/sect-Configure_Nagios.html
~~~

The description points the port should be open for UDP but the rule is gove n for tcp so there is a difference between the description and example.
~~~~

    Add an INPUT rule allowing UDP traffic on port 5666 to this file. The new rule must appear before any INPUT rules that REJECT traffic.

    -A INPUT -p tcp --dport 5666 -j ACCEPT

    Save the changes to the /etc/sysconfig/iptables file.
    Restart the iptables service for the firewall changes to take effect.

    # service iptables restart

For Red Hat Enterprise Linux 7-based systems, run the following commands:

# firewall-cmd --permanent --add-port=5666/udp
# firewall-cmd --add-port=5666/udp
~~~

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
The example and the description does not match.


Expected results:
The description of rule should match.
Either it should be tcp or UDP

Additional info:
In a case customer reported that the NRPE was using tcp.

Comment 3 Lucy Bopf 2016-12-05 01:57:43 UTC
This bug exists only in the OSP 5 documentation, and has been fixed or removed in subsequent versions.

Closing.