Bug 1800482

Summary: check_icmp: Multiple hosts not working
Product: [Fedora] Fedora EPEL Reporter: Alexander Lex <alexander.lex>
Component: nagios-pluginsAssignee: Guido Aulisi <guido.aulisi>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: epel7CC: b.heden, herrold, lemenkov, smooge, swilkerson
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alexander Lex 2020-02-07 08:19:43 UTC
Description of problem:
There are two hostnames configured with min_hosts_alive set to 1. One host is down (passive cluster node) and one is up. Check result changed from OK to CRITICAL with no changes in host state. I would except it to still return Ok.

Version-Release number of selected component (if applicable):
nagios-plugins-icmp-2.3.1-1.el7.x86_64

How reproducible:
Execute check_icmp with two host addresses and set the min_hosts_alive to 1. If one node is in down state, check is changing to CRITICAL.

/usr/lib64/nagios/plugins/check_icmp -H ip_of_node_down ip_of_node_up -m 1

Actual results:
CRITICAL State

Expected results:
OK State

Additional info:
Github Issue
https://github.com/nagios-plugins/nagios-plugins/issues/520

Pull Request was also created.

Comment 1 Fedora Admin XMLRPC Client 2020-02-25 16:34:58 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.

Comment 2 Fedora Admin user for bugzilla script actions 2021-02-20 00:05:40 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.