Package: nagios-plugins-contrib Version: 1.20120220 Severity: grave File: /etc/nagios-plugins/config/ipmi_sensor.cfg Tags: patch Justification: renders package unusable
Hello there, the default ipmi_sensor.cfg ships a duplicate definition for check_ipmi_sensor which causes icinga to fail: | Processing object config file '/etc/nagios-plugins/config/ipmi_sensor.cfg'... | Warning: Duplicate definition found for command 'check_ipmi_sensor' (config file '/etc/nagios-plugins/config/ipmi_sensor.cfg', starting on line 15) | Error: Could not add object property in file '/etc/nagios-plugins/config/ipmi_sensor.cfg' on line 16. | Error processing object config files! | [...] | ***> One or more problems was encountered while processing the config files... | | Check your configuration file(s) to ensure that they contain valid | directives and data definitions. If you are upgrading from a previous | version of Icinga, you should be aware that some variables/definitions | may have been removed or modified in this version. Make sure to read | the HTML documentation regarding the config files, as well as the | 'Whats New' section to find out what has changed. | | errors in config! ... failed! | failed! So, merely by installing this package, I couldn't start my monitoring setup anymore without modifying this file. Of course that can be easily fixed, but the package as shipped breaks other software. Cheers, Flo -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (50, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash nagios-plugins-contrib depends on no packages. Versions of packages nagios-plugins-contrib recommends: ii freeipmi-tools <none> ii libc6 2.13-26 ii libio-socket-ssl-perl 1.54-1 ii libmail-imapclient-perl <none> ii libmemcached9 <none> ii libnagios-plugin-perl 0.36-1 ii libnet-dns-perl 0.66-2+b2 ii libnet-smtp-tls-perl 0.12-1 ii libnet-ssleay-perl 1.42-1+b1 ii libreadonly-perl 1.03-3 Versions of packages nagios-plugins-contrib suggests: pn cciss-vol-status <none> pn mpt-status <none> -- Configuration Files: /etc/nagios-plugins/config/ipmi_sensor.cfg changed: define command{ command_name check_ipmi_sensor command_line /usr/lib/nagios/plugins/check_ipmi_sensor -H $_HOSTIPMI_IP$ -f $ARG1$ } define command{ command_name check_ipmi_sensor_exclude command_line /usr/lib/nagios/plugins/check_ipmi_sensor -H $_HOSTIPMI_IP$ -f $ARG1$ -x $ARG2$ } -- no debconf information
commit 963984a5c22ee2427c66f297c628e1e450808b76 Author: root <r...@fernst.no-ip.org> Date: Mon Feb 27 21:41:26 2012 +0100 nagios/icinga: fix duplicate definition for check_ipmi_sensor diff --git a/nagios-plugins/config/ipmi_sensor.cfg b/nagios-plugins/config/ipmi_sensor.cfg index 946534e..8d78ced 100644 --- a/nagios-plugins/config/ipmi_sensor.cfg +++ b/nagios-plugins/config/ipmi_sensor.cfg @@ -13,6 +13,6 @@ define command{ # 'check_ipmi_sensor_exclude' command definition define command{ - command_name check_ipmi_sensor + command_name check_ipmi_sensor_exclude command_line /usr/lib/nagios/plugins/check_ipmi_sensor -H $_HOSTIPMI_IP$ -f $ARG1$ -x $ARG2$ }