[mrtg] Re: Threshold Config
Federico Pacis
FPacis at Datum.com
Wed Nov 8 16:52:49 MET 2000
There are two parts to my threshold emailing. One is the text file that
states that my hardrive has hit a threshold marker.
"TS1 L drive is near or under 100 megs of drive space"
The other is the sendmail program that executes a batch file. If you would
like a zipped copy of the sendmail program that works with NT, let me know
and I'll email it to you.
rem Batch file to test BLAT message
rem run AFTER installing BLAT.EXE (edit and run install.bat)
rem ---------------------------------------------------------
c:\sendmail\blat c:\thresholds\ts1l.txt -s "mrtg: Threshold Message" -t
abc at 123.com
c:\sendmail\blat c:\thresholds\ts1l.txt -s "mrtg: Threshold Message" -t
123 at abc.com
exit
-----Original Message-----
From: Blake McCraw [mailto:blake at webkrew.com]
Sent: Wednesday, November 08, 2000 7:18 AM
To: Federico Pacis
Subject: Re: [mrtg] Re: Threshold Config
Could you also post the contents of the batch file?
We'd like to see how you are passing the variables into the email message.
Thanks!
Blake
Federico Pacis wrote:
>
> I'm not sure what type of equipment your needing threshold information,
but
> I've attached part of my config file that has threshold checking on my
> server harddrive. This also emails the status if it reaches below a
certain
> percentage.
>
>
> Title[TS1_DSK_L]: Disk Space Remaining L Drive on TS1
> PageTop[TS1_DSK_L]: <H2><small>3.99 Gigabyte Partition - Disk Space
> Remaining (%) on L: on TS1</small></H2>
>
Target[TS1_DSK_L]:1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.6.48.58.48.58.76.58.0&1.3.
> 6.1.4.1.311.1.1.3.1.1.5.1.3.6.48.58.48.58.76.58.0:public at 172.16.1.21
> MaxBytes[TS1_DSK_L]: 100
> Options[TS1_DSK_L]: gauge, absolute, nopercent
> Unscaled[TS1_DSK_L]: dwmy
> XSize[TS1_DSK_L]: 380
> YSize[TS1_DSK_L]: 100
> YLegend[TS1_DSK_L]: Disk Avail (%)
> ShortLegend[TS1_DSK_L] : %
> Legend1[TS1_DSK_L]: Disk Space Available in %
> LegendI[TS1_DSK_L]: DiskFree: 
> LegendO[TS1_DSK_L]:
> ThreshMinI[TS1_DSK_L]: 4
> ThreshProgI[TS1_DSK_L]: c:\sendmail\ts1l.bat
>
> -----Original Message-----
> From: Pablo F. Garcia Melga [mailto:pablo.garcia at xlnet.com.ar]
> Sent: Tuesday, November 07, 2000 10:21 AM
> To: mrtg at list.ee.ethz.ch
> Subject: [mrtg] Threshold Config
>
> Does Anybody has an example of how to configure Threshold Checking and
> alerting in Windows NT ?
>
> Any help will be appreciated.
>
> Atte. Pablo F. Garcia Melga
> DeRemate.com - Tecnology
> Tel: +54 (11) 4893-1222
> e-mail: pgarcia at deremate.com
> ICQ # : 13889842
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive http://www.ee.ethz.ch/~slist/mrtg
> FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Archive http://www.ee.ethz.ch/~slist/mrtg
> FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
> WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list