RE: Re:Bandwidth Monitor
From: Cowles, Steve (steve_at_stevecowles.com)
Date: 05/09/04
- Previous message: Gavin Durman: "Re: Tomcat on RHEL ES 3x"
- Maybe in reply to: Harry: "Bandwidth Monitor"
- Next in thread: Harry: "Re: Bandwidth Monitor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "'General Red Hat Linux discussion list'" <redhat-list@redhat.com> Date: Sun, 9 May 2004 07:47:48 -0500
Harry wrote:
> Hello Mr.Ed,
>
> I am sorry I am just not able to get this working....correct me if I
> am wrong, the graphs/output that u sent me a while ago are the ones
> that get generated when Josep wendels script is executed right? But
> each time I run that script which is mrtg_total.pl
> /etc/mrtg/makecfg.sh, I get this error,
>
> /usr/local/bin/mrtg_total.pl: line 135: syntax error near unexpected
> token `$DEBUG'
> /usr/local/bin/mrtg_total.pl: line 135: `my ($DEBUG)= (0); # 1 to get
> debugging printouts to STDERR,'
Pardon my interuption, but...
The above looks to be a shell error, not a perl error. i.e. wrong
interpreter.
Either add the call to perl on the first line of mrtg_total.pl or execute
from a shell command line using something like:
# cd /usr/local/bin
# perl mrtg_total.pl /FULL_PATH_TO/mrtg.cfg
>
> I have read the site and he does say something abt it, but I dont seem
> to understand whats to be done..Can u pls let me know what exactly you
> have done to get this working? I have also attached my makecfg.sh
> script, pls have a look at it and let me know if its right?
The attached script you reference creates the .cfg file(s) that would be
used by both mrtg and mrtg_total.pl. Run this script first, then refernece
the created .cfg file(s) as shown above for mrtg_total.pl.
Steve Cowles
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Gavin Durman: "Re: Tomcat on RHEL ES 3x"
- Maybe in reply to: Harry: "Bandwidth Monitor"
- Next in thread: Harry: "Re: Bandwidth Monitor"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|