ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alting <alting@mail.ru>
To: Andrey Zolotnicky <mandrake-russian@linuxteam.iplabs.ru>
Subject: [mdk-re] Re: На: [mdk-re] 2 Questions
Date: Mon Mar 12 16:21:13 2001
Message-ID: <18523314955.20010312162230@mail.ru> (raw)
In-Reply-To: <00b401c0aae5$a23d4150$09640cc3@kost.kz>

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

Monday, March 12, 2001, 2:14:41 PM, you wrote:

>>   1. Есть ли в природе такой скрипт или демон, который отслеживает
>>   свободное место в партициях на винте?

AZ> snmpd умеет выставлять переменную diskErrorFlag при уменшении свободного
AZ> пространства ниже определнного значения.
AZ> -----------------------------------------------------------------
AZ> # The agent can check the amount of available disk space, and make
AZ> # sure it is above a set limit.

AZ> # disk PATH [MIN=100000]
AZ> #
AZ> # PATH:  mount path to the disk in question.
AZ> # MIN:   Disks with space below this value will have the Mib's errorFlag
AZ> set.
AZ> #        Default value = 100000.
AZ> ------------------------------------------------------------------

>>   А то можно, конечно же, каждый день получать письма, задавая df по
>>   крону, но хотелось бы чтобы письмо приходило, когда партиция забита,
>>   скажем на 85-90%. Что-то вроде алерта.

AZ> ну так ради бога.... скриптик на перле строк с десяток... пускай так часто,
AZ> как надо, ставь порог такой, какой надо, посылай куда надо ;-)

AZ> Cheers,
AZ>     Andrey

AZ>  mailto:andrey@kost.kz
AZ>  ICQ UIN:5526471
AZ>  nic-hdl:AZ774-RIPE



AZ> _______________________________________________
AZ> Mandrake-russian mailing list
AZ> Mandrake-russian@linuxteam.iplabs.ru
AZ> http://linuxteam.iplabs.ru/mailman/listinfo/mandrake-russian

Все это, конечно, замечательно, вот только в перле я ни бум-бум...

-- 
With best regards                        mailto:alting@mail.ru





      reply	other threads:[~2001-03-12 16:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-12 13:59 Alting
2001-03-12 14:05 ` Michael Bykov
2001-03-12 14:12 ` îÁ: " Andrey Zolotnicky
2001-03-12 16:21   ` Alting [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=18523314955.20010312162230@mail.ru \
    --to=alting@mail.ru \
    --cc=mandrake-russian@linuxteam.iplabs.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