[mrtg] MRTG and mailstats

John Oliver joliver at john-oliver.net
Mon Dec 8 07:18:30 MET 2003


[joliver at ns mrtg-2.10.11]$ sudo /usr/local/mrtg-2/bin/mrtg
/usr/local/etc/mailstats.conf
Can't exec "/usr/local/mrtg-2/bin/mailstats": No such file or directory
at /usr/local/mrtg-2/bin/mrtg line 1666.
WARNING: Running '/usr/local/mrtg-2/bin/mailstats': No such file or
directory

[joliver at ns mrtg-2.10.11]$ ls -l /usr/local/mrtg-2/bin/mailstats
-rwxr-xr-x    1 root     root         2589 Dec  7 20:21
/usr/local/mrtg-2/bin/mailstats

sub getexternal ($) {
    my $command=shift;
    my $in=undef;
    my $out=undef;
    my $uptime="unknown";
    my $name="unknown";

    open (EXTERNAL , $command."|")  <<<<THIS IS LINE 1666>>>>
        || warn "WARNING: Running '$command': $!\n";


MRTG is 2.10.11

-- 
John Oliver, CCNA                            http://www.john-oliver.net/
Linux/UNIX/network consulting         http://www.john-oliver.net/resume/
*    *    *    *    *    *    *     *    *    *    *    *    *    *    *  
Contribute to the SpamCon Legal Fund!! http://www.spamcon.org/legalfund/

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