[mrtg] mrtg - set alert on high bandwidth usage

Reale Marco Marco.Reale at secondamano.it
Thu Nov 13 12:19:06 MET 2003


Hi.
 

For long time i searched on internet (google, forum etc...) a way to setting
mrtg to send email alert when bandwidth usage is over x% (for example 80%)

I already use mrtg on windows 2000 workstation to monitor windows 200
servers cpu, ram and disks using mrtg.cfg files like this:

 

Background[mi03wis_priv_vs_user_usage_percent]: #9090909

Target[mi03wis_priv_vs_user_usage_percent]:
.1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.3.48.58.48&.1.3.6.1.4.1.311.1.1.3.1.1.2.1.4
.3.48.58.48:public at 192.168.10.13

MaxBytes[mi03wis_priv_vs_user_usage_percent]: 100

Title[mi03wis_priv_vs_user_usage_percent]: Average Privileged and User Mode
CPU Utilization (%)

Options[mi03wis_priv_vs_user_usage_percent]: gauge, nopercent, absolute

# Unscaled[mi03wis_priv_vs_user_usage_percent]: dwmy

# Supress[mi03wis_priv_vs_user_usage_percent]:dwmy

XSize[mi03wis_priv_vs_user_usage_percent]: 380

YSize[mi03wis_priv_vs_user_usage_percent]: 100

YLegend[mi03wis_priv_vs_user_usage_percent]: CPU Usage (%)

ShortLegend[mi03wis_priv_vs_user_usage_percent]: %

Legend1[mi03wis_priv_vs_user_usage_percent]: Privileged (NT system) CPU use
in percent

Legend2[mi03wis_priv_vs_user_usage_percent]: User (application) CPU use in
percent

# Legend3[mi03wis_priv_vs_user_usage_percent]:

# Legend4[mi03wis_priv_vs_user_usage_percent]:

LegendI[mi03wis_priv_vs_user_usage_percent]: PrivCPU:

LegendO[mi03wis_priv_vs_user_usage_percent]: UserCPU:

 

# Use ThreshMinI for minimum threshold breach notification

# i.e. if under ThreshMinI, then threshunder.bat will run

# ThreshMinI[mi03wis_priv_vs_user_usage_percent]: 10

# ThreshProgI[mi03wis_priv_vs_user_usage_percent]:
C:\mrtg\thresholds\threshunder.bat

 

# Use ThreshMaxI for maximum threshold breach notification

# i.e. if over ThreshMaxO, then threshover.bat will run

ThreshMaxI[mi03wis_priv_vs_user_usage_percent]: 60

ThreshProgI[mi03wis_priv_vs_user_usage_percent]:
C:\mrtg\thresholds\threshover.bat

#ThreshProgOKI[mi03wis_priv_vs_user_usage_percent]:
C:\mrtg\thresholds\threshok.bat

 

I already use mrtg to create graphs for network cards. I used cfgmaker and
all worked fine but, i need to create an mrtg files with entries like above
to provide email alert when, for example, packets are > than 100000

Can someone help me? I think is very strange that doesn't exist someone who
already tried a future like this....

 

 

Thanks



--
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