If you're running MRTG as a cron job try adding >/dev/null 2>&1

For example

0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/local/mrtg-2/bin/mrtg 
/home/mrtg/cfg/mrtg.cfg --logging /var/log/mrtg.log >/dev/null 2>&1

[-d]

 -----Original Message-----
From:   Mustafa Cagatayli [mailto:[EMAIL PROTECTED] 
Sent:   Tuesday, September 09, 2003 5:06 AM
To:     [EMAIL PROTECTED]
Subject:        [mrtg] Stopping the "SNMP Error:  No response received" 
messages. - 2

Hi,

I agree about the possible reasons for a port not to respond, and the 
method the mail messages appears.

But isn't there a method to prevent MRTG not to send an e-mail message for 
each port if it is not responding ? There are so many ports that I monitor, 
and my mailbox gets full very frequently.

Regards.


At 16:59 08.09.2003 +0200, you wrote:
>Welcome
>
> > I am using MRTG 2.9.17 on mu Redhat 9.0 Linux server successfully for
> > monitoring  the traffic of my Cisco 25xx routers and 100's of Lucent
>switch
> > ports.
> >
> > Is there a way to stop MRTG sending "SNMP Error:  No response received"
> > messages through email to [EMAIL PROTECTED],  for the ports that
> > are no accessible at the time of control.
>
>Mayby:
>
>1) you provide wrong password? Check up at cisco line: snmp-server community
>   a) check access list.
>   b) RO access is granted ?
>
>2) IOS was crashed? (ex low memory), try restart...
>
>aa.. email's send to you via cron run-proccess..
>
>I greet
>Wiesiek


Mustafa Cagatayli
CC

--
Unsubscribe mailto:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
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

Reply via email to