Package: mon
Version: 1.2.0-1
Severity: minor
UP and DOWN alert emails differ only by a prepended "UP" to the
subject line of the former. This means if you're reading using
a mail client, such as K-9 Mail for Google Android, which auto-
scrolls past the headers, you cannot differentiate easily between
a failure renotification and a recovery. I've applied the following
patch:
--- mail.alert.orig 2013-01-03 13:58:46.000000000 -0500
+++ mail.alert 2013-01-03 13:50:05.000000000 -0500
@@ -65,6 +65,8 @@
Secs until next alert : $opt_l
EOF
+print MAIL "Service Status : ", ($opt_u ? "UP" : "DOWN"), "\n";
+
print MAIL wrap ("", "\t\t\t", "Members : $opt_h"), "\n";
print MAIL <<EOF;
This includes a server status line in the message body, in a natural
location.
-- System Information:
Debian Release: 6.0.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages mon depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii libc6 2.11.3-4 Embedded GNU C Library: Shared lib
ii libtime-period-perl 1.20-8 Perl library for testing if a time
ii mon-client 1.2.0-1 modules for interfacing with the m
Versions of packages mon recommends:
ii fping 2.4b2-to-ipv6-16.1 sends ICMP ECHO_REQUEST packets to
ii libauthen-pam-perl 0.16-2 Perl interface to PAM library
ii libcrypt-ssleay-perl 0.57-2 Support for https protocol in LWP
ii libfilesys-diskspace- 0.05-13 fetch filesystem size and usage in
ii libnet-dns-perl 0.66-2 Perform DNS queries from a Perl sc
ii libnet-ldap-perl 1:0.4001-2 client interface to LDAP servers
ii libnet-telnet-perl 3.03-3 Script telnetable connections
ii libsnmp-perl 5.4.3~dfsg-2 SNMP (Simple Network Management Pr
ii libstatistics-descrip 3.0200-1 Perl module for basic descriptive
ii libtime-modules-perl 2006.0814-2 Various Perl modules for time/date
ii perl-modules [libnet- 5.10.1-17squeeze4 Core Perl modules
mon suggests no packages.
-- Configuration Files:
/etc/default/mon changed [not included]
/etc/mon/mon.cf changed [not included]
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]