ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Andrey A. Yefremov" <sapr_adm@donmz.donetsk.ua>
To: community@altlinux.ru
Subject: [Comm] nagios
Date: Mon, 18 Apr 2005 17:50:19 +0300
Message-ID: <1712548806.20050418175019@donmz.donetsk.ua> (raw)

Здравствуйте.

У кого получилось мониторить через 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$
        }

2. в services.cfg:

define service{
        use                             generic-service         ; Name of service template to use

        host_name                       PDC
        service_description             raid1 space
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           1
        retry_check_interval            1
        contact_groups                  admins
        notification_interval           120
        notification_period             24x7
        notification_options            w,u,c,r
        check_command                   check_disk_smb!share!user!pwd
}

мониторинг говорит

CRITICAL        2005-04-18 17:41:02      0d 0h 36m 57s  3/3     (No output!)
  
PS пардон за недописанное письмо

-- 
Andrey A. Yefremov
JSC "Donetsk Iron & Steel Works",Project design department,1st category engineer
mailto:sapr_adm@donmz.donetsk.ua
phone:+38-062-3322631




             reply	other threads:[~2005-04-18 14:50 UTC|newest]

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

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=1712548806.20050418175019@donmz.donetsk.ua \
    --to=sapr_adm@donmz.donetsk.ua \
    --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