ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] nagios
@ 2005-04-18 14:50 Andrey A. Yefremov
  2005-04-18 22:31 ` Dmitry Lebkov
  0 siblings, 1 reply; 4+ messages in thread
From: Andrey A. Yefremov @ 2005-04-18 14:50 UTC (permalink / raw)
  To: community

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

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-04-19  7:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-18 14:50 [Comm] nagios 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

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