[Pkg-nagios-devel] Bug#481492: nagios2: dependecy should be fixed to mailutils instead of mailx

Vaclav Ovsik vaclav.ovsik at i.cz
Fri May 16 13:29:47 UTC 2008


Package: nagios2
Version: 2.11-1+b1
Severity: normal

Hi,
I'm just playing with nagios and see following in log:

May 16 14:22:15 bobek nagios2: Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type:
+RECOVERY\n\nService: zombie procs\nHost: cnsc1-1\nAddress: 10.33.0.10\nState: OK\n\nDate/Time: Fri May 16 14:22:15 CEST
+2008\n\nAdditional Info:\n\nPROCS OK: 0 processes with STATE = Z" | /bin/mail -s "** RECOVERY alert - cnsc1-1/zombie procs is OK **"
+vaclav.ovsik at i.cz" resulted in a return code of 127.  Make sure the script or binary you are trying to execute actually exists...

I found that there is no /bin/mail on my system.

zito at bobek:~$ apt-cache search /bin/mail
mailutils - GNU mailutils utilities for handling mail

mailx is currently transitinal package to bsd-mailx and it contains
/usr/bin/bsd-mailx. Shoud be this handled by alternatives?
(Maybe bsd-mailx should provide alternative link /bin/mail and it is a bug of
it then. I don't know.)

Regards
-- 
Zito

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=cs_CZ.ISO-8859-2 (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages nagios2 depends on:
ii  libc6                  2.7-11            GNU C Library: Shared libraries
ii  libgd2-xpm             2.0.36~rc1~dfsg-2 GD Graphics Library version 2
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libperl5.10            5.10.0-10         Shared Perl library
ii  libpng12-0             1.2.27-1          PNG library - runtime
ii  nagios2-common         2.11-1            support files for nagios2
ii  perl                   5.10.0-10         Larry Wall's Practical Extraction 
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

nagios2 recommends no packages.

-- no debconf information





More information about the Pkg-nagios-devel mailing list