Package: collectd Version: 1.2.0-6 When I use dns.monitor, I've got Perl problem when calling normally or simple with "--help" argument : # /usr/lib/mon/mon.d/dns.monitor 127.0.0.1 defined(@array) is deprecated at /usr/lib/mon/mon.d/dnscustom.monitor line 171. (Maybe you should just omit the defined()?) defined(@array) is deprecated at /usr/lib/mon/mon.d/dnscustom.monitor line 176. (Maybe you should just omit the defined()?) defined(@array) is deprecated at /usr/lib/mon/mon.d/dnscustom.monitor line 182. (Maybe you should just omit the defined()?)
The defined function in recent perl is deprecated and genere a mon alerte. See this great information at : http://blogs.perl.org/users/rurban/2012/02/on-definedarray-and-definedhash.html This is my patch works well : diff /usr/lib/mon/mon.d/dns.monitor /usr/lib/mon/mon.d/dnscustom.monitor 171c171 < if (!defined(@Master)) { --- > if (! @Master) { 176c176 < if ( !defined(@Zones) ) { --- > if (! @Zones) { 182c182 < if ( !defined(@Queries) ) { --- > if (! @Queries) { I am using Linux antispam 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux libc6:amd64 2.13-38 perl 5.14.2-21+deb7u1 -- Brogniaux Gaëtan Tel direct : 065/842.385 (ext 6018) Tel support : 065/328.585 IT-Optics s.a. Boulevard Initialis, 28 7000 Mons Belgium TVA: BE473274282 / RC: MONS 143271 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org