Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

[dev.icinga.com #1601] Performance data processing bug #637

Closed
icinga-migration opened this issue May 31, 2011 · 2 comments
Closed

[dev.icinga.com #1601] Performance data processing bug #637

icinga-migration opened this issue May 31, 2011 · 2 comments

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/1601

Created by rbowlby83 on 2011-05-31 08:24:03 +00:00

Assignee: (none)
Status: Closed (closed on 2011-06-04 10:12:20 +00:00)
Target Version: (none)
Last Update: 2011-06-04 10:12:20 +00:00 (in Redmine)


Issues with Performance Data Processing. When using perf_data to files the data is only written for service checks whose plugin is compiled. Service checks using python or shell based plugins DO NOT get perf_data written to file. Verified issue exists in Icinga and not Nagios 3.2.3. Issue is with Icinga only.

To reproduce this modify icinga.cfg as below and cat the /var/icinga/service-perfdata.fifo (create it & make writable first). You will see results for compiled plugins but not others.

process_performance_data=1

host_perfdata_file=/var/icinga/host-perfdata.fifo
service_perfdata_file=/var/icinga/service-perfdata.fifo

host_perfdata_file_template=$HOSTNAME$\t$HOSTSTATEID$\t$HOSTOUTPUT$|$HOSTPERFDATA$
service_perfdata_file_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATEID$\t$SERVICEOUTPUT$|$SERVICEPERFDATA$

host_perfdata_file_mode=p
service_perfdata_file_mode=p

System Info:
CentOS release 5.6 (Final)
2.6.18-238.9.1.el5
icinga-1.3.1-1.el5.rf.x86_64 - installed from rpmforge

Attachments


Relations:

@icinga-migration
Copy link
Author

Updated by rbowlby83 on 2011-05-31 08:45:30 +00:00

Grr... Just compiled 1.4.0 and the issue appears to be no longer. Don't know how many hours I just wasted, FAIL. Who can tell Dag to update rpmforge to 1.4.0? You guys rule!

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2011-06-04 10:12:20 +00:00

  • Status changed from New to Closed

well sorry for that cause - it was just one of those things saving some performance by dropping macro calculation on check results which would never lead into performance data themselves.
as it had shown this is wrong and will affect distributed monitoring setups and several addons in a bad way - so this has been reverted with 1.4.0. due to a longer testing period and such there wasn't any fix for 1.3.x anymore (also not to confuse packagers, only by demand).

http://pkgs.repoforge.org/icinga/ - it seems to be already there. but rpmforge is doing a changed to repoforge as it seems, so dag might be very busy.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant