ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: community@altlinux.ru
Subject: Re: [Comm] nagios
Date: Tue, 19 Apr 2005 18:38:29 +1100
Message-ID: <20050419183829.605a2f1d@stat.sakhalin.ru> (raw)
In-Reply-To: <1203000619.20050419081335@donmz.donetsk.ua>

On Tue, 19 Apr 2005 08:13:35 +0300
Andrey A. Yefremov wrote:

> Hello, Dmitry.
> 
> Tuesday, April 19, 2005, 1:31:39 AM, you wrote:
> 
> > On Mon, 18 Apr 2005 17:50:19 +0300
> > Andrey A. Yefremov wrote:
> 
> >> Здравствуйте.
> >> 
> >> У кого получилось мониторить через nagios дисковое пространство на
> >> файловом сервере?
> 
> > У меня, например. ;)
> 
> >> 1. ALTM 2.4, nagios 1.2 работает от пользователя nagios.
> >> 
> >> 2. в checkcommands.cfg прописал:
> >> 
> >> # my 'check_disk_smb' command definition
> >> define command{
> >>         command_name    check_disk_smb
> >>         command_line    $USER1$/check_disk_smb -H $HOSTADDRESS$ -s $ARG1$ -u $ARG2$ -p $ARG3$
> >>         }
> 
> > Попробуй от руками (от пользователя nagios) выполнить check_disk_smb
> > c соответствующими параметрами и смотри на результаты. Практически
> > у всех плагинов есть ключь -v -- verbose.
> 
> > Но для мониторинга дискового пространства на сервере я бы использовал
> > (да и использую %) nagios-nrpe и соответствующий плагин, отдающий
> > информацию о локальных дисках.
> 
> [root@surogat archives]# apt-get install nagios-nrpe
> Чтение списков пакетов... Завершено
> Построение дерева зависимостей... Завершено
> Следующие пакеты будут УДАЛЕНЫ:
>   nagios-default nagios-default-www
> Следующие НОВЫЕ пакеты будут установлены:
>   nagios-nrpe
> 0 будет обновлено, 1 новых установлено, 2 пакетов будет удалено и 87 не будет обновлено.
> Необходимо получить 23,7kB архивов.
> После распаковки будет освобождено 2234kB дискового пространства.
> 
> мне не совсем это понятно..

nagios-nrpe и nagios-plugins (в твоем случае - nagios-plugins-local)
должны устанавливаться на тот сервер, диски которого ты хочешь мониторить.

На машину, где живет Nagios надо установить nagios-plugins-nrpe.

Ну и прочитать документацию из пакетов NRPE.

-- 
WBR, Dmitry Lebkov


      reply	other threads:[~2005-04-19  7:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-18 14:50 Andrey A. Yefremov
2005-04-18 22:31 ` Dmitry Lebkov
2005-04-19  5:13   ` Re[2]: " Andrey A. Yefremov
2005-04-19  7:38     ` Dmitry Lebkov [this message]

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=20050419183829.605a2f1d@stat.sakhalin.ru \
    --to=dima@sakhalin.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git