Bug 1162446

Summary: [Nagios] - PING service status shows UNKNOWN with status information as "check_ping: %s:Warning threshold must be integer or percentage!"
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: RamaKasturi <knarra>
Component: nagios-server-addonsAssignee: Ramesh N <rnachimu>
Status: CLOSED ERRATA QA Contact: RamaKasturi <knarra>
Severity: high Docs Contact:
Priority: high    
Version: rhgs-3.0CC: asrivast, dpati, kmayilsa, rnachimu
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.0.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nagios-server-addons-0.1.9-1.el6rhs Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-15 13:50:01 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:
Embargoed:
Attachments:
Description Flags
Attaching the screenshot for ping_service none

Description RamaKasturi 2014-11-11 05:24:12 UTC
Description of problem:
ping service of temp_node1 shows status as "UNKNOWN" with status information as "check_ping:%s:Warning threshold must be integer or percentage!"

Version-Release number of selected component (if applicable):
nagios-server-addons-0.1.8-1.el6rhs.noarch

How reproducible:
Always

Steps to Reproduce:
1. Install latest RHS  ISO
2. Add the 3.0.3 repos and run the command "yum install nagios-server-addons"
3. Browse the url http://<nagios_ip>/nagios

Actual results:
ping service of temp_node1 status is shown as "UNKNOWN" with status information as "check_ping:%s:Warning threshold must be integer or percentage

Expected results:
Ping service of temp_node1 should be shown "OK" with proper status information.

Additional info:

Comment 1 RamaKasturi 2014-11-11 05:26:24 UTC
Created attachment 956099 [details]
Attaching the screenshot for ping_service

Comment 2 Kanagaraj 2014-11-11 05:44:13 UTC
Please attach nagios configuration files as well.

Comment 3 Ramesh N 2014-11-17 08:22:06 UTC
Upstream patch : 
http://review.gluster.org/9123 
http://review.gluster.org/9122

Comment 5 RamaKasturi 2014-11-19 07:15:26 UTC
verified and works fine with build nagios-server-addons-0.1.9-1.el6rhs.noarch.

PING service for temp_node1 shows status as "OK" with status information as "PING OK - packet loss = 0%,RTA=0.05ms.

Comment 7 errata-xmlrpc 2015-01-15 13:50:01 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0039.html