Hi guys.. i realise vyatta don't have a compiler.. libpng and gd etc... which I need for the mrtg
so i tried to use apt-get to get compiler by running "apt-get install build-essential" and "apt-get install gcc" both of which didn't work... I need them to start on the mrtg yah... how you guys do it.. download the source and compile it? Daren -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Daren Tay Sent: Wednesday, 10 October 2007 11:23 To: Justin Fletcher Cc: vyatta-users@mailman.vyatta.com Subject: Re: [Vyatta-users] Logging Ok I will give it a try and update again... I thought there should be at least some form of logging enabled by default, mine doesn't. Daren -----Original Message----- From: Justin Fletcher [mailto:[EMAIL PROTECTED] Sent: Tuesday, 09 October 2007 22:31 To: Daren Tay Cc: vyatta-users@mailman.vyatta.com Subject: Re: [Vyatta-users] Logging By default, all major issues are logged at warning level or above, If you want to log everything, you can enable it in config mode: set system syslog global facility * level debug I'll sometimes track this using the root shell when I'm debugging a problem: tail -f /var/log/messages Justin On 10/9/07, Daren Tay <[EMAIL PROTECTED]> wrote: > Hi there, > > thanks for the kind pointers. > > So if i want to use the default log (which I can view using "show log") what > options should I use? > > Daren > > -----Original Message----- > From: Justin Fletcher [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 09 October 2007 11:45 > To: Daren Tay > Cc: vyatta-users@mailman.vyatta.com > Subject: Re: [Vyatta-users] Logging > > > "show log" is also run outside of config mode -- > You can run any command in config mode by putting "run" in front of it, > as in "run show log" or "run show interfaces". > > If you want to watch traffic, "tshark" is available from the root shell. > Once you've run logged in as root, try > > tshark -i eth0 -n port 80 > > (assuming you want to monitor interface eth0). This will let you see > all your web traffic. A lot of TCP retransmissions would be a sign of > dropped packets somewhere along the path. > > Personally, I monitor the router with MRTG from http://oss.oetiker.ch/mrtg/ > . > Others prefer other monitoring tools, such as Cacti (http://www.cacti.net/). > > Justin > > On 10/8/07, Daren Tay <[EMAIL PROTECTED]> wrote: > > Ahh.. I Have to do "show interfaces" outside of config mode to see it... > > but is there any way to monitor http traffic only? > > > > Also, "show log" gives me this: > > > > ERROR: cannot show "log" because it doesn't exist. > > [edit] > > > > I missed something? > > > > Daren > > > > -----Original Message----- > > From: Justin Fletcher [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, 09 October 2007 10:49 > > To: Daren Tay > > Cc: vyatta-users@mailman.vyatta.com > > Subject: Re: [Vyatta-users] Logging > > > > > > Easiest way is with a "show interfaces" - it'll give you packet > statistics. > > By default, the system logs at warning level, so any major issues will be > > visible using "show log". > > > > Justin > > > > On 10/8/07, Daren Tay <[EMAIL PROTECTED]> wrote: > > > > > > > > > Hi guys, > > > > > > I have been having problems with my web servers behind a vyatta router. > I > > am > > > thinking of trying to check if vyatta is dropping packets.. what should > I > > do > > > to find out? > > > > > > Also.. I realise under "System", there's no logging. > > > What's the minimal logging should I use to get useful information > without > > > overloading the system? > > > > > > Thanks! > > > Daren > > > _______________________________________________ > > > Vyatta-users mailing list > > > Vyatta-users@mailman.vyatta.com > > > http://mailman.vyatta.com/mailman/listinfo/vyatta-users > > > > > > > > > > > > _______________________________________________ Vyatta-users mailing list Vyatta-users@mailman.vyatta.com http://mailman.vyatta.com/mailman/listinfo/vyatta-users _______________________________________________ Vyatta-users mailing list Vyatta-users@mailman.vyatta.com http://mailman.vyatta.com/mailman/listinfo/vyatta-users