Package: mysql-mmm-monitor Version: 2.2.1-1.1 Severity: important We were having issues getting the monitor up and running with the following in the /var/log/mmm_mond.log:
2015/07/08 12:32:10 INFO Waiting for network connection... 2015/07/08 12:32:10 INFO Spawning checker 'ping_ip'... 2015/07/08 12:32:10 INFO Shutting down checker 'ping_ip'... 2015/07/08 12:32:10 INFO Network connection is available. 2015/07/08 12:32:10 FATAL Child exited with exitcode 255, restarting after 10 second sleep I then ran across the following: > I added the following code to /usr/share/perl5/MMM/Monitor/Agent.pm on line > 41. > > if (! defined($old_state)) { $old_state = 'certinally not new_state'; } https://answers.launchpad.net/mysql-mmm/+question/233645 Editing Agent.pm with the above fixed the issue. Can that change be added to the Debian package as a patch? Not sure what the underlying issue is such that $old_state isn't being properly initialized. This modification isn't necessary for squeeze or wheezy, so I'm not sure what changed in jessie. Something to do with Perl perhaps? 5.20 is on jessie, while 5.14 is on wheezy: not sure what's changed between them. -- System Information: Debian Release: 8.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-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 Init: systemd (via /run/systemd/system) Versions of packages mysql-mmm-monitor depends on: ii libalgorithm-diff-perl 1.19.02-3 ii libclass-singleton-perl 1.4-1 ii libdbd-mysql-perl 4.028-2+b1 ii libdbi-perl 1.631-3+b1 ii libproc-daemon-perl 0.14-2 ii mysql-mmm-common 2.2.1-1.1 Versions of packages mysql-mmm-monitor recommends: ii fping 3.10-2 mysql-mmm-monitor suggests no packages. -- Configuration Files: /etc/default/mysql-mmm-monitor changed [not included] /etc/mysql-mmm/mmm_mon.conf changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org