[Nagiosplug-devel] check_disk option for Centreon

DOGUET Emmanuel Emmanuel.DOGUET at MANE.com
Wed Mar 17 09:05:22 CET 2010


	Hello,

With centreon the format "label=value[uom]" don't produce graph with real unit.  I'm prefere force "bytes" unit for example and Centreon convert display in MB, GB.

For compatibility it can be juste an option "--force-bytes-perfdata"


	Best regards.


-----Original Message-----
From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] 
Sent: mercredi 17 mars 2010 01:33
To: Nagios Plugin Development Mailing List
Subject: Re: [Nagiosplug-devel] check_disk option for Centreon

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16/03/10 09:09 AM, DOGUET Emmanuel wrote:
>                 Hello,
> 
>  
> 
> I use since weeks  Nagios with Centreon (Migration from Hobbit/BB).
> 
>  I have wrote and adapts some  plugins (IO, Oracle, RAC…) for working
> fine with Centreon Graph.
> 
>  
> 
> Like for check_disk,  I have modified the perf data output for always
> display in bytes unit (only perfdata).
> 
> With this it’s centreon who interpret the Unit ( MB, GB ) on the graph.
> 
>  
> 
>  
> 
>  
> 
> Instead return:
> 
>  
> 
> DISK WARNING - free space: / 567 MB (62% inode=98%);| /=343MB;95;864;0;960
> 
>  
> 
> For Centreon it’s better to return:
> 
>  
> 
> DISK WARNING - free space: / 562 MB (61% inode=98%);| /=365658112;;;
> 
>  
> 
>  
> 
> I can send a patch if you want.

This is definitely something that will have to change; unfortunately we
can't just change it between releases and break everyone's graphs. This
will have to wait until a major release, end even then it would be best
to provide a backward-compatibility option.

For that reason I think it will be best to wait for the new thresholds
format, as the new format will allow adding such options and should be
the main feature of the next major release.

There is an RFC for the new thresholds, although we still have to
publish additional design notes that were discussed during the last OSMC
conference. Anyone willing to help coding this feature is welcome; the
current RFC is available here:

http://nagiosplugins.org/rfc/new_threshold_syntax

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLoCMp6dZ+Kt5BchYRAlocAKDA5IFsmYRaQSvqI5hAJOs9ktMICgCdE/MC
2j/LMg/ay1ZxQdf9VBNgaTY=
=Zezp
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Devel mailing list