Am 17.09.2014 10:41, schrieb LOEFFLER Peter:
Hi,

we are using icinga2 (Version: r2.1.0-1) and pnp4nagios (0.6.22).
For some reason icinga2 returns the perfdata in exponential data in some (not 
all) cases:
/var/spool/icinga2/perfdata/service-perfdata.1408455143-PID-19407:DATATYPE::SERVICEPERFDATA
     TIMET::1408455115       HOSTNAME::pma01.herold.intra    
SERVICEDESC::p_sys_windows_disk_d__80_90        SERVICEPERFDATA::'d:\ Used 
Space'=161018323927.04001B;9.56693e+11;1.07628e+12;0;1.19586e+12     
SERVICECHECKCOMMAND::check_nt   HOSTSTATE::UP   HOSTSTATETYPE::HARD     
SERVICESTATE::OK        SERVICESTATETYPE::HARD

Looks like min/max and warn/crit thresholds are malformatted in
scientific format.


This prevents pnp4nagios from creating xml/rrd-files for this service.

The interesting thing is that executing the same check manually did not return 
exponential formated perfdata:
[[email protected] pnp4nagios]# /usr/lib64/nagios/plugins/check_nt -H 
pma01.herold.intra -p 12489 -s ****** -v USEDDISKSPACE -l d -w 80 -c 90
d:\ - total: 1113.73 Gb - used: 152.64 Gb (14%) - free 961.09 Gb (86%) | 'd:\ 
Used Space'=152.64Gb;890.99;1002.36;0.00;1113.73

Is there any way to configure this or should this be reported as a bug?

Please open a new issue at dev.icinga.org including all the details.

Kind regards & greetings to Austria,
Michael

-- 
Michael Friedrich, DI (FH)
Application Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | [email protected]

** Open Source Backup Conference 2014 - September - osbconf.org **
** Puppet Camp Duesseldorf 2014 - Oktober - netways.de/puppetcamp **
** OSMC 2014 - November - netways.de/osmc **
** OpenNebula Conf 2014 - Dezember - opennebulaconf.com **
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to