Bug 1081375 - [Nagios] - Performance data for the services brick, Disk,swap and volume utilization does not have the units associated with it.
Summary: [Nagios] - Performance data for the services brick, Disk,swap and volume util...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-nagios-addons
Version: rhgs-3.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: RHGS 3.0.0
Assignee: Timothy Asir
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-27 06:21 UTC by RamaKasturi
Modified: 2015-05-13 16:53 UTC (History)
7 users (show)

Fixed In Version: gluster-nagios-addons-0.1.1-1.el6rhs
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-22 19:08:03 UTC
Embargoed:


Attachments (Terms of Use)
Attaching screenshot for brick performance data (188.47 KB, image/png)
2014-03-27 06:21 UTC, RamaKasturi
no flags Details
screenshot for Disk utilization performance datqa (191.47 KB, image/png)
2014-03-27 06:22 UTC, RamaKasturi
no flags Details
screenshot for Swap utilization performance data (182.70 KB, image/png)
2014-03-27 06:22 UTC, RamaKasturi
no flags Details
screenshot for volume utilization performance data (182.82 KB, image/png)
2014-03-27 06:23 UTC, RamaKasturi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:1277 0 normal SHIPPED_LIVE Red Hat Storage Console 3.0 enhancement and bug fix update 2014-09-22 23:06:30 UTC

Description RamaKasturi 2014-03-27 06:21:32 UTC
Created attachment 879305 [details]
Attaching screenshot for brick performance data

Description of problem:
performance data for the services brick, disk,Swap and volume does not have units associated with it.

Version-Release number of selected component (if applicable):
gluster-nagios-common-0.1.0-4.gitf3a2474.el6.x86_64
gluster-nagios-addons-0.1.0-9.git611be3b.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Add the nodes which you want to monitor to nagios server.
2. Create a volume.
3. Add bricks and volume to the configuration file so that they can be monitored.
4. Now click on any of the brick, volume.Swap and Disk utilization.

Actual results:
Perfomance data for all the above services does not have units assoicated with it. i.e (KB/MB/GB).

Expected results:
Perfomance data for all the above services should have units associated with it.

Additional info:

Comment 1 RamaKasturi 2014-03-27 06:22:13 UTC
Created attachment 879306 [details]
screenshot for Disk utilization performance datqa

Comment 2 RamaKasturi 2014-03-27 06:22:44 UTC
Created attachment 879308 [details]
screenshot for Swap utilization performance data

Comment 3 RamaKasturi 2014-03-27 06:23:33 UTC
Created attachment 879309 [details]
screenshot for volume utilization performance data

Comment 5 Timothy Asir 2014-05-28 13:05:53 UTC
Nagios is designed to allow plugins to return optional performance data in addition to normal status data to external applications for processing.
It has some limitation like we can assign unit only for the initial data in the performance data filed and would not be possible to mention any unit for the subsequent data after ';' in the data series. Currently, the Swap and Volume utilization already has an unit associated with its initial performance data (which is called as usage/used). So we will add unit type only for brick and disk utilization.

Patch sent to upstream for brick percent usage and disk percent usage to have unit associate with the performance data.

http://review.gluster.org/7912

Comment 6 RamaKasturi 2014-06-03 16:20:08 UTC
Verified and works fine with build gluster-nagios-addons-0.1.1-1.el6rhs.x86_64.
The following gets displayed in nagios UI.

Swap Utilization 
Performance Data:Used=0.00GB;1.60;1.80;0;2.00

Disk Utilization

Performance Data:	/boot=14.00%;80;90;0;1.0 /boot=1.00%;80;90;0;128016.0 /=13.00%;80;90;0;18.0 /=5.00%;80;90;0;1148304.0 /rhs/brick1=1.00%;80;90;0;40.0 /rhs/brick1=1.00%;80;90;0;20969472.0 /rhs/brick2=1.00%;80;90;0;40.0 /rhs/brick2=1.00%;80;90;0;20969472.0 /rhs/brick3=1.00%;80;90;0;40.0 /rhs/brick3=1.00%;80;90;0;20969472.0 /rhs/brick4=1.00%;80;90;0;40.0 /rhs/brick4=1.00%;80;90;0;20969472.0

Brick Utilization 

Performance Data:	/rhs/brick1=1.00%;80;90;0;40.0

Volume Utilization

Performance Data:	utilization=0%;70;90 total=83836970 used=67168 free=83769802

For brick,disk and volume units are displayed in percentage and for swap it is in GB.

Comment 8 errata-xmlrpc 2014-09-22 19:08:03 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.

http://rhn.redhat.com/errata/RHEA-2014-1277.html


Note You need to log in before you can comment on or make changes to this bug.