[mrtg] Re: mrtg with sendmail again

Imran imranbhatti at isb.sdnpk.org
Wed Mar 14 07:24:36 MET 2001



Dear Daniel,

Again thanks very much for latest script
but i am having problem again as when i use mrtg giving the cfg file it is
giving error like

WARNING: Could not get any data from external command
'/usr/local/src/mrtg-2.9.10/bin/get-smtp-bytes-local.pl ns1-isb.sdnpk.org'
Maybe the external command did not even start. (Illegal seek)

my cfg file is


Workdir:/usr/local/apache/htdocs/mailstats
Options[^]: perminute,nopercent,integer
Target[mail-msg]: `/usr/local/src/mrtg-2.9.10/bin/get-smtp-msg-local.pl
ns1-i$MaxBytes[mail-msg]: 2000000
Title[mail-msg]: SMTP Messages/minute on mail server
PageTop[mail-msg]: SMTP Messages/minute on mail.server
Legend1[mail-msg]: SMTP Messages/minute in
Legend2[mail-msg]: SMTP Messages/minute out
LegendI[mail-msg]: SMTP Messages/minute in 
LegendO[mail-msg]: SMTP Messages/minute out

and i also use this (below) but same problem.


Workdir:/usr/local/apache/htdocs/mailstats
Options[^]: perminute,nopercent,integer
Target[mail-msg]: `/usr/local/src/mrtg-2.9.10/bin/get-smtp-msg-local.pl mail.server.com'
ns1-i$MaxBytes[mail-msg]: 2000000
Title[mail-msg]: SMTP Messages/minute on mail server
PageTop[mail-msg]: SMTP Messages/minute on mail.server
Legend1[mail-msg]: SMTP Messages/minute in
Legend2[mail-msg]: SMTP Messages/minute out
LegendI[mail-msg]: SMTP Messages/minute in 
LegendO[mail-msg]: SMTP Messages/minute out





On Tue, 13 Mar 2001, Daniel R . Kilbourne wrote:

> 
> if mrtg in on the mailserver, then you do not need ssh. 
> 
> I will edit the scripts for cases where mrtg is on the mailserver itself and post them 
> at http://netophilia.net/MRTG/scripts again. Give me a few minutes to get them there.
> 
> 
> 
> the rrdtool stuff is because I use rrdtool...you can get rid of that line.
> 
> 
> Imran extolled:
> > 
> > 
> > First of all thanks very much for your reply.
> > 
> > first of all i tells you that i install mrtg on local mailserver.
> > so i need ssh???
> > 
> > and another thing is confusing that is 
> > 
> > LogFormat: rrdtool
> 
> 

-- 
Best Regards
 Imran Fazal Bhatti
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                     "Only The Shadow Knows                          |
|                      what evil lurks in the                         |
|                          Heart of Men!"                             |
|                        !!! Linux User !!!                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
               This e-mail message is 100% Microsoft free!




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