ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] nagios
@ 2005-04-18 14:47 Andrey A. Yefremov
  0 siblings, 0 replies; only message in thread
From: Andrey A. Yefremov @ 2005-04-18 14:47 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!admin!admin!pkoadmin
}


  

-- 
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] only message in thread

only message in thread, other threads:[~2005-04-18 14:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-18 14:47 [Comm] nagios Andrey A. Yefremov

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