Page 1 of 1

NagiosGraph Reporting Incorrect Units - Mb instead of Gb

Posted: Mon Jun 10, 2013 10:30 am
by pshankland
Hi, I am using Nagios Core 3.5.0 and NagiosGraph 1.4.4. I am also using the 'Check NetApp NG' plugin to retrieve volume information.

When I run the check_netapp_ng.pl script from the CLI I get the correct values, for example:

Code: Select all

[root@nagios libexec]# perl check_netapp_ng.pl -H 10.10.10.10 -C public -T DISKUSED --vol /vol/Departments/
OK: DISKUSED 60% | /vol/Departments/=249850732k
The above equates to free space of 238.28Gb.

However, now that I have NagiosGraph installed it looks to change the units from Gb to Mb and also be slightly different in the values:

Image

Any ideas?

Thanks.
Pete.

Re: NagiosGraph Reporting Incorrect Units - Mb instead of Gb

Posted: Mon Jun 10, 2013 11:44 am
by abrist
pshankland wrote:238.28Gb.
pshankland wrote:249850732k
I would assume this is an issue of base 10 vs base 2 systems (1000MB vs 1024MB) and a bit of rounding thrown in for fun. And issues of graph labeling. Can we see the XML and templates for the broken graph?