From: Dmitriy Gnidchenko <savithur@avatar.spb.ru> To: sisyphus@altlinux.ru Subject: Re: [sisyphus] Nagios Date: Thu, 24 Apr 2003 21:59:33 +0400 (MSD) Message-ID: <Pine.LNX.4.53L.0304241031190.23828@gw.lincomp.ru> (raw) In-Reply-To: <20030424090534.249a8ea5.dima@sakhalin.ru> Доброе время суток!!! > > В Нагиос логе все оки, NOTIFY отработал с worning или > notify. > > но сендмейл не получил ни какого письма. > > > > Уже и смотреть не знаю куда :( > > Проверить наличие каталога tmp в домашнем каталоге юзера > nagios, > проверить shell у пользователя nagios. nagios:x:115:57:Nagios(R) account:/var/lib/nagios:/bin/false в домашнем каталоге имеется tmp > Так же, можно попробовать заменить комманду 'mail > nagios@localhost' > на самописный скрипт, отправляющий все, что им получено + > переменные > окружения в какой-нить файл. И смотреть, что не так. Если я > ничего > не путаю, для работы mail необходима инициализированная > переменная TMP. попробовал все что доктор прописал :) что в итоге получилось Нарисовал скрипт который в точности выполняет действия mail, но перенаправляет в файл. результат полученного файла совпадает с требуемыми параметрами. Отсебятины он не лепит. так что похоже проблема не в Nagios, тогда надо трясти mail Как проверить наличие переменной TMP? в данном случае, она должна быть у узера из под которого стартует нагиос. Хотя странно, при холодном рестарте машины все ведь работает, во всяком случае работало :( CU. Дмитрий savithur@avatar.spb.ru
next prev parent reply other threads:[~2003-04-24 17:59 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-04-23 12:33 Dmitriy Gnidchenko 2003-04-23 22:05 ` Dmitry Lebkov 2003-04-24 17:59 ` Dmitriy Gnidchenko [this message] 2003-04-24 22:51 ` Dmitry Lebkov 2003-05-01 18:59 ` Dmitriy Gnidchenko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=Pine.LNX.4.53L.0304241031190.23828@gw.lincomp.ru \ --to=savithur@avatar.spb.ru \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git