Re: lug-bg: MRTG
> Hristo Genkov wrote: > > Sledeneto po interface nai-lesno se dokarva s cfgmaker - vyrvi v paketa na > mrtg-to. Puskash go s podhodqshtite opcii i to ti pravi conf file sys vsichki > interfaces koito mashinata poznava. Ostava samo da si go redaktirash za tezi, > koito te interesuva. Ako imash snmpd pusnato na mashinata :-)) === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG
On Tuesday 28 August 2001 12:10, you wrote: > > Hristo Genkov wrote: > > > > Sledeneto po interface nai-lesno se dokarva s cfgmaker - vyrvi v paketa > > na mrtg-to. Puskash go s podhodqshtite opcii i to ti pravi conf file sys > > vsichki interfaces koito mashinata poznava. Ostava samo da si go > > redaktirash za tezi, koito te interesuva. > > Ako imash snmpd pusnato na mashinata :-)) > === > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora E da, ama si mislq, che edno snmpd shte otnema mnogo po-malko resurs ot vsichkite tiq istorii s ipchains i neznainiq broi scriptove sled tqh:) === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG
> > > Sledeneto po interface nai-lesno se dokarva s cfgmaker - vyrvi v paketa > > > na mrtg-to. Puskash go s podhodqshtite opcii i to ti pravi conf file sys > > > vsichki interfaces koito mashinata poznava. Ostava samo da si go > > > redaktirash za tezi, koito te interesuva. > > > > Ako imash snmpd pusnato na mashinata :-)) > > E da, ama si mislq, che edno snmpd shte otnema mnogo po-malko resurs ot > vsichkite tiq istorii s ipchains i neznainiq broi scriptove sled tqh:) mozhe i taka da e, no ot gledna tochka na sigurnost predpochitam da pusna "scriptovete" otkolkoto snmpd :) ne che mi prechi na firewall-a da si slozha ipchains -A input -p udp --dport 161 -j DENY no wse pak :) === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG
Georgi Chorbadzhiyski wrote: [EMAIL PROTECTED]"> Sledeneto po interface nai-lesno se dokarva s cfgmaker - vyrvi v paketana mrtg-to. Puskash go s podhodqshtite opcii i to ti pravi conf file sysvsichki interfaces koito mashinata poznava. Ostava samo da si goredaktirash za tezi, koito te interesuva. Ako imash snmpd pusnato na mashinata :-)) E da, ama si mislq, che edno snmpd shte otnema mnogo po-malko resurs otvsichkite tiq istorii s ipchains i neznainiq broi scriptove sled tqh:) mozhe i taka da e, no ot gledna tochka na sigurnost predpochitam da pusna"scriptovete" otkolkoto snmpd :) ne che mi prechi na firewall-a da si slozhaipchains -A input -p udp --dport 161 -j DENYno wse pak :)===A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora 4e kakvo mu e na snmpd-to??? Trasni edin dopulnitelen rule vuv firewall-a i si gotov. Naistina e po-4ove6ko i razumno otkolkoto sus skriptovetene , 4e ne stava i taka de, ama za6to trqbva da se pravqt kupi6ta indianski slojnotii? ;) luck & eGardz! -- . : Kliment Ognianov : : Junior System Administrator & Developer : : ISP Networks Department : : BulInfo Ltd. : :...: : ICQ #16864572, #64866894 : :...: : http://www.bulinfo.net/ : .
Re: lug-bg: MRTG
Friday, February 14, 2003, 9:41:43 AM, you wrote: KI> Ako zad edin mrejov interfeis imam poveche ot edna mreji, moga li da nakaram MRTG-to da chertae grafiki za vsiaka mreja pootdelno, a ne za obshtia trafik preminavasht prez interfeisa ? mojesh, pusni si ipchains/iptables accounting za vsqka meja i posle parsvai sys scritove i podavai na MRTG stoinostite. -- Best regards, Tosho Yankov Support engineer S&T Bulgaria e.o.o.d. Tel.: (+359 52) 602 510 (+359 52) 630 991 Fax.: (+359 52) 630 991 Mobile: (+359 88) 987 720 mailto:[EMAIL PROTECTED] A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
RE: lug-bg: MRTG
Moje. Mrtg Moje da raboti s vinshni scriptove. Az naprimer go karam da si vzema counterite ot custom iptables chainove. Eto primer: Mrtg.cfg # Global configuration WorkDir: /var/www/mrtg WriteExpires: Yes Target[in_packets]: '/etc/stats/iptables-in.sh' #- tova e scripta koito dyrpa counterite MaxBytes[in_packets]:1500 Title[in_packets]: Inbond packets #Eto go I : /etc/stats/iptables-in.sh iptables -nvxL | grep INPUT | grep -v Chain | awk '{ print $2 }' uptime | awk '{ print $3, $4 }' Tova she ti otbroiava paketite v chain INPUT Mojesh da si napravish custom chainove za opredeleni mreji ili adresi -Original Message- From: Konstantin Ivanov [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 9:42 AM To: [EMAIL PROTECTED] Subject: lug-bg: MRTG Ako zad edin mrejov interfeis imam poveche ot edna mreji, moga li da nakaram MRTG-to da chertae grafiki za vsiaka mreja pootdelno, a ne za obshtia trafik preminavasht prez interfeisa ? - http://zavedenia.gbg.bg - ëßÄÅ ÝÅ ÈÏÄÉÍ ÔÁÚÉ ×ÅÞÅÒ? A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html smime.p7s Description: application/pkcs7-signature
Re: lug-bg: MRTG
v contribute direktoriata na MRTG sorsa ima nqkolko primerni scripta. - Original Message - From: "Tosho Yankov" <[EMAIL PROTECTED]> To: "Konstantin Ivanov" <[EMAIL PROTECTED]> Sent: Friday, February 14, 2003 10:19 AM Subject: Re: lug-bg: MRTG > > > Friday, February 14, 2003, 9:41:43 AM, you wrote: > > KI> Ako zad edin mrejov interfeis imam poveche ot edna mreji, moga li da nakaram MRTG-to da chertae grafiki za vsiaka mreja pootdelno, a ne za obshtia trafik preminavasht prez interfeisa ? > mojesh, pusni si ipchains/iptables accounting za vsqka meja i posle > parsvai sys scritove i podavai na MRTG stoinostite. > > > -- > Best regards, > Tosho Yankov > Support engineer > S&T Bulgaria e.o.o.d. > Tel.: (+359 52) 602 510 > (+359 52) 630 991 > Fax.: (+359 52) 630 991 > Mobile: (+359 88) 987 720 > mailto:[EMAIL PROTECTED] > > > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). > http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora > To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
Re: lug-bg: MRTG
Hello Konstantin, Friday, February 14, 2003, 8:41:43 AM, you wrote: KI> Ako zad edin mrejov interfeis imam poveche ot edna mreji, KI> moga li da nakaram MRTG-to da chertae grafiki za vsiaka mreja pootdelno, KI> a ne za obshtia trafik preminavasht prez interfeisa ?  contrib äèðåêòîðèÿòà èìà script êîÿòî èçâëè÷à äàííèòå ñ iptables. Ñ ìàëêà ìîäèôèêàöèÿ ìîæå äà ñè íàïðàâèø ïðàâèëà îò chain êîéòî äà òè ìåðÿò êàêâîòî ñè ïîèñêàø. Àêî ìîæå è àç äà ïîñòíà åäèí âúïðîñ. Êîå å ïî áúðçî çà èçïúëíåíèå: MRTG èëè RRD. Èíà÷å ìîæå äà ïîãëåäíåø è òîâà: http://marla.ludost.net/stats/o Ìíîãî ìè õàðåñâà ;-D) -- Best regards, Todormailto:[EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
Re: lug-bg: MRTG
|Àêî ìîæå è àç äà ïîñòíà åäèí âúïðîñ. | |Êîå å ïî áúðçî çà èçïúëíåíèå: MRTG èëè RRD. ]- RRD ... takmo preminawam ot mrtg kam RRD... preporychwam go na wseki..i za da wi ]spestq cheteneto da wi kava kakwo trqbwa da naprawite... 0. instalirate rrdtool (urpmi rrdtool, apt-get rrdtool, emerge rrdtool...) 1. ostawqte si mrtg da si raboti 2. Izkopirwate si wsichki mrtgXXX.cfg failowe w nqkoiq druga direktoriq 3. Redaktirate wsichki izkopirani failowe kato : - dobawqte "LogFormat: rrdtool" - promenqte "WorkDir" da sochi drugade (tam ste se generirat saotwetno .rrd failowete) 4. Dublirate wsichki linii w crontab koito imate za mrtg... samo che tozi pyt s nowite config failowe (toest ostawqte nqkakaw opredelen period da rabotqt zaedno pure-mrtg i mrtg-rrd-collector) Ami pochti ste gotowi... weche trqbwa da wi se generirat danni :"), move da pusnete wednyv rachno towa deto ste dobawili w crontab za da widite dali nqmate nqkakwa greshka... Tuka zapochwa weche interesnata chast :")... 5. Otiwate na rrdtool.org i si dloadwate mrtg-rdd.cgi i RRgrapher.cgi 6. Kopirate si tezi failowe nqkade kadeto da ima +ExecCGI prawa (primerno /cgi-bin) 7. Redaktirate w nachaloto nqkolko promenliwi i w dwata skripta.. obshto mai bqha 4 vars.. 8. Otiwate na http://www.yoursite.org/cgi-bin/mrtg-rrd.cgi/ezwf.html (po systiq nachin po koito sa pod mrtg imenata i.e. x.x.x.x_X.html) i wivdate absolutno systite grafiki koito ste wivdali i pod mrtg, no weche se generirat ot rrd-baza 9. Otiwate na http://www.yoursite.org/cgi-bin/RRgrapher.cgi , a tuka weche move da si prawite wsqkakwi ekwilibristiki i da smeswate danni.. edin prost primer move da si naprawite grafika koqto da pokazwa wsichkite wi PVC plus total-a na cisco interfeis-a.. na edna grafika za 20 sec... zawisi kolko ste byrzi s mishkata :") 10. sled kato wsichko raboti otiwate na rrdtool.org i chetete mnogo sled 1-2 dena weche si prawite grafiki za kakwoto wi um zaide :") Az sam na stypka 10 weche :") , prawq si primetno skriptche da mi gleda user count na ftp-to (pure-ftp) wsyshtnost to e elementarno (pure-ftpwho -s | wc -l) ama mai ste probwam RRDs.pm da go naprawq po generalno.. Ta ideqta e da si ostawite mrtg da wi sabira dannite wyw rrd-baza a da polzwate mrtg-rrd.cgi da wi chertae grafikata... a pak kato zadobreete da si prawite i drugi gawri..:") I dwata skripta imat problemi pod mod_perl, taka che puskaite gi pod chisto CGI.. uspeh...hth raptor A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
Re: lug-bg: MRTG
|Ako zad edin mrejov interfeis imam poveche ot edna mreji, moga li da nakaram MRTG-to |da chertae grafiki za vsiaka mreja pootdelno, a ne za obshtia trafik preminavasht |prez interfeisa ? ]- eto nesto tuka deto bqh pochnal da pisha (mai ste trqbwa da si go dowyrsha, ]stoto ste mi trqbwa:")).. za ideq kak da extraktwash infoto ot iptables... posle go chrez RRDs.pm go pishesh w rrd bazi, i posle chertaesh grafiki... =blah.pl== #!/usr/bin/perl package SA::IPTExtract; sub new { my $this = shift; my $class = ref($this) || $this; my $self = {}; bless $self, $class; $self->capture; return $self; } sub display { my $self = shift; foreach my $c (keys %{$$self{stat}}) { print "Chain : $c\n"; foreach my $k (keys %{$$self{stat}{$c}}) { print "$k ==> $$self{stat}{$c}{$k}\n" } } } sub capture { my $self = shift; my $output = qx{iptables -L -v -n}; my @chains = $output =~ /(?:^|(Chain.+?))(?:\n\n|$)/gs; for my $c (@chains) { #get chain name my ($name) = $c =~ /Chain (\S+)?/; #remove header info $c =~ s/Chain.+destination//s; #walk all rules for my $line (split /\n/, $c) { my ($bytes,$src,$dst) = (split /\s+/,$line)[1,7,8]; $$self{stat}{$name}{"$src-$dst"} = $bytes; } #print "$name\n"; #print "$c\n-\n"; }; } 1; # package main; use Data::Dumper; my $ipt = new SA::IPTExtract(); $ipt->display; #print Dumper $ipt; A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
RE: lug-bg: MRTG
Tva e izlishno ako ostavish MRTG-to da ti sybira dannite. Predimstvoto na RRD Tool ne e v izchertavaneto na grafikite , a v tova che raboti s Round Robin Database koiato e mnogo po gyvkava I sigurna I moge da se izpolzva za mnogo neshta -Original Message- From: raptor [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 7:35 PM To: [EMAIL PROTECTED] Subject: Re: lug-bg: MRTG |áËÏ ÍÏÖÅ É ÁÚ ÄÁ ÐÏÓÔÎÁ ÅÄÉÎ ×ßÐÒÏÓ. | |ëÏÅ Å ÐÏ ÂßÒÚÏ ÚÁ ÉÚÐßÌÎÅÎÉÅ: MRTG ÉÌÉ RRD. ]- RRD ... takmo preminawam ot mrtg kam RRD... preporychwam go na wseki..i za da wi spestq cheteneto da wi kava kakwo trqbwa da naprawite... 0. instalirate rrdtool (urpmi rrdtool, apt-get rrdtool, emerge rrdtool...) 1. ostawqte si mrtg da si raboti 2. Izkopirwate si wsichki mrtgXXX.cfg failowe w nqkoiq druga direktoriq 3. Redaktirate wsichki izkopirani failowe kato : - dobawqte "LogFormat: rrdtool" - promenqte "WorkDir" da sochi drugade (tam ste se generirat saotwetno .rrd failowete) 4. Dublirate wsichki linii w crontab koito imate za mrtg... samo che tozi pyt s nowite config failowe (toest ostawqte nqkakaw opredelen period da rabotqt zaedno pure-mrtg i mrtg-rrd-collector) Ami pochti ste gotowi... weche trqbwa da wi se generirat danni :"), move da pusnete wednyv rachno towa deto ste dobawili w crontab za da widite dali nqmate nqkakwa greshka... Tuka zapochwa weche interesnata chast :")... 5. Otiwate na rrdtool.org i si dloadwate mrtg-rdd.cgi i RRgrapher.cgi 6. Kopirate si tezi failowe nqkade kadeto da ima +ExecCGI prawa (primerno /cgi-bin) 7. Redaktirate w nachaloto nqkolko promenliwi i w dwata skripta.. obshto mai bqha 4 vars.. 8. Otiwate na http://www.yoursite.org/cgi-bin/mrtg-rrd.cgi/ezwf.html (po systiq nachin po koito sa pod mrtg imenata i.e. x.x.x.x_X.html) i wivdate absolutno systite grafiki koito ste wivdali i pod mrtg, no weche se generirat ot rrd-baza 9. Otiwate na http://www.yoursite.org/cgi-bin/RRgrapher.cgi , a tuka weche move da si prawite wsqkakwi ekwilibristiki i da smeswate danni.. edin prost primer move da si naprawite grafika koqto da pokazwa wsichkite wi PVC plus total-a na cisco interfeis-a.. na edna grafika za 20 sec... zawisi kolko ste byrzi s mishkata :") 10. sled kato wsichko raboti otiwate na rrdtool.org i chetete mnogo sled 1-2 dena weche si prawite grafiki za kakwoto wi um zaide :") Az sam na stypka 10 weche :") , prawq si primetno skriptche da mi gleda user count na ftp-to (pure-ftp) wsyshtnost to e elementarno (pure-ftpwho -s | wc -l) ama mai ste probwam RRDs.pm da go naprawq po generalno.. Ta ideqta e da si ostawite mrtg da wi sabira dannite wyw rrd-baza a da polzwate mrtg-rrd.cgi da wi chertae grafikata... a pak kato zadobreete da si prawite i drugi gawri..:") I dwata skripta imat problemi pod mod_perl, taka che puskaite gi pod chisto CGI.. uspeh...hth raptor A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html smime.p7s Description: application/pkcs7-signature
RE: lug-bg: Mrtg
mislq che se slagashe pytq do programkata + parametri w obratni kawichki eto taka Target[ime]: `testowo_programche param1 param2` programkata trqbwashe da wryshta stojnost1 stojnost2 ili pyk stojnost1 stojnost2 ne si spomnqm :) regards, -- Boyan Krosnov (http://www.nat.bg/~bkrosnov) Network Administrator Lirex BG Ltd. > -Original Message- > From: Ivan Filipov [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 16, 2000 10:02 AM > To: [EMAIL PROTECTED] > Subject: lug-bg: Mrtg > > > Zdrawejte, > nqkoj dali move da mi kave kak moga da si naprawq > sobstwenna programka , koqto da podawa danni kym > mrtg-to i toj da chertae po zadaneni ot mene > stojnosti. Neshto ot sortna na broj modemi wklucheni w > daden moment. No dannite shte bydat podobni no az shte > gi podawam za neshto drugo. Mislq che nqkoj beshe > pisal tuka po tozi wypros, no tyrsachkata na web > stranicat ne raboti :(((i nqmashe kak da naprawq > search. > Vanka. > > > __ > Do You Yahoo!? > Yahoo! Calendar - Get organized for the holidays! > http://calendar.yahoo.com/ > == > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > Otpiswaneto RABOTI !!! : [EMAIL PROTECTED] > UNSUBSCRIBE LUG-BG > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. > - Stara Zagora > == A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) Otpiswaneto RABOTI !!! : [EMAIL PROTECTED] UNSUBSCRIBE LUG-BG http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: Mrtg
nai dobre shte napravish ako poglednesh v paket-a na mrtg-to v direktoria mrtg-src/contrib/ , tam ima mnogo gotini primerni programi vij primerno mrtg-src/contrib/cpumon/cpumon.pl syshto taka pogledni mrtg-src/doc/logfile.txt kadeto e opisan formatyt v koito triabva tvoiata programa da podava dannite Nikolay Hristov - Original Message - From: "Ivan Filipov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 16, 2000 9:02 AM Subject: lug-bg: Mrtg > Zdrawejte, > nqkoj dali move da mi kave kak moga da si naprawq > sobstwenna programka , koqto da podawa danni kym > mrtg-to i toj da chertae po zadaneni ot mene > stojnosti. Neshto ot sortna na broj modemi wklucheni w > daden moment. No dannite shte bydat podobni no az shte > gi podawam za neshto drugo. Mislq che nqkoj beshe > pisal tuka po tozi wypros, no tyrsachkata na web > stranicat ne raboti :(((i nqmashe kak da naprawq > search. > Vanka. == A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) Otpiswaneto RABOTI !!! : [EMAIL PROTECTED] UNSUBSCRIBE LUG-BG http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: Mrtg
Lesno se pishe programa za mrtg moje primerno nesto na perl koeto da podava stojnostti na izhoda.a mrtgto gi chete prez "Teget:" opciata si v mrtg.conf i tova e. > > Zdrawejte, > > nqkoj dali move da mi kave kak moga da si naprawq > > sobstwenna programka , koqto da podawa danni kym > > mrtg-to i toj da chertae po zadaneni ot mene > > stojnosti. Neshto ot sortna na broj modemi wklucheni w > > daden moment. No dannite shte bydat podobni no az shte > > gi podawam za neshto drugo. Mislq che nqkoj beshe > > pisal tuka po tozi wypros, no tyrsachkata na web > > stranicat ne raboti :(((i nqmashe kak da naprawq > > search. > > Vanka. > > >== >A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) >Otpiswaneto RABOTI !!! : [EMAIL PROTECTED] UNSUBSCRIBE LUG-BG >http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. == A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) Otpiswaneto RABOTI !!! : [EMAIL PROTECTED] UNSUBSCRIBE LUG-BG http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: Mrtg
Lesno se pishe programa za mrtg moje primerno nesto na perl koeto da podava stojnostti na izhoda.a mrtgto gi chete prez "Teget:" opciata si v mrtg.conf i tova e. > > Zdrawejte, > > nqkoj dali move da mi kave kak moga da si naprawq > > sobstwenna programka , koqto da podawa danni kym > > mrtg-to i toj da chertae po zadaneni ot mene > > stojnosti. Neshto ot sortna na broj modemi wklucheni w > > daden moment. No dannite shte bydat podobni no az shte > > gi podawam za neshto drugo. Mislq che nqkoj beshe > > pisal tuka po tozi wypros, no tyrsachkata na web > > stranicat ne raboti :(((i nqmashe kak da naprawq > > search. > > Vanka. > > >== >A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) >Otpiswaneto RABOTI !!! : [EMAIL PROTECTED] UNSUBSCRIBE LUG-BG >http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. == A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) Otpiswaneto RABOTI !!! : [EMAIL PROTECTED] UNSUBSCRIBE LUG-BG http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: Mrtg
lesno e . tribwa da mi dadesh za Target niakoi script naprimer, no ako mislish da merish trafik s natrupvane (ot ipchains naprimer), triabwa da znaesh , 4e ima ograni4enie do 999 MB (shtoto towa e speed na port,koiato poddurja kato max). t.e. vsi4ko koeto merish ne triabwa da nadminawa cifrata 9 ,ako ia nadmine spira da se vizualizira , a ne vinagi e udobno da se deli na 10,100,1000 az ne mojah da se sboria s tozi problem a i nikoi ot grupata ne mi pomogna. spored men mai samo towa mu e minusa na MRTG , ina4e e mnogo hubawo.Ako ima neshto pishi, az po4ti vsi4ko koeto moje da se meri go meria s MRTG. g. --- Emo Terziev <[EMAIL PROTECTED]> wrote: > Lesno se pishe programa za mrtg moje primerno nesto > na perl > koeto da podava stojnostti na izhoda.a mrtgto gi > chete prez > "Teget:" opciata si v mrtg.conf i tova e. > > > > > > Zdrawejte, > > > nqkoj dali move da mi kave kak moga da si > naprawq > > > sobstwenna programka , koqto da podawa danni kym > > > mrtg-to i toj da chertae po zadaneni ot mene > > > stojnosti. Neshto ot sortna na broj modemi > wklucheni w > > > daden moment. No dannite shte bydat podobni no > az shte > > > gi podawam za neshto drugo. Mislq che nqkoj > beshe > > > pisal tuka po tozi wypros, no tyrsachkata na web > > > stranicat ne raboti :(((i nqmashe kak da naprawq > > > search. > > > Vanka. > > > > > >== > >A mail-list of Linux Users Group - Bulgaria > (bulgarian linuxers) > >Otpiswaneto RABOTI !!! : > [EMAIL PROTECTED] UNSUBSCRIBE LUG-BG > >http://www.linux-bulgaria.org/ Hosted by Internet > Group Ltd. - Stara Zagora > > _ > Get Your Private, Free E-mail from MSN Hotmail at > http://www.hotmail.com. > > Share information about yourself, create your own > public profile at > http://profiles.msn.com. > > == > A mail-list of Linux Users Group - Bulgaria > (bulgarian linuxers) > Otpiswaneto RABOTI !!! : > [EMAIL PROTECTED] UNSUBSCRIBE LUG-BG > http://www.linux-bulgaria.org/ Hosted by Internet > Group Ltd. - Stara Zagora __ Do You Yahoo!? Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/ == A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) Otpiswaneto RABOTI !!! : [EMAIL PROTECTED] UNSUBSCRIBE LUG-BG http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: Mrtg
--- ggg <[EMAIL PROTECTED]> wrote: > lesno e . tribwa da mi dadesh za Target niakoi > script > naprimer, no ako mislish da merish trafik s > natrupvane > (ot ipchains naprimer), triabwa da znaesh , 4e ima > ograni4enie do 999 MB (shtoto towa e speed na > port,koiato poddurja kato max). Towa dobre :). Na men nqma da mi trqbwa s natrupwane samo shte trqbwa da se wizualizirat stojnosti w interwala ot 1 do 10 koito shte se menqt ... Predpolagam che shte se sprawq :), widqh formata na loga i dave nqma da ima problem az sam da si go prawq dave :) . Vanka. __ Do You Yahoo!? Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/ == A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) Otpiswaneto RABOTI !!! : [EMAIL PROTECTED] UNSUBSCRIBE LUG-BG http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG?
az ot tova pismo ne moga da shvana mnogo kakvo to4no celish , no dano da ti pomogna s tova koeto shte ti kaja. imash 3 stoinosti deto ti gi risuva: MAX - maksimalnoto za denia natovarvane ,AVERANGE - sredno i CURRENT -tekushto. ot CURRENT bi mogal da vijdash sastoianieto na liniata si ,tova po default se update-va na 5 min. tova koeto si promenil po CFG-to shte se vidi sled presmiataneto na novite kartinki,ako MRTG-to ti e staro shte se naloji da iztriesh vsi4ko v direktoriata v koiato displayvash za da si sazdade nanovo failovete , ina4e shte vijdash starite kartinki , v novite versii ne e taka, no az polzvah stara i brah jadove. g. --- Hristo Nazarov <[EMAIL PROTECTED]> wrote: > Zdravejte, > Pusnal sam si edno MRTG (2.9.17) i sa varwi kato > pushka. > Problema e slednia: > `Daily' Graph (5 Minute Average) > Max Bytes/sec 20.2 kB/s (98.6%) Average > Bytes/sec 1337.0 B/s (6.5%) > Current Bytes/sec 1154.0 B/s (5.6%) > Max Bytes/sec 6551.0 B/s (32.0%) Average > Bytes/sec 205.0 B/s (1.0%) > Current Bytes/sec 198.0 B/s (1.0%) > > > > Iskam da mi smiata Average Bytes/sec, kato wkliuchwa > i nulite, t.e da imam > realna predstawa kakwo e natowarvaneto na liniata. W > momenta Average > Bytes/sec pokazwa sredno aritmetichno samo na tezi > sluchai, kogato e imalo > nikakaw traffic. Razgledah Helpcheto i popadnah na > towa: > > withzeroes: Normally we ignore all values which are > zero when calculating > the average transfer rate on a line. If this is not > desirable use this > option. > Predpolagam che towa mi triabwa obache kato go > dobawih w > /usr/lib/mrtg/mrtg-network.cfg > > Options[220_w]: growright, absolute, gauge, > withzeroes > > > Nishto ne se promeni, dori i pri 0 transfer Average > Bytes/sec ne se > namaliawa a si sedi dokato liniata se razdwizi (ima > transfer po neia), chak > togawa se preizchisliawa..Ama ne e towa koeto > iskamNiakakwi Idei? > Pozdrawi > Hristo > > === > A mail-list of Linux Users Group - Bulgaria > (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet > Group Ltd. - Stara Zagora __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG?
Zdrawejte, MRTG mi e naj-poslednoto (2.9.17) Ideiata e che AVERAGE pokazwa srednoto natowarvane na liniata samo w sluchaite, Kogato ima transfer: Primer (Predi towa liniata ne e bila natowarena waobshte): 10:00 - 10K 10:05 - 5K 10:10 - 0K Togawa AVERAGE=(10+5)/2=12.5 - taka se smiata w momenta A az iskam da se smiata taka: (10+5+0)/3=5 Maj po iasno ne moga da obiasnia za kakwo stawa duma... Pozdrawi Hristo - Original Message - From: " ggg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 09, 2001 2:40 PM Subject: Re: lug-bg: MRTG? > az ot tova pismo ne moga da shvana mnogo kakvo to4no > celish , no dano da ti pomogna s tova koeto shte ti > kaja. > > imash 3 stoinosti deto ti gi risuva: MAX - > maksimalnoto za denia natovarvane ,AVERANGE - sredno i > CURRENT -tekushto. ot CURRENT bi mogal da vijdash > sastoianieto na liniata si ,tova po default se > update-va na 5 min. > > tova koeto si promenil po CFG-to shte se vidi sled > presmiataneto na novite kartinki,ako MRTG-to ti e > staro shte se naloji da iztriesh vsi4ko v direktoriata > v koiato displayvash za da si sazdade nanovo failovete > , ina4e shte vijdash starite kartinki , v novite > versii ne e taka, no az polzvah stara i brah jadove. > > g. > > > --- Hristo Nazarov <[EMAIL PROTECTED]> wrote: > > Zdravejte, > > Pusnal sam si edno MRTG (2.9.17) i sa varwi kato > > pushka. > > Problema e slednia: > > `Daily' Graph (5 Minute Average) > > Max Bytes/sec 20.2 kB/s (98.6%) Average > > Bytes/sec 1337.0 B/s (6.5%) > > Current Bytes/sec 1154.0 B/s (5.6%) > > Max Bytes/sec 6551.0 B/s (32.0%) Average > > Bytes/sec 205.0 B/s (1.0%) > > Current Bytes/sec 198.0 B/s (1.0%) > > > > > > > > Iskam da mi smiata Average Bytes/sec, kato wkliuchwa > > i nulite, t.e da imam > > realna predstawa kakwo e natowarvaneto na liniata. W > > momenta Average > > Bytes/sec pokazwa sredno aritmetichno samo na tezi > > sluchai, kogato e imalo > > nikakaw traffic. Razgledah Helpcheto i popadnah na > > towa: > > > > withzeroes: Normally we ignore all values which are > > zero when calculating > > the average transfer rate on a line. If this is not > > desirable use this > > option. > > Predpolagam che towa mi triabwa obache kato go > > dobawih w > > /usr/lib/mrtg/mrtg-network.cfg > > > > Options[220_w]: growright, absolute, gauge, > > withzeroes > > > > > > Nishto ne se promeni, dori i pri 0 transfer Average > > Bytes/sec ne se > > namaliawa a si sedi dokato liniata se razdwizi (ima > > transfer po neia), chak > > togawa se preizchisliawa..Ama ne e towa koeto > > iskamNiakakwi Idei? > > Pozdrawi > > Hristo > > > > > === > > A mail-list of Linux Users Group - Bulgaria > > (bulgarian linuxers) > > http://www.linux-bulgaria.org/ Hosted by Internet > > Group Ltd. - Stara Zagora > > > __ > Do You Yahoo!? > Get personalized email addresses from Yahoo! Mail - only $35 > a year! http://personal.mail.yahoo.com/ > === > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora > === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG?
aha ! sega razbrah. parvo vij ot helpa razlikata mejdu 'gauge' i 'absolute' ednoto natrupva , a drugoto ti vrashta razlika ot predhodnata stoinost. Vzemesh tova koeto ti dava stoinosti i izpolzvash 'unknaszero' opciata ,koiato ti slaga 0 ako niamash stoinost i polu4avash imenno 10+5+0,samo vnimavai koe ot dvete shte polzvash dali 'gauge' ili 'absolute' shtoto s ednoto shte grumne(ne pomnia s koe ). Ako ne polu4ish rezultat , moje da pristapish kam variant koito spored men e po-dobar: pishesh si script ,koito ti podava na MRTG-to tova koeto iskash da display-nesh i MRTG-to samo ti go risuva.dostatu4ni sa mu dve 4isla za da ti narisuva grafikata, a sastoianieto na liniata si mojesh da polu4ish po bezbroi na4ini , kakto i ima bezbroi software po vaprosa. georgi --- Hristo Nazarov <[EMAIL PROTECTED]> wrote: > Zdrawejte, > MRTG mi e naj-poslednoto (2.9.17) > Ideiata e che AVERAGE pokazwa srednoto natowarvane > na liniata samo w > sluchaite, Kogato ima transfer: > Primer (Predi towa liniata ne e bila natowarena > waobshte): > 10:00 - 10K > 10:05 - 5K > 10:10 - 0K > Togawa AVERAGE=(10+5)/2=12.5 - taka se smiata w > momenta > A az iskam da se smiata taka: (10+5+0)/3=5 > Maj po iasno ne moga da obiasnia za kakwo stawa > duma... > Pozdrawi > Hristo __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: [Lug-bg] mrtg logs
Скрипта ще може ли да го покажеш?Обаче в лога се записва ВИНАГИ само първия ред. Не мести надолу старите стойности. 1162988102 28 141162988102 0 0 0 01162987802 0 0 0 0Някой може ли да ме насочи къде е проблема?Tosho YankovSupport EngineerS&T Bulgariaphone: +359 2 965 17 87fax: +359 2 975 16 00 e-mail: [EMAIL PROTECTED]www.snt.bg___Lug-bg mailing list Lug-bg@linux-bulgaria.orghttp://linux-bulgaria.org/mailman/listinfo/lug-bg-- Димитър Василев Dimitar VassilevGnuPG key ID: 0x4B8DB525Keyserver: pgp.mit.eduKey fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525 ___ Lug-bg mailing list Lug-bg@linux-bulgaria.org http://linux-bulgaria.org/mailman/listinfo/lug-bg
Re: [Lug-bg] mrtg logs
Инак през cron ли го пускаш? Как и къде логваш? Така като гледам нямаш механизъм който да ротира старите неща по надолу. Да кажем ">>" за начало със sort,sed,awk - въпрос на мързел и фантазия. logger + local[0-9] може да помогне също. Може да има и други програмчета, но като голям мързел доде не ми дойде до д*** не се хващам. Успех-- Димитър ВасилевDimitar VassilevGnuPG key ID: 0x4B8DB525Keyserver: pgp.mit.eduKey fingerprint: D88A 3B92 DED5 917E 341E D62F 8C51 5FC4 4B8D B525 ___ Lug-bg mailing list Lug-bg@linux-bulgaria.org http://linux-bulgaria.org/mailman/listinfo/lug-bg
Re: RE: lug-bg: MRTG
To hubavo samo che tova ne ti li pokazva narastvashtia broi na paketite koito preninavat prez INPUT verigata. Az iskam da mi pokazva tekushtoto stoinost na trafika ot dadena mreva pred daden interfeis. > Îðèãèíàëíî ïèñìî >Îò: "Jivko Velikov" [EMAIL PROTECTED] >Îòíîñíî: RE: lug-bg: MRTG >Äî: <[EMAIL PROTECTED]> >Èçïðàòåíî íà: 2003-02-14 10:54:33.0 >-- >Moje. Mrtg Moje da raboti s vinshni scriptove. Az naprimer go karam da >si vzema counterite ot custom iptables chainove. >Eto primer: >Mrtg.cfg > ># Global configuration >WorkDir: /var/www/mrtg >WriteExpires: Yes >Target[in_packets]: '/etc/stats/iptables-in.sh' #- tova e scripta koito >dyrpa counterite >MaxBytes[in_packets]:1500 >Title[in_packets]: Inbond packets > >#Eto go I : /etc/stats/iptables-in.sh > > >iptables -nvxL | grep INPUT | grep -v Chain | awk '{ print $2 }' > >uptime | awk '{ print $3, $4 }' > >Tova she ti otbroiava paketite v chain INPUT > >Mojesh da si napravish custom chainove za opredeleni mreji ili adresi > >-Original Message- >From: Konstantin Ivanov [mailto:[EMAIL PROTECTED]] >Sent: Friday, February 14, 2003 9:42 AM >To: [EMAIL PROTECTED] >Subject: lug-bg: MRTG > > >Ako zad edin mrejov interfeis imam poveche ot edna mreji, moga li da >nakaram MRTG-to da chertae grafiki za vsiaka mreja pootdelno, a ne za >obshtia trafik preminavasht prez interfeisa ? > >- >http://zavedenia.gbg.bg - ëßÄÅ ÝÅ ÈÏÄÉÍ ÔÁÚÉ ×ÅÞÅÒ? > > >A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). >http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara >Zagora To unsubscribe: >http://www.linux-bulgaria.org/public/mail_list.html > > > - http://zavedenia.gbg.bg - Êúäå ùå õîäèì òàçè âå÷åð? A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
RE: RE: lug-bg: MRTG
Ami tochno , MRTG-to meri skorost a ne broi na paketite. Sravnqva tekushtata stoinost s tazi otpredi 5 minuti ako si go nastroil v crond da se update-va na 5 min -Original Message- From: Konstantin Ivanov [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 12:24 PM To: [EMAIL PROTECTED] Subject: Re: RE: lug-bg: MRTG To hubavo samo che tova ne ti li pokazva narastvashtia broi na paketite koito preninavat prez INPUT verigata. Az iskam da mi pokazva tekushtoto stoinost na trafika ot dadena mreva pred daden interfeis. > ïÒÉÇÉÎÁÌÎÏ ÐÉÓÍÏ >ïÔ: "Jivko Velikov" [EMAIL PROTECTED] >ïÔÎÏÓÎÏ: RE: lug-bg: MRTG >äÏ: <[EMAIL PROTECTED]> >éÚÐÒÁÔÅÎÏ ÎÁ: 2003-02-14 10:54:33.0 >-- >Moje. Mrtg Moje da raboti s vinshni scriptove. Az naprimer go karam da >si vzema counterite ot custom iptables chainove. >Eto primer: >Mrtg.cfg > ># Global configuration >WorkDir: /var/www/mrtg >WriteExpires: Yes >Target[in_packets]: '/etc/stats/iptables-in.sh' #- tova e scripta koito >dyrpa counterite >MaxBytes[in_packets]:1500 >Title[in_packets]: Inbond packets > >#Eto go I : /etc/stats/iptables-in.sh > > >iptables -nvxL | grep INPUT | grep -v Chain | awk '{ print $2 }' > >uptime | awk '{ print $3, $4 }' > >Tova she ti otbroiava paketite v chain INPUT > >Mojesh da si napravish custom chainove za opredeleni mreji ili adresi > >-Original Message- >From: Konstantin Ivanov [mailto:[EMAIL PROTECTED]] >Sent: Friday, February 14, 2003 9:42 AM >To: [EMAIL PROTECTED] >Subject: lug-bg: MRTG > > >Ako zad edin mrejov interfeis imam poveche ot edna mreji, moga li da >nakaram MRTG-to da chertae grafiki za vsiaka mreja pootdelno, a ne za >obshtia trafik preminavasht prez interfeisa ? > >- >http://zavedenia.gbg.bg - Ìñäå üå éðäêî æâÿê þåàåô? >=== = > >A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). >http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara >Zagora To unsubscribe: >http://www.linux-bulgaria.org/public/mail_list.html >=== = > > - http://zavedenia.gbg.bg - ëßÄÅ ÝÅ ÈÏÄÉÍ ÔÁÚÉ ×ÅÞÅÒ? A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html smime.p7s Description: application/pkcs7-signature
Re: lug-bg: mrtg & 1gb interfaces?
ÐÐÑÐÑÑÐ, ÐÐÑÑ ÐÐÑÐÐÐ ÐÐÑÐÑÑÐÐÑÐ, ÐÐ ÐÐ ExtremeNetworks BlackDiamond, Ð ÐÐ ÐÐ Cisco. ÐÑÐÐÐ ÑÐÐÐ Ð bond-ÐÐÑ [1] ÑÐÐÑÐ, ÐÐÐÑÐ ÐÑÐÐÐÑÑ ÐÐ 300+ ÐÐÑÐ. ÐÐÑÑ ÐÐ ÐÐ HP2524, ÐÐÑÐ ÐÑÑÐÐÐ mrtg-ÑÐ ÐÐ ÐÐ-Ð ÐÑ 5 ÐÐÐÑÑÐ (ÐÑÐÐÐÑÐÐ ÐÐ 2 ÐÐÐ ÐÐ 3). ÐÐÑÐÐÐ ÐÐ ÐÑÑÑÐ ÑÐÐÐÑÐ, Ð ÐÐÑÐ ÐÐ, ÐÐ ÐÐÑÐ ÐÑÐÑÐÐ - ÐÐÑÐ ÐÐÐÑÐÑÐÐ, ÑÐÑÑÐÐ ÑÐ ÐÑÐÑÐÑÐÐÑÐ ÑÑÐÑÐÐ ÐÐÑÐÐÑÐÐ. [1] http://sourceforge.net/projects/bonding/ On ÐÐ, 2005-02-07 at 10:00 +0200, [EMAIL PROTECTED] wrote: > hi, > > kak prawite monitoring na 1 gigabitowete interfaces.. > Poneve e 32-bitow countera mi prawi kofti grafiki kato > nadhwyrli ~130 Mbps > Tyrsih w google i namerih che trqbwa da slova na Target :2 > za da polzwa 64 bitow (snmp2), no pak mi dawa greshka > > Stawa wapros za cisco switch i oste edin drug.. > Etoq i greshkata : > > SNMP Error: > no response received > SNMPv2c_Session (remote host: "x.x.x.x" [x.x.x.x].161) >community: "public" > request ID: -54145676 > PDU bufsize: 8000 bytes > timeout: 2s > retries: 5 > backoff: 1) [ cut ] ÑÑÐ . ÐÐ signature.asc Description: This is a digitally signed message part
Re: lug-bg: mrtg & 1gb interfaces?
[EMAIL PROTECTED] wrote: > hi, > > kak prawite monitoring na 1 gigabitowete interfaces.. > Poneve e 32-bitow countera mi prawi kofti grafiki kato > nadhwyrli ~130 Mbps > Tyrsih w google i namerih che trqbwa da slova na Target :2 > za da polzwa 64 bitow (snmp2), no pak mi dawa greshka > > Stawa wapros za cisco switch i oste edin drug.. > Etoq i greshkata : > > SNMP Error: > no response received > SNMPv2c_Session (remote host: "x.x.x.x" [x.x.x.x].161) >community: "public" > request ID: -54145676 > PDU bufsize: 8000 bytes > timeout: 2s > retries: 5 > backoff: 1) > at /usr/bin/../lib/mrtg2/SNMP_util.pm line 458 > SNMPGET Problem for ifHCInOctets.25 ifHCOutOctets.25 on > [EMAIL PROTECTED]:2 > at /usr/bin/mrtg line 1607 > WARNING: skipping because at least the query for ifHCInOctets.25 on > x.x.x.x did not succeed > SNMP Error: > no response received > SNMPv2c_Session (remote host: "x.x.x.x" [x.x.x.x].161) >community: "public" > request ID: -54145675 > PDU bufsize: 8000 bytes > timeout: 2s > retries: 5 > backoff: 1) > at /usr/bin/../lib/mrtg2/SNMP_util.pm line 458 > SNMPGET Problem for ifHCInOctets.26 ifHCOutOctets.26 on > [EMAIL PROTECTED]:2 > at /usr/bin/mrtg line 1607 > WARNING: skipping because at least the query for ifHCInOctets.26 on > x.x.x.x did not succeed > ERROR: Target[x.x.x.x_25][_IN_] ' $$target[3]{$mode} ' did not eval > into defined data > ERROR: Target[x.x.x.x_25][_OUT_] ' $$target[3]{$mode} ' did not eval > into defined data > ERROR: Target[x.x.x.x_26][_IN_] ' $$target[4]{$mode} ' did not eval > into defined data > ERROR: Target[x.x.x.x_26][_OUT_] ' $$target[4]{$mode} ' did not eval > into defined data > > nqkakwi idei .. На Extreme Networks суитчове, ползваме тези OID-та, за да мерим трафика на интерфейсите. Имаме няколко който минават 900Mbit, но нямаме проблеми със замерването. ifInOctets 1.3.6.1.2.1.2.2.1.10 ifOutOctets1.3.6.1.2.1.2.2.1.16 Ти като гледам ползваш тези: ifHCInOctets 1.3.6.1.2.1.31.1.1.1.6 ifHCOutOctets 1.3.6.1.2.1.31.1.1.1.10 Опитай да смениш променливите, който четеш. Би трябвало да ти се реши проблема. /извадил съм ги от cricket тези данни/ П.П. Моля те пиши на кирилица следващият път, нека си пестим времето един на друг. -- Georgi Chorbadzhiyski http://georgi.unixsol.org/ A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
Re: lug-bg: mrtg & 1gb interfaces?
ami az kato gledam te tezi sa 32-bitowi !? |ifInOctets 1.3.6.1.2.1.2.2.1.10 |ifOutOctets1.3.6.1.2.1.2.2.1.16 az za sega go reshih problema, prawq samples na 1 min.. PS. dobre li se dyrvat extreme switchowete... ako imash opit nqkakwi plusowe i minusi - pred cisco, foundry, riverstone ?! Estestweno ako si polzwal nqkoi ot tqh. main-i me direktno ako reshish de :") - http://linuxtoday.com/news_story.php3?ltsn=2004-12-08-004-32-OS-BZ-DT-0005 snip> MS Office is popular in the same way as heart disease is the most popular way to die. A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
Re: lug-bg: mrtg/rrd problem
On Tuesday 30 December 2003 16:52, raptor wrote: > imam sledniq problem , > bqh si ostawil po default kakto si detektwa cfgmaker eth interface MaxBytes > da e 125 000 000...ta imashe edin peak i nali znaete kwo stawa ot tozi peak > cqlata grafika se razwali (toest wsichko drugo stana flat)... Weche slovih > MaxBytes na normalna stoinost.. no tozi peak ne izchezwa poneve sam mu dal > da prawi .rrd bazi. (polzwam RRD kato storage) i e zapisan w .rrd file.. > > Ta kak da mahna toq peak ot rrd bazata ? Imate li nqkakwi idei, kato > ostanalota informaciq si ostane.. nesto ot roda : > > rrd (if > 65 then 0) alabala.rrd > alabala.rrd > > tia Ima tools ot rrd-to koito exportwat w XML... s tqh 'principno', samo 'principno' moje... Problemita se che trqbwa da razberesh tochno formata na dannite, da korigirash wseki ot periodite w koito sumarize-wa i da syzdadesh .rrd-to nanovo ot korigiraniq fail. RRD ima velikolepen zamisyl, raboti mnogo dobre... no... dokato ne stane nqkoq izdynka :( Moje bi ako si naprawish podhodqshtiq shell script kojto da uspee da swyrshi wsichko mejdu 2 updates na bazata... moje i da stane... Kysmet. -- Regards, Doncho N. Gunchev A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
RE: lug-bg: mrtg/rrd problem
Zdrawej, Dokolkoto razbiram te pritesnqwa kartinkata zatowa predlagam moeto reshenie: Tozi problem go reshawam w programata koqto mi risuwa grafikite. Za wsqka stojnost koqto me pritesnqwa, prawa edin dopylnitelen RPN ot sorta: CDEF:average=maxrate,2,*,average,MIN Kadeto maxrate mi e maksimalnata dopustima skorost na interface-a a average e strojnostta koqto risuwam. Ogranichawam pik-a do polowinata ot skorostta za da znam wse pak che se e sluchilo neshto I trqbwa da pogledna kakwo e. Wmesto 'maxrate,2,*' move da se slovi fiksiran prag. Ako polzwash gotowa programa, porazgledaj kyde move da se "pipne"... > imam sledniq problem , > bqh si ostawil po default kakto si detektwa cfgmaker eth interface MaxBytes da e 125 000 000...ta imashe > edin peak i nali znaete kwo stawa ot tozi peak cqlata grafika se razwali (toest wsichko drugo stana flat)... Weche slovih MaxBytes na normalna stoinost.. no tozi peak ne izchezwa poneve sam mu dal da prawi > .rrd bazi. (polzwam RRD kato storage) i e zapisan w .rrd file.. > > Ta kak da mahna toq peak ot rrd bazata ? Imate li nqkakwi idei, kato ostanalota informaciq si ostane.. nesto ot roda : > > rrd (if > 65 then 0) alabala.rrd > alabala.rrd Pozdrawi, Anton Todorov Systems Administrator Lirex NET A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
Re: lug-bg: mrtg & mysql Въпрос
Цитат на писмо от Христофор Памятних <[EMAIL PROTECTED]>: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Привет група, > Върти ми се из главата следния въпрос - тъй като искам да > пусна mrtg за > клиенти на pppoe и ми се ще да разбера може ли да се > накара mrtg-то да си > чете конфигурацията от mysql а не от .cfg файлове (идеята > да генерирам > cfg-тата на всеки 5 минути хич не ми харесва). Та някой > има ли идея дали > съществува готово решение или ще се наложи да го пиша аз. > Поздрави :-) Da s rdtool se pravi - НАЙ-ДОБРИТЕ ЦЕНИ за мобилни компютри http://www.digiteq.com A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
Re: lug-bg: mrtg & mysql Въпрос
[EMAIL PROTECTED] wrote: Цитат на писмо от Христофор Памятних <[EMAIL PROTECTED]>: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Привет група, Върти ми се из главата следния въпрос - тъй като искам да пусна mrtg за клиенти на pppoe и ми се ще да разбера може ли да се накара mrtg-то да си чете конфигурацията от mysql а не от .cfg файлове (идеята да генерирам cfg-тата на всеки 5 минути хич не ми харесва). Та някой има ли идея дали съществува готово решение или ще се наложи да го пиша аз. Поздрави :-) Da s rdtool se pravi Да само дето RRDTool не работи поначало с mysql а със собствена база данни в което ,у е предимстото A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
Re: lug-bg: mrtg & mysql Въпрос
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 14 June 2004 14:19, Христофор Памятних wrote: На практика е готово. Ако някой се интересува описвам алгоритъма, той е следния: 1. ip-up скрипта записва mysql таблица юзърнейма и ppp интерфейса. 2. На определен период от време се взема трафика на всеки ppp интерфейс и се записва в съответния ред от таблицата. 3. След това минава друг скрипт който проверява дали съюествува .rrd файл с името на юзъра, ако го няма го създава, ако го има го ъпдейтва 4. Чертаят се графиките. Системата е доста дървена за момента има няколко места в които може да се счупи и ако някой има идея как да се оптимизира има бира от мен :-) > Привет група, > Върти ми се из главата следния въпрос - тъй като искам да пусна mrtg за > клиенти на pppoe и ми се ще да разбера може ли да се накара mrtg-то да си > чете конфигурацията от mysql а не от .cfg файлове (идеята да генерирам > cfg-тата на всеки 5 минути хич не ми харесва). Та някой има ли идея дали > съществува готово решение или ще се наложи да го пиша аз. > Поздрави :-) - -- subkeys.pgp.net Key ID 0xC889DE75:fori -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFA0BUFGBkayciJ3nURAsLcAJ9WJ70EACvQtktd4CwV3tjqEIvujwCfQzhQ WSD+cmHbcQmLJbl0Herqe3M= =oaAj -END PGP SIGNATURE- A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
Re: lug-bg: mrtg & mysql Въпрос
Можеш да пробваш това: http://rousse.pm.org/sasacct/ RRDtool+много прости пърл скриптчета. Разгледай и по сайта, има и отдалечено дърпане на трафика за в бъдещето. :) На Ср , 2004-06-16 в 12:38, Христофор Памятних записа: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Monday 14 June 2004 14:19, Христофор Памятних wrote: > На практика е готово. > Ако някой се интересува описвам алгоритъма, той е следния: > 1. ip-up скрипта записва mysql таблица юзърнейма и ppp интерфейса. > 2. На определен период от време се взема трафика на всеки ppp интерфейс и се > записва в съответния ред от таблицата. > 3. След това минава друг скрипт който проверява дали съюествува .rrd файл с > името на юзъра, ако го няма го създава, ако го има го ъпдейтва > 4. Чертаят се графиките. > Системата е доста дървена за момента има няколко места в които може да се > счупи и ако някой има идея как да се оптимизира има бира от мен :-) > > > > > Привет група, > > Върти ми се из главата следния въпрос - тъй като искам да пусна mrtg за > > клиенти на pppoe и ми се ще да разбера може ли да се накара mrtg-то да си > > чете конфигурацията от mysql а не от .cfg файлове (идеята да генерирам > > cfg-тата на всеки 5 минути хич не ми харесва). Та някой има ли идея дали > > съществува готово решение или ще се наложи да го пиша аз. > > Поздрави :-) > > - -- > subkeys.pgp.net > Key ID 0xC889DE75:fori > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.2.3 (GNU/Linux) > > iD8DBQFA0BUFGBkayciJ3nURAsLcAJ9WJ70EACvQtktd4CwV3tjqEIvujwCfQzhQ > WSD+cmHbcQmLJbl0Herqe3M= > =oaAj > -END PGP SIGNATURE- > > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). > http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora > To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
Re: lug-bg: MRTG and system idle
Sorry che pak pisha no se opravih s problema. Blagodaria na vsichki, kito shtiaha dami otgovoriat mano On Sat, 25 Aug 2001, Marian Popov wrote: > > > Hello LUG-BG > > Dnes pusnah MRTG na servera si bez router a chrez script, koito prihvashta > traffica ot loga na ipchains-a. > > Problemyt mi e tam che sega 100% mashinata e zaeta da logva trafica ot > ipchains. Ima li nachin tova da se izbegne. > > Eto redovete mi koito vyrshat tazi rabota. > > ipchains -I input -i eth1 -s 0.0.0.0/0 -d 212.116.XXX.XXX -j ACCEPT -l > ipchains -I output -i eth1 -s 212.116.XXX.XXX -d 0.0.0.0/0 -j ACCEPT -l > > > Vsichko zapochna da se logva v /var/log/messages no az go mahnah v > syslogd.conf kato napisah tova *.info /dev/null > > Sega ne se logva vyv fail no pak tormozi mashinata. > > niakvi idei ? > > Blagodaria vi predvaritelno. > > > > ==-rw-r--r--= > == Pazardjik.com System Administrator == > == GSM: +359 88 975753 == > == e-mail: [EMAIL PROTECTED] == > = > > > === > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora > ==-rw-r--r--= == Pazardjik.com System Administrator == == GSM: +359 88 975753 == == e-mail: [EMAIL PROTECTED] == = === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and system idle
Mozhe li da spodelish kak reshi problema shtoto az imam podoben Yavor Atanasov - Original Message - From: Marian Popov <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 25, 2001 7:46 PM Subject: Re: lug-bg: MRTG and system idle > > > Sorry che pak pisha no se opravih s problema. > > Blagodaria na vsichki, kito shtiaha dami otgovoriat > > mano > > > > On Sat, 25 Aug 2001, Marian Popov wrote: > > > > > > > Hello LUG-BG > > > > Dnes pusnah MRTG na servera si bez router a chrez script, koito prihvashta > > traffica ot loga na ipchains-a. > > > > Problemyt mi e tam che sega 100% mashinata e zaeta da logva trafica ot > > ipchains. Ima li nachin tova da se izbegne. > > > > Eto redovete mi koito vyrshat tazi rabota. > > > > ipchains -I input -i eth1 -s 0.0.0.0/0 -d 212.116.XXX.XXX -j ACCEPT -l > > ipchains -I output -i eth1 -s 212.116.XXX.XXX -d 0.0.0.0/0 -j ACCEPT -l > > > > > > Vsichko zapochna da se logva v /var/log/messages no az go mahnah v > > syslogd.conf kato napisah tova *.info /dev/null > > > > Sega ne se logva vyv fail no pak tormozi mashinata. > > > > niakvi idei ? > > > > Blagodaria vi predvaritelno. > > > > > > > > ==-rw-r--r--= > > == Pazardjik.com System Administrator == > > == GSM: +359 88 975753 == > > == e-mail: [EMAIL PROTECTED] == > > = > > > > > > === > > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora > > > > ==-rw-r--r--= > == Pazardjik.com System Administrator == > == GSM: +359 88 975753 == > == e-mail: [EMAIL PROTECTED] == > = > > > == = > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and system idle
Ami otidoh v /var/log/ i vyv /var/adm i zapochnah da sledia vsichki files za da vidia dali niakoi fail ne narastva mnogo byrzo. I da. Tochno tova stavashe. Beshe edin ot failovete, koito biah nasochil kern.debug i prosto smenih imeto na faila v syslogd.conf s /dev/null eto taka kern.debug /dev/null Sled restarta na syslogd sichko se opravi sega samo na vseki 5 minuti mrtg-to vzima malko prioritet i pak umira no tova ne prechi na rabotata na servera. Pri men se poiavi drug problem obache. Iskam da sledia strafika ne po IP a po interface i ne moga da go napravia. Sluchaino ako niakoi ima niakakvi idei neka pishe. mano On Sun, 26 Aug 2001, Qsin wrote: > Mozhe li da spodelish kak reshi problema shtoto az imam podoben > > Yavor Atanasov > > - Original Message - > From: Marian Popov <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, August 25, 2001 7:46 PM > Subject: Re: lug-bg: MRTG and system idle > > > > > > > > Sorry che pak pisha no se opravih s problema. > > > > Blagodaria na vsichki, kito shtiaha dami otgovoriat > > > > mano > > > > > > > > On Sat, 25 Aug 2001, Marian Popov wrote: > > > > > > > > > > > Hello LUG-BG > > > > > > Dnes pusnah MRTG na servera si bez router a chrez script, koito > prihvashta > > > traffica ot loga na ipchains-a. > > > > > > Problemyt mi e tam che sega 100% mashinata e zaeta da logva trafica ot > > > ipchains. Ima li nachin tova da se izbegne. > > > > > > Eto redovete mi koito vyrshat tazi rabota. > > > > > > ipchains -I input -i eth1 -s 0.0.0.0/0 -d 212.116.XXX.XXX -j ACCEPT -l > > > ipchains -I output -i eth1 -s 212.116.XXX.XXX -d 0.0.0.0/0 -j ACCEPT -l > > > > > > > > > Vsichko zapochna da se logva v /var/log/messages no az go mahnah v > > > syslogd.conf kato napisah tova *.info /dev/null > > > > > > Sega ne se logva vyv fail no pak tormozi mashinata. > > > > > > niakvi idei ? > > > > > > Blagodaria vi predvaritelno. > > > > > > > > > > > > ==-rw-r--r--= > > > == Pazardjik.com System Administrator == > > > == GSM: +359 88 975753 == > > > == e-mail: [EMAIL PROTECTED] == > > > = > > > > > > > > > > === > > > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > > > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara > Zagora > > > > > > > ==-rw-r--r--= > > == Pazardjik.com System Administrator == > > == GSM: +359 88 975753 == > > == e-mail: [EMAIL PROTECTED] == > > = > > > > > > == > = > > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara > Zagora > > === > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora > ==-rw-r--r--= == Pazardjik.com System Administrator == == GSM: +359 88 975753 == == e-mail: [EMAIL PROTECTED] == = === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and system idle
thx za informacijata :) Yavor Atanasov - Original Message - From: Marian Popov <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 26, 2001 2:20 PM Subject: Re: lug-bg: MRTG and system idle > > > Ami otidoh v /var/log/ i vyv /var/adm i zapochnah da sledia vsichki files > za da vidia dali niakoi fail ne narastva mnogo byrzo. I da. Tochno tova > stavashe. Beshe edin ot failovete, koito biah nasochil kern.debug i prosto > smenih imeto na faila v syslogd.conf s /dev/null eto taka > > kern.debug /dev/null > > Sled restarta na syslogd sichko se opravi sega samo na vseki 5 minuti > mrtg-to vzima malko prioritet i pak umira no tova ne prechi na rabotata na > servera. > > > Pri men se poiavi drug problem obache. > Iskam da sledia strafika ne po IP a po interface i ne moga da go napravia. > Sluchaino ako niakoi ima niakakvi idei neka pishe. > > mano > > > > On Sun, 26 Aug 2001, Qsin wrote: > > > Mozhe li da spodelish kak reshi problema shtoto az imam podoben > > > > Yavor Atanasov > > > > - Original Message - > > From: Marian Popov <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Saturday, August 25, 2001 7:46 PM > > Subject: Re: lug-bg: MRTG and system idle > > > > > > > > > > > > > Sorry che pak pisha no se opravih s problema. > > > > > > Blagodaria na vsichki, kito shtiaha dami otgovoriat > > > > > > mano > > > > > > > > > > > > On Sat, 25 Aug 2001, Marian Popov wrote: > > > > > > > > > > > > > > > Hello LUG-BG > > > > > > > > Dnes pusnah MRTG na servera si bez router a chrez script, koito > > prihvashta > > > > traffica ot loga na ipchains-a. > > > > > > > > Problemyt mi e tam che sega 100% mashinata e zaeta da logva trafica ot > > > > ipchains. Ima li nachin tova da se izbegne. > > > > > > > > Eto redovete mi koito vyrshat tazi rabota. > > > > > > > > ipchains -I input -i eth1 -s 0.0.0.0/0 -d 212.116.XXX.XXX -j ACCEPT -l > > > > ipchains -I output -i eth1 -s 212.116.XXX.XXX -d 0.0.0.0/0 -j ACCEPT -l > > > > > > > > > > > > Vsichko zapochna da se logva v /var/log/messages no az go mahnah v > > > > syslogd.conf kato napisah tova *.info /dev/null > > > > > > > > Sega ne se logva vyv fail no pak tormozi mashinata. > > > > > > > > niakvi idei ? > > > > > > > > Blagodaria vi predvaritelno. > > > > > > > > > > > > > > > > ==-rw-r--r--= > > > > == Pazardjik.com System Administrator == > > > > == GSM: +359 88 975753 == > > > > == e-mail: [EMAIL PROTECTED] == > > > > = > > > > > > > > > > > > > > === > > > > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > > > > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara > > Zagora > > > > > > > > > > ==-rw-r--r--= > > > == Pazardjik.com System Administrator == > > > == GSM: +359 88 975753 == > > > == e-mail: [EMAIL PROTECTED] == > > > = > > > > > > > > > == > > = > > > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > > > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara > > Zagora > > > > === > > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora > > > > ==-rw-r--r--= > == Pazardjik.com System Administrator == > == GSM: +359 88 975753 == > == e-mail: [EMAIL PROTECTED] == > = > > > === > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and system idle
maxni opciata -l i nqma da logva veche v syslog-a. mojesh da napravish razni skriptove koito da se izpulnqvat zaedno sus mrtg-to ti. primerno vednaga sled kato prochete mrtg-to infoto ot ipchains da napravish ipchains -F na rule-a. taka vseki 5 min shte imash nova informacia za tova koeto minava. ako iskash shte ti pratq razni skriptove koito sum pisal (vupreki che sa full s bugove i ipchains rule-ovete sa mi precakani) pone da pridobiesh predstava za kakvo govorq... Ivan Dimitrov System Administrator [EMAIL PROTECTED] ++359-052-244114 On Sun, 26 Aug 2001, Marian Popov wrote: > > > Ami otidoh v /var/log/ i vyv /var/adm i zapochnah da sledia vsichki files > za da vidia dali niakoi fail ne narastva mnogo byrzo. I da. Tochno tova > stavashe. Beshe edin ot failovete, koito biah nasochil kern.debug i prosto > smenih imeto na faila v syslogd.conf s /dev/null eto taka > > kern.debug /dev/null > > Sled restarta na syslogd sichko se opravi sega samo na vseki 5 minuti > mrtg-to vzima malko prioritet i pak umira no tova ne prechi na rabotata na > servera. > > > Pri men se poiavi drug problem obache. > Iskam da sledia strafika ne po IP a po interface i ne moga da go napravia. > Sluchaino ako niakoi ima niakakvi idei neka pishe. > > mano > > > > On Sun, 26 Aug 2001, Qsin wrote: > > > Mozhe li da spodelish kak reshi problema shtoto az imam podoben > > > > Yavor Atanasov > > > > - Original Message - > > From: Marian Popov <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Saturday, August 25, 2001 7:46 PM > > Subject: Re: lug-bg: MRTG and system idle > > > > > > > > > > > > > Sorry che pak pisha no se opravih s problema. > > > > > > Blagodaria na vsichki, kito shtiaha dami otgovoriat > > > > > > mano > > > > > > > > > > > > On Sat, 25 Aug 2001, Marian Popov wrote: > > > > > > > > > > > > > > > Hello LUG-BG > > > > > > > > Dnes pusnah MRTG na servera si bez router a chrez script, koito > > prihvashta > > > > traffica ot loga na ipchains-a. > > > > > > > > Problemyt mi e tam che sega 100% mashinata e zaeta da logva trafica ot > > > > ipchains. Ima li nachin tova da se izbegne. > > > > > > > > Eto redovete mi koito vyrshat tazi rabota. > > > > > > > > ipchains -I input -i eth1 -s 0.0.0.0/0 -d 212.116.XXX.XXX -j ACCEPT -l > > > > ipchains -I output -i eth1 -s 212.116.XXX.XXX -d 0.0.0.0/0 -j ACCEPT -l > > > > > > > > > > > > Vsichko zapochna da se logva v /var/log/messages no az go mahnah v > > > > syslogd.conf kato napisah tova *.info /dev/null > > > > > > > > Sega ne se logva vyv fail no pak tormozi mashinata. > > > > > > > > niakvi idei ? > > > > > > > > Blagodaria vi predvaritelno. > > > > > > > > > > > > > > > > ==-rw-r--r--= > > > > == Pazardjik.com System Administrator == > > > > == GSM: +359 88 975753 == > > > > == e-mail: [EMAIL PROTECTED] == > > > > = > > > > > > > > > > > > > > === > > > > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > > > > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara > > Zagora > > > > > > > > > > ==-rw-r--r--= > > > == Pazardjik.com System Administrator == > > > == GSM: +359 88 975753 == > > > == e-mail: [EMAIL PROTECTED] == > > > = > > > > > > > > > == > > = > > > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > > > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara > > Zagora > > > > === > > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora > > > > ==-rw-r--r--= > == Pazardjik.com System Administrator == > == GSM: +359 88 975753 == > == e-mail: [EMAIL PROTECTED] == > = > > > === > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora > === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and system idle
A zashto prosto ne mahnesh -l nakraia na ipchains rule-to ??? :-)) Marian Popov wrote: > > Ami otidoh v /var/log/ i vyv /var/adm i zapochnah da sledia vsichki files > za da vidia dali niakoi fail ne narastva mnogo byrzo. I da. Tochno tova > stavashe. Beshe edin ot failovete, koito biah nasochil kern.debug i prosto > smenih imeto na faila v syslogd.conf s /dev/null eto taka > > kern.debug /dev/null > > Sled restarta na syslogd sichko se opravi sega samo na vseki 5 minuti > mrtg-to vzima malko prioritet i pak umira no tova ne prechi na rabotata na > servera. > > Pri men se poiavi drug problem obache. > Iskam da sledia strafika ne po IP a po interface i ne moga da go napravia. > Sluchaino ako niakoi ima niakakvi idei neka pishe. > > mano > > On Sun, 26 Aug 2001, Qsin wrote: > > > Mozhe li da spodelish kak reshi problema shtoto az imam podoben > > > > Yavor Atanasov > > > > - Original Message - > > From: Marian Popov <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Saturday, August 25, 2001 7:46 PM > > Subject: Re: lug-bg: MRTG and system idle > > > > > > > > > > > > > Sorry che pak pisha no se opravih s problema. > > > > > > Blagodaria na vsichki, kito shtiaha dami otgovoriat > > > > > > mano > > > > > > > > > > > > On Sat, 25 Aug 2001, Marian Popov wrote: > > > > > > > > > > > > > > > Hello LUG-BG > > > > > > > > Dnes pusnah MRTG na servera si bez router a chrez script, koito > > prihvashta > > > > traffica ot loga na ipchains-a. > > > > > > > > Problemyt mi e tam che sega 100% mashinata e zaeta da logva trafica ot > > > > ipchains. Ima li nachin tova da se izbegne. > > > > > > > > Eto redovete mi koito vyrshat tazi rabota. > > > > > > > > ipchains -I input -i eth1 -s 0.0.0.0/0 -d 212.116.XXX.XXX -j ACCEPT -l > > > > ipchains -I output -i eth1 -s 212.116.XXX.XXX -d 0.0.0.0/0 -j ACCEPT -l > > > > > > > > > > > > Vsichko zapochna da se logva v /var/log/messages no az go mahnah v > > > > syslogd.conf kato napisah tova *.info /dev/null > > > > > > > > Sega ne se logva vyv fail no pak tormozi mashinata. > > > > > > > > niakvi idei ? > > > > > > > > Blagodaria vi predvaritelno. === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and system idle
>Ivan Dimitrov wrote: > > maxni opciata -l i nqma da logva veche v syslog-a. mojesh da napravish > razni skriptove koito da se izpulnqvat zaedno sus mrtg-to ti. primerno > vednaga sled kato prochete mrtg-to infoto ot ipchains da napravish > ipchains -F na rule-a. taka vseki 5 min shte imash nova informacia za tova Ne mozhesh da flushnesh samo edin rule. dazhe nemozhesh da flushnesh CHAIN (ako si spomniam pravilno), -F shte ti zabyrshe wsichki chainove :( Osven tova za da zasichash trafika s mrtg ne ti e nuzhno da flusvash nishto, mrtg e napraveno taka che da otchita po-princip postoianno uvelichavashti se stoinosti. > koeto minava. ako iskash shte ti pratq razni skriptove koito sum pisal > (vupreki che sa full s bugove i ipchains rule-ovete sa mi precakani) pone > da pridobiesh predstava za kakvo govorq... Ako na niakoi mu triabva da otchita trafik minal prez niakoe ustroistvo na localnata mashina kydeto e mrtg-to, mozhe da izpolzva tozi script: -- #!/bin/sh PATH="/bin:/sbin:/usr/bin:/usr/sbin" if [ $# -eq 0 ]; then echo "Usage: $0 dev" exit fi DEV=$1 IN=$(cat /proc/net/dev | grep $DEV | sed -e "s| | |g;s| | |g;s| | |g;s| | |g;s|^ +||g;s|: |:|" | cut -d" " -f2 | sed -e "s|.*:||") OUT=$(cat /proc/net/dev | grep $DEV | sed -e "s| | |g;s| | |g;s| | |g;s| | |g;s|^ +||g;s|: |:|" | cut -d" " -f10) if [ "$IN" == "" ]; then echo 0; else echo $IN; fi if [ "$OUT" == "" ]; then echo 0; else echo $OUT; fi uptime | sed -e "s|.* up ||" echo "$DEV@`cat /etc/HOSTNAME`" Tozi vadi statistikite ot IPCHAINS #!/bin/sh PATH="/bin:/sbin:/usr/bin:/usr/sbin" input_chain="input"; output_chain="output"; input=$(ipchains -L $input_chain -x -v -n | head -1) input_bytes=$(echo $input | sed -e "s/.*, //;s| .*||") output=$(ipchains -L $output_chain -x -v -n | head -1) output_bytes=$(echo $output | sed -e "s/.*, //;s| .*||") echo $input_bytes echo $output_bytes uptime | cut -b 14-80 cat /etc/HOSTNAME mrtg.conf -- Target[server_eth0]: `/usr/local/mrtg/dev_stats eth0` MaxBytes[server_eth0]: 125 Title[server_eth0]: Server eth0 PageTop[server_eth0]: Server eth0 === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and system idle
Kojto si igrae s accounting, neka vidi na www.ludost.net/chains moeto ne-koj-znae-kolko veliko proizvedenie, koeto pone za mene do momenta e naj-guvkavoto, koeto mozhe da se napravi s ipchains... Ne garantiram che shte trugne pri nqkogo, no dazhe iprochitaneto na readme-to bi trqbvalo da vi pomogne ... vse pak tova e esenciqta na 4 godini pisane na accounting sistemi :))) (all bug reports wellcome :) ) On Mon, 27 Aug 2001, Georgi Chorbadzhiyski wrote: > >Ivan Dimitrov wrote: > > > > maxni opciata -l i nqma da logva veche v syslog-a. mojesh da napravish > > razni skriptove koito da se izpulnqvat zaedno sus mrtg-to ti. primerno > > vednaga sled kato prochete mrtg-to infoto ot ipchains da napravish > > ipchains -F na rule-a. taka vseki 5 min shte imash nova informacia za tova > > Ne mozhesh da flushnesh samo edin rule. dazhe nemozhesh da flushnesh CHAIN > (ako si spomniam pravilno), -F shte ti zabyrshe wsichki chainove :( > Osven tova za da zasichash trafika s mrtg ne ti e nuzhno da flusvash nishto, > mrtg e napraveno taka che da otchita po-princip postoianno uvelichavashti > se stoinosti. > > > koeto minava. ako iskash shte ti pratq razni skriptove koito sum pisal > > (vupreki che sa full s bugove i ipchains rule-ovete sa mi precakani) pone > > da pridobiesh predstava za kakvo govorq... > > Ako na niakoi mu triabva da otchita trafik minal prez niakoe ustroistvo na > localnata mashina kydeto e mrtg-to, mozhe da izpolzva tozi script: > -- > #!/bin/sh > > PATH="/bin:/sbin:/usr/bin:/usr/sbin" > > if [ $# -eq 0 ]; then > echo "Usage: $0 dev" > exit > fi > > DEV=$1 > > IN=$(cat /proc/net/dev | grep $DEV | sed -e "s| | |g;s| | |g;s| | |g;s| | |g;s|^ >+||g;s|: |:|" | cut -d" " -f2 | sed -e "s|.*:||") > OUT=$(cat /proc/net/dev | grep $DEV | sed -e "s| | |g;s| | |g;s| | |g;s| | >|g;s|^ +||g;s|: |:|" | cut -d" " -f10) > > if [ "$IN" == "" ]; then echo 0; else echo $IN; fi > if [ "$OUT" == "" ]; then echo 0; else echo $OUT; fi > uptime | sed -e "s|.* up ||" > echo "$DEV@`cat /etc/HOSTNAME`" > > > Tozi vadi statistikite ot IPCHAINS > > #!/bin/sh > > PATH="/bin:/sbin:/usr/bin:/usr/sbin" > > input_chain="input"; > output_chain="output"; > > input=$(ipchains -L $input_chain -x -v -n | head -1) > input_bytes=$(echo $input | sed -e "s/.*, //;s| .*||") > > output=$(ipchains -L $output_chain -x -v -n | head -1) > output_bytes=$(echo $output | sed -e "s/.*, //;s| .*||") > > echo $input_bytes > echo $output_bytes > uptime | cut -b 14-80 > cat /etc/HOSTNAME > > > > mrtg.conf > -- > Target[server_eth0]: `/usr/local/mrtg/dev_stats eth0` > MaxBytes[server_eth0]: 125 > Title[server_eth0]: Server eth0 > PageTop[server_eth0]: Server eth0 > === > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora > === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and system idle
Mnogo ti blagodaria za sctiptovete svyrshiha mi idealna rabota. mano On Mon, 27 Aug 2001, Vasil Kolev wrote: > Kojto si igrae s accounting, neka vidi na www.ludost.net/chains > moeto ne-koj-znae-kolko veliko proizvedenie, koeto pone za mene > do momenta e naj-guvkavoto, koeto mozhe da se napravi s ipchains... > > Ne garantiram che shte trugne pri nqkogo, no dazhe iprochitaneto na > readme-to bi trqbvalo da vi pomogne ... vse pak tova e esenciqta na 4 > godini pisane na accounting sistemi :))) > (all bug reports wellcome :) ) > > On Mon, 27 Aug 2001, Georgi Chorbadzhiyski wrote: > > > >Ivan Dimitrov wrote: > > > > > > maxni opciata -l i nqma da logva veche v syslog-a. mojesh da napravish > > > razni skriptove koito da se izpulnqvat zaedno sus mrtg-to ti. primerno > > > vednaga sled kato prochete mrtg-to infoto ot ipchains da napravish > > > ipchains -F na rule-a. taka vseki 5 min shte imash nova informacia za tova > > > > Ne mozhesh da flushnesh samo edin rule. dazhe nemozhesh da flushnesh CHAIN > > (ako si spomniam pravilno), -F shte ti zabyrshe wsichki chainove :( > > Osven tova za da zasichash trafika s mrtg ne ti e nuzhno da flusvash nishto, > > mrtg e napraveno taka che da otchita po-princip postoianno uvelichavashti > > se stoinosti. > > > > > koeto minava. ako iskash shte ti pratq razni skriptove koito sum pisal > > > (vupreki che sa full s bugove i ipchains rule-ovete sa mi precakani) pone > > > da pridobiesh predstava za kakvo govorq... > > > > Ako na niakoi mu triabva da otchita trafik minal prez niakoe ustroistvo na > > localnata mashina kydeto e mrtg-to, mozhe da izpolzva tozi script: > > -- > > #!/bin/sh > > > > PATH="/bin:/sbin:/usr/bin:/usr/sbin" > > > > if [ $# -eq 0 ]; then > > echo "Usage: $0 dev" > > exit > > fi > > > > DEV=$1 > > > > IN=$(cat /proc/net/dev | grep $DEV | sed -e "s| | |g;s| | |g;s| | |g;s| | >|g;s|^ +||g;s|: |:|" | cut -d" " -f2 | sed -e "s|.*:||") > > OUT=$(cat /proc/net/dev | grep $DEV | sed -e "s| | |g;s| | |g;s| | |g;s| | >|g;s|^ +||g;s|: |:|" | cut -d" " -f10) > > > > if [ "$IN" == "" ]; then echo 0; else echo $IN; fi > > if [ "$OUT" == "" ]; then echo 0; else echo $OUT; fi > > uptime | sed -e "s|.* up ||" > > echo "$DEV@`cat /etc/HOSTNAME`" > > > > > > Tozi vadi statistikite ot IPCHAINS > > > > #!/bin/sh > > > > PATH="/bin:/sbin:/usr/bin:/usr/sbin" > > > > input_chain="input"; > > output_chain="output"; > > > > input=$(ipchains -L $input_chain -x -v -n | head -1) > > input_bytes=$(echo $input | sed -e "s/.*, //;s| .*||") > > > > output=$(ipchains -L $output_chain -x -v -n | head -1) > > output_bytes=$(echo $output | sed -e "s/.*, //;s| .*||") > > > > echo $input_bytes > > echo $output_bytes > > uptime | cut -b 14-80 > > cat /etc/HOSTNAME > > > > > > > > mrtg.conf > > -- > > Target[server_eth0]: `/usr/local/mrtg/dev_stats eth0` > > MaxBytes[server_eth0]: 125 > > Title[server_eth0]: Server eth0 > > PageTop[server_eth0]: Server eth0 > > === > > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora > > > > === > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora > ==-rw-r--r--= == Pazardjik.com System Administrator == == GSM: +359 88 975753 == == e-mail: [EMAIL PROTECTED] == = === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and system idle
Marian Popov wrote: > Ami otidoh v /var/log/ i vyv /var/adm i zapochnah da sledia vsichki files > za da vidia dali niakoi fail ne narastva mnogo byrzo. I da. Tochno tova > stavashe. Beshe edin ot failovete, koito biah nasochil kern.debug i prosto > smenih imeto na faila v syslogd.conf s /dev/null eto taka > > kern.debug /dev/null > > Sled restarta na syslogd sichko se opravi sega samo na vseki 5 minuti > mrtg-to vzima malko prioritet i pak umira no tova ne prechi na rabotata na > servera. > > Pri men se poiavi drug problem obache. > Iskam da sledia strafika ne po IP a po interface i ne moga da go napravia. > Sluchaino ako niakoi ima niakakvi idei neka pishe. > > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora snmpd === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and IPCHAINS problem
vmesto da preotkrivash toplata voda, v "contrib" direktoriata na MRTG si ima gotovi scriptove za ipchains i iptables accounting. Rabotiat perfektno. Na men MRTG mi vyrshi idealna rabota, dosega ne sum imal povod da se oplacha ot nego. a probva li s forward? ;) - Original Message - From: "Marian Popov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 26, 2002 2:01 AM Subject: lug-bg: MRTG and IPCHAINS problem > Hello, grupa. > > Sigurno na niakoi ot vas im e pisnalo ot MRTG no poneje ne mojah da > nameria reshenie na moia problem v tyrsachkata na site-a reshih da postvam > kakto se kazva. > > Ta nabyrzo estestvoto na problema. > > Imam edna mashina s niakolko LAN karti na vsiaka ot koito imam routirani > otdelni grupi ot ip adresi. > > Imam MRTG i s IPCHAINS se opitvam da vzimam stoinosti za IN i OUT trafik > za vsiako IP po otdelno. > > Problemyt m ie tam che se otchita trafika edinstveno ako dadenia ip adres > izteglia ili predava informacia na servera, koito mu se iaviava i GW i > kydeto e pusnato i MRTG-to. > > Ot druga mashina puskam ping kym tova IP i gledam stoinostite no te ne > pomrydvat. Kokato pusna ping obache ot tazi mashina na koiato e MRTG-to > sichko e pushka i stoinostite se natrupvat. > > Niamam drugi verigi na tazi mashina osven tezi za MRTG. > > Eto i nachinite po, koito se opitvam da logvam traffika. > > ipchains -A input -i eth1 -s 212.116.10.10 -d 0/0 -j ACCEPT > ipchains -A output -i eth1 -s 0/0 -d 212.116.10.10 -j ACCEPT > > > I eto i drugia metod kydeto efekta e syshtia. > > ipchains -A input -i eth1 -d 212.116.10.10 -s ! 212.116.10.10 -j ACCEPT > ipchains -A output -i eth1 -s 212.116.10.10 -d ! 212.116.10.10 -j ACCEPT > > > Pak povtariam trafika se otchita SAMO kogato dadenoto IP obmenia > informacia s kompiutera na koito e pusnato MRTG-to > > > Priemam vsiakakvi predlojenia. > > > =-rw-r--r--=== > Pazardjik.com System Administrator > email: [EMAIL PROTECTED] > icq: 9362972 > > === > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and IPCHAINS problem
Marian Popov wrote: >ipchains -A input -i eth1 -d 212.116.10.10 -s ! 212.116.10.10 -j ACCEPT >ipchains -A output -i eth1 -s 212.116.10.10 -d ! 212.116.10.10 -j ACCEPT > ipchains -A input -i eth1 -s 212.116.10.10 -d 0/0 -j ACCEPT ipchains -A output -i eth1 -s 0/0 -d 212.116.10.10 -j ACCEPT Zdrasti mano! Tva IP 212.116.10.10 IP-to na gateway-to li e? Ako e taka, to neshtata rabotioat tochno kakto si triabva. Meri ti trafika ot i kam routera. Pone az po drug nachin ne moga da si obiasnia tozi rezultat. Tova IP triabva da ti e IPto na koeto iskash da mu merish trafika. Inache v ipchains paketa minava po chainovete taka, ako pristigne ot vat -->input-->forward-->output, v sluchaj che se routira, i ne e sazdaden ot routera ili da e prednaznachen za nego. Za razlika ot tova v 2.4 netfilter ako se forwardva minava samo prez forward verigata. RAdo === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and IPCHAINS problem
On Tue, 26 Mar 2002, Radoslav Kolev wrote: > Marian Popov wrote: > > >ipchains -A input -i eth1 -d 212.116.10.10 -s ! 212.116.10.10 -j ACCEPT > >ipchains -A output -i eth1 -s 212.116.10.10 -d ! 212.116.10.10 -j ACCEPT > > > ipchains -A input -i eth1 -s 212.116.10.10 -d 0/0 -j ACCEPT > ipchains -A output -i eth1 -s 0/0 -d 212.116.10.10 -j ACCEPT > > Zdrasti mano! > Tva IP 212.116.10.10 IP-to na gateway-to li e? Ako e taka, to neshtata > rabotioat tochno kakto si triabva. > Meri ti trafika ot i kam routera. Pone az po drug nachin ne moga da si > obiasnia tozi rezultat. Tova IP triabva da ti e IPto na koeto iskash da > mu merish trafika. Inache v ipchains paketa minava po chainovete taka, > ako pristigne ot vat -->input-->forward-->output, v sluchaj che se > routira, i ne e sazdaden ot routera ili da e prednaznachen za nego. Za > razlika ot tova v 2.4 netfilter ako se forwardva minava samo prez > forward verigata. Ne, tova e IP-to koeto iskam da countvam. Da rechem che ip-to na gw e 212.116.10.1 Tova znachi li che triabva da go pravia s forward a ne s input i output ? > > RAdo > > > > > === > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora > =-rw-r--r--=== Pazardjik.com System Administrator email: [EMAIL PROTECTED] icq: 9362972 === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and IPCHAINS problem
On Tue, 26 Mar 2002, Teodor Georgiev wrote: > > vmesto da preotkrivash toplata voda, v "contrib" direktoriata na MRTG si ima > gotovi scriptove za > ipchains i iptables accounting. Rabotiat perfektno. > Na men MRTG mi vyrshi idealna rabota, dosega ne sum imal povod da se oplacha > ot nego. Poglednah kakvo ima v contrib no tam imashe script koito countvashe obshtia trafik na servera ili trafika samo na 1 ip i ne mojah da razbera kakvi parametri da mu dam za da mi pokazva traffic na mnogo ip adresi. Kato naprimer moia script go pravi taka root@wireless:/home/mrtg# ./statslan 61 183535 534741 root@wireless:/home/mrtg# ./statslan 62 29787 304126 I taka natatyk kato pod tezi cifri imam predvaritelno zadadeni IP-ta i scripta mi vzima za vsiako IP po otdelno statistika. Problema mi e che ne mi meri pravilno samia rule v ipchains i ne znam kyde gresha. Otchita mi samo trafik ot server-a kym dadenoto IP i obratno. A az iskam da otchita vsichkia traffic na tova IP bez tozi ot servera demek obratnoto na tova koeto poluchavam. Oh chak i az se obyrkah veche ne znam dali si me razbral ama ako ne si kaji da obiasnia po-choveshki. mano > > a probva li s forward? ;) > > - Original Message - > From: "Marian Popov" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, March 26, 2002 2:01 AM > Subject: lug-bg: MRTG and IPCHAINS problem > > > > Hello, grupa. > > > > Sigurno na niakoi ot vas im e pisnalo ot MRTG no poneje ne mojah da > > nameria reshenie na moia problem v tyrsachkata na site-a reshih da postvam > > kakto se kazva. > > > > Ta nabyrzo estestvoto na problema. > > > > Imam edna mashina s niakolko LAN karti na vsiaka ot koito imam routirani > > otdelni grupi ot ip adresi. > > > > Imam MRTG i s IPCHAINS se opitvam da vzimam stoinosti za IN i OUT trafik > > za vsiako IP po otdelno. > > > > Problemyt m ie tam che se otchita trafika edinstveno ako dadenia ip adres > > izteglia ili predava informacia na servera, koito mu se iaviava i GW i > > kydeto e pusnato i MRTG-to. > > > > Ot druga mashina puskam ping kym tova IP i gledam stoinostite no te ne > > pomrydvat. Kokato pusna ping obache ot tazi mashina na koiato e MRTG-to > > sichko e pushka i stoinostite se natrupvat. > > > > Niamam drugi verigi na tazi mashina osven tezi za MRTG. > > > > Eto i nachinite po, koito se opitvam da logvam traffika. > > > > ipchains -A input -i eth1 -s 212.116.10.10 -d 0/0 -j ACCEPT > > ipchains -A output -i eth1 -s 0/0 -d 212.116.10.10 -j ACCEPT > > > > > > I eto i drugia metod kydeto efekta e syshtia. > > > > ipchains -A input -i eth1 -d 212.116.10.10 -s ! 212.116.10.10 -j ACCEPT > > ipchains -A output -i eth1 -s 212.116.10.10 -d ! 212.116.10.10 -j ACCEPT > > > > > > Pak povtariam trafika se otchita SAMO kogato dadenoto IP obmenia > > informacia s kompiutera na koito e pusnato MRTG-to > > > > > > Priemam vsiakakvi predlojenia. > > > > > > =-rw-r--r--=== > > Pazardjik.com System Administrator > > email: [EMAIL PROTECTED] > > icq: 9362972 > > > > > === > > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara > Zagora > > === > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora > =-rw-r--r--=== Pazardjik.com System Administrator email: [EMAIL PROTECTED] icq: 9362972 === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and IPCHAINS problem
- Original Message - From: "Marian Popov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 26, 2002 10:31 PM Subject: Re: lug-bg: MRTG and IPCHAINS problem > On Tue, 26 Mar 2002, Teodor Georgiev wrote: > Poglednah kakvo ima v contrib no tam imashe script koito countvashe > obshtia trafik na servera ili trafika samo na 1 ip i ne mojah da razbera > kakvi parametri da mu dam za da mi pokazva traffic na mnogo ip adresi. x.x.x.x/x ? > Problema mi e che ne mi meri pravilno samia rule v ipchains i ne znam kyde > gresha. Otchita mi samo trafik ot server-a kym dadenoto IP i obratno. A az > iskam da otchita vsichkia traffic na tova IP bez tozi ot servera demek > obratnoto na tova koeto poluchavam. > > Oh chak i az se obyrkah veche ne znam dali si me razbral ama ako ne si > kaji da obiasnia po-choveshki. > > mano > iskash da ti otchita TRANZITNIA trafik. slozhi go na forward verigata. da rechem che i az imam :PC1, PC2, PC3 -> {gateway} --> (((internet))) iskash da otchitash INTERNET Trafika na vseko PC, a ne tozi ot PC-to do gateway'a, shtoto ako na gateway'a ima i mail server, togava shte im se otchita i tova na PC-tata. togava slagash forward chain na gateway i merish vsichko: ot : PC1|PC2|PC3 kum : ! lokalnia subnet === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and IPCHAINS problem
On Wed, 27 Mar 2002, Teodor Georgiev wrote: > > > iskash da ti otchita TRANZITNIA trafik. > > slozhi go na forward verigata. > > da rechem che i az imam :PC1, PC2, PC3 -> {gateway} --> > (((internet))) > > iskash da otchitash INTERNET Trafika na vseko PC, a ne tozi ot PC-to do > gateway'a, > shtoto ako na gateway'a ima i mail server, togava shte im se otchita i tova > na PC-tata. > > togava slagash forward chain na gateway i merish vsichko: > > ot : PC1|PC2|PC3 > kum : ! lokalnia subnet > Eto rule koito slojih ipchains -A forward -i eth1 -s CLIENT -d ! GATEWAY -j ACCEPT ipchains -A forward -i eth1 -s ! GATEWAY -d CLIENT -j ACCEPT Pri tova polojenie poluchavam samo 0 0 I nishto poveche demek ne otchita nikakyv traffic. > > > > > > > === > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora > =-rw-r--r--=== Pazardjik.com System Administrator email: [EMAIL PROTECTED] icq: 9362972 === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
RE: lug-bg: MRTG and IPCHAINS problem
> Eto rule koito slojih > > ipchains -A forward -i eth1 -s CLIENT -d ! GATEWAY -j ACCEPT > ipchains -A forward -i eth1 -s ! GATEWAY -d CLIENT -j ACCEPT > > Pri tova polojenie poluchavam samo > > 0 > 0 > > I nishto poveche demek ne otchita nikakyv traffic. > A ne trqbwa li dwata rula da sa kym razli4ni eth karti, t.e. pyrwiqt da e kym eth "nawyn", a wtoriqt kym eth w LAN-a? Best e-gards, Georgi Sinapov === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and IPCHAINS problem
Marian Popov wrote: > On Wed, 27 Mar 2002, Teodor Georgiev wrote: > > >> >>iskash da ti otchita TRANZITNIA trafik. >> >>slozhi go na forward verigata. >> >>da rechem che i az imam :PC1, PC2, PC3 -> {gateway} --> >>(((internet))) >> >>iskash da otchitash INTERNET Trafika na vseko PC, a ne tozi ot PC-to do >>gateway'a, >>shtoto ako na gateway'a ima i mail server, togava shte im se otchita i tova >>na PC-tata. >> >>togava slagash forward chain na gateway i merish vsichko: >> >>ot : PC1|PC2|PC3 >>kum : ! lokalnia subnet >> > > > > Eto rule koito slojih > > ipchains -A forward -i eth1 -s CLIENT -d ! GATEWAY -j ACCEPT > ipchains -A forward -i eth1 -s ! GATEWAY -d CLIENT -j ACCEPT > > Pri tova polojenie poluchavam samo > > 0 > 0 > > I nishto poveche demek ne otchita nikakyv traffic. CLIENT="192.168.0.15" LOCALNET="192.168.0.1/24" ipchains -A forward -i eth0 -s $CLIENT -d ! $LOCALNET -j ACCEPT ipchains -A forward -i eth0 -s ! $LOCALNET -d $CLIENT -j ACCEPT vav forward ruleto ne se otchita trafika kam samiat server, zatova nai-veroiatno wizhdash 0 ;) http://support.imagestream.com/iptables_Firewall.html Stava duma za IPTABLES no principa e sashtiat. === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and IPCHAINS problem
a? e kak taka i dvete na edin ethernet? - Original Message - From: "Marian Popov" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 28, 2002 12:37 AM Subject: Re: lug-bg: MRTG and IPCHAINS problem > On Wed, 27 Mar 2002, Teodor Georgiev wrote: > > > > > > > iskash da ti otchita TRANZITNIA trafik. > > > > slozhi go na forward verigata. > > > > da rechem che i az imam :PC1, PC2, PC3 -> {gateway} --> > > (((internet))) > > > > iskash da otchitash INTERNET Trafika na vseko PC, a ne tozi ot PC-to do > > gateway'a, > > shtoto ako na gateway'a ima i mail server, togava shte im se otchita i tova > > na PC-tata. > > > > togava slagash forward chain na gateway i merish vsichko: > > > > ot : PC1|PC2|PC3 > > kum : ! lokalnia subnet > > > > > Eto rule koito slojih > > ipchains -A forward -i eth1 -s CLIENT -d ! GATEWAY -j ACCEPT > ipchains -A forward -i eth1 -s ! GATEWAY -d CLIENT -j ACCEPT > > Pri tova polojenie poluchavam samo > > 0 > 0 > > I nishto poveche demek ne otchita nikakyv traffic. > > > > > > > > > > > > > > > > > === > > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora > > > > =-rw-r--r--=== > Pazardjik.com System Administrator > email: [EMAIL PROTECTED] > icq: 9362972 > > === > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora > === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and IPCHAINS problem
Marian Popov wrote: > On Wed, 27 Mar 2002, Teodor Georgiev wrote: > > >> >>iskash da ti otchita TRANZITNIA trafik. >> >>slozhi go na forward verigata. >> >>da rechem che i az imam :PC1, PC2, PC3 -> {gateway} --> >>(((internet))) >> >>iskash da otchitash INTERNET Trafika na vseko PC, a ne tozi ot PC-to do >>gateway'a, >>shtoto ako na gateway'a ima i mail server, togava shte im se otchita i tova >>na PC-tata. >> >>togava slagash forward chain na gateway i merish vsichko: >> >>ot : PC1|PC2|PC3 >>kum : ! lokalnia subnet >> > > > > Eto rule koito slojih > > ipchains -A forward -i eth1 -s CLIENT -d ! GATEWAY -j ACCEPT > ipchains -A forward -i eth1 -s ! GATEWAY -d CLIENT -j ACCEPT > > Pri tova polojenie poluchavam samo > > 0 > 0 > > I nishto poveche demek ne otchita nikakyv traffic. aaa btw zabravih v predishniat post da napisha da mahnesh -i ethXX === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG and IPCHAINS problem
Izvinqvam se che ne sledq thread-a, obache az ponezhe sum pisal dosta podobni otchitaniq - da, tova s otchitaneto na edin interface raboti. Az po princip go pravq taka ipchains -I input -s usera -i eth1 ipchains -I output -d usera -i eth1 i mi vurshi rabota, dazhe na momenti ne se nalaga da se polzva tova s -i eth1... napisal sum dazhe neshto - http://ludost.net/chains/, koeto se zanimava s otchitane - ne e napraveno da se polzva ot vseki, ima si nuzhda ot dopipvane za specifichni nuzhni, no misle che ot readme-to mozhe da se razbere osnovnata ideq i da se reshi takuv problem. On Thu, 28 Mar 2002, Teodor Georgiev wrote: > a? > e kak taka i dvete na edin ethernet? > > - Original Message - > From: "Marian Popov" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, March 28, 2002 12:37 AM > Subject: Re: lug-bg: MRTG and IPCHAINS problem > > > > On Wed, 27 Mar 2002, Teodor Georgiev wrote: > > > > > > > > > > > iskash da ti otchita TRANZITNIA trafik. > > > > > > slozhi go na forward verigata. > > > > > > da rechem che i az imam :PC1, PC2, PC3 -> {gateway} --> > > > (((internet))) > > > > > > iskash da otchitash INTERNET Trafika na vseko PC, a ne tozi ot PC-to do > > > gateway'a, > > > shtoto ako na gateway'a ima i mail server, togava shte im se otchita i > tova > > > na PC-tata. > > > > > > togava slagash forward chain na gateway i merish vsichko: > > > > > > ot : PC1|PC2|PC3 > > > kum : ! lokalnia subnet > > > > > > > > > Eto rule koito slojih > > > > ipchains -A forward -i eth1 -s CLIENT -d ! GATEWAY -j ACCEPT > > ipchains -A forward -i eth1 -s ! GATEWAY -d CLIENT -j ACCEPT > > > > Pri tova polojenie poluchavam samo > > > > 0 > > 0 > > > > I nishto poveche demek ne otchita nikakyv traffic. > > === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
RE: lug-bg: MRTG and IPCHAINS problem
> -Original Message- > From: Vasil Kolev [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 28, 2002 11:31 AM > To: [EMAIL PROTECTED] > Subject: Re: lug-bg: MRTG and IPCHAINS problem > > > Izvinqvam se che ne sledq thread-a, obache az ponezhe sum > pisal dosta podobni otchitaniq - da, tova s otchitaneto na > edin interface raboti. Az po princip go pravq taka ipchains > -I input -s usera -i eth1 ipchains -I output -d usera -i eth1 > i mi vurshi rabota, dazhe na momenti ne se nalaga da se > polzva tova s -i eth1... napisal sum dazhe neshto - Horata vyzroptaha sreshtu forward s -i eth1 i za dwete posoki, koeto ne bi trqbwalo da raboti. BR, Boyan === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: mrtg and cisco access-lists
http://www.icir.org/fenner/mibs/mib-index-cisco.html Tova mislia che shte ti svarshi rabota On Wednesday 28 April 2004 10:44, raptor wrote: > nqkoi da znae koi sa snmp OID-tata na access-list-ite na cisco.. > da si risuwam garfiki, koito merqt listite > > thanx > > === >= A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). > http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara > Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html > === >= -- Aii Data Processing System Administrator IT Department A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
lug-bg: Re: lug-bg: mrtg & mysql Въпрос
On Mon, 14 Jun 2004 14:19:54 +0300, ÐÑÐÑÑÐÑÐÑ ÐÐÐÑÑÐÐÑ <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ÐÑÐÐÐÑ ÐÑÑÐÐ, ÐÑÑÑÐ ÐÐ ÑÐ ÐÐ ÐÑÐ ÑÐÑ ÐÑÐÑÐÑ - ÑÑÐ ÐÐÑÐ ÐÑÐÐÐ ÐÐ ÐÑÑÐÐ mrtg ÐÐ ÐÑÐ ÐÐ pppoe Ð ÐÐ ÑÐ ÑÐ ÐÐ ÑÑÐ ÐÐ ÐÐ ÑÐ ÑÐ mrtg-ÑÐ ÐÐ ÑÐ ÑÐÑÐ ÐÐÐÑÐÐÑÑÐÑÐÑÑÐ ÐÑ mysql Ð ÐÐ ÐÑ .cfg ÑÐÐ (ÐÐÐÑÑÐ ÐÐ ÑÐÑÐÐ cfg-ÑÐÑÐ ÐÐ ÐÑÐÐÐ 5 ÐÐÐÑÑÐ ÑÐÑ ÐÐ ÐÐ ÑÐÑÐÑÐÐ). ÐÐ ÐÑÐÐÐ ÐÐÐ ÐÐ ÐÐÐÑ ÑÑÑÐÑÑÐÑÐÐ ÐÐÑÐÐÐ ÑÐÑ ÐÐÐ ÑÐ ÑÐ ÐÐ ÐÐ ÐÐ ÐÐÑÐ ÐÐ. ÑÐÐÐ ÐÑÐ Ñ ÐÐ Ñ ÑÐ ÐÑÐÐÑÑ ÐÑÐÑÐÐÐ ÐÑ Ð. A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers). http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
Re: lug-bg: Re: lug-bg: mrtg & mysql Въпрос
On Mon, Jun 14, 2004 at 04:07:52PM +0300, diablodh wrote: > On Mon, 14 Jun 2004 14:19:54 +0300, Христофор Памятних <[EMAIL PROTECTED]> > wrote: > > >-BEGIN PGP SIGNED MESSAGE- > >Hash: SHA1 > > > >Привет група, > >Върти ми се из главата следния въпрос - тъй като искам да пусна mrtg за > >клиенти на pppoe и ми се ще да разбера може ли да се накара mrtg-то да си > >чете конфигурацията от mysql а не от .cfg файлове (идеята да генерирам > >cfg-тата на всеки 5 минути хич не ми харесва). Та някой има ли идея дали > >съществува готово решение или ще се наложи да го пиша аз. > >Поздрави > > Пробвай с РДТООЛ с него се правят графики от база данни. Ммм.. може ли наистина rrdtool да си вземе *конфигурацията* от база данни, т.е. информацията за това какво да следи, а не само данните от следенето? Поздрави, Петър -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I am the thought you are now thinking. pgpxvh2IGftms.pgp Description: PGP signature
Re: [Lug-bg] MRTG се стартира само в конзола
On 01/06/08 18:14, deb4o wrote: > Много странно зашо в кронтаб не ми се стартира mtrg-то. Като го пускам ръчно > в конзолата си работи и чертае графиките. В кронтаба - не мърда. > Имали ли сте подобен проблем ? Настрои си пътя в mrtg скрипта. Там дето рика rateup. -- Georgi Chorbadzhiyski http://georgi.unixsol.org/ ___ Lug-bg mailing list Lug-bg@linux-bulgaria.org http://linux-bulgaria.org/mailman/listinfo/lug-bg
Re: [Lug-bg] MRTG се стартира само в конзола
А скрипта който ти е в target? Виж дали може да се пуска от cron - вероятно някой path ти се губи или нещо не е с права +х... On Jan 6, 2008 6:14 PM, deb4o <[EMAIL PROTECTED]> wrote: > Много странно зашо в кронтаб не ми се стартира mtrg-то. Като го пускам ръчно > в конзолата си работи и чертае графиките. В кронтаба - не мърда. > Имали ли сте подобен проблем ? > > > ___ > Lug-bg mailing list > Lug-bg@linux-bulgaria.org > http://linux-bulgaria.org/mailman/listinfo/lug-bg > ___ Lug-bg mailing list Lug-bg@linux-bulgaria.org http://linux-bulgaria.org/mailman/listinfo/lug-bg
Re: [Lug-bg] MRTG се стартира само в конзола
те са си точни, не се променяни от години в сислога не изписва нищо, само че се стартира /USR/SBIN/CRON[7948]: (root) CMD (/usr/bin/mrtg /home/ap/traffic/mrtg.cfg >>/dev/tty11) - Original Message - From: "Georgi Chorbadzhiyski" <[EMAIL PROTECTED]> To: "Linux Users Group - Bulgaria" Sent: Sunday, January 06, 2008 6:57 PM Subject: Re: [Lug-bg] MRTG се стартира само в конзола > On 01/06/08 18:14, deb4o wrote: >> Много странно зашо в кронтаб не ми се стартира mtrg-то. Като го пускам >> ръчно >> в конзолата си работи и чертае графиките. В кронтаба - не мърда. >> Имали ли сте подобен проблем ? > > Настрои си пътя в mrtg скрипта. Там дето рика rateup. > > -- > Georgi Chorbadzhiyski > http://georgi.unixsol.org/ > ___ > Lug-bg mailing list > Lug-bg@linux-bulgaria.org > http://linux-bulgaria.org/mailman/listinfo/lug-bg > > ___ Lug-bg mailing list Lug-bg@linux-bulgaria.org http://linux-bulgaria.org/mailman/listinfo/lug-bg
Re: [Lug-bg] MRTG се стартира само в конзол а
2008/1/6, deb4o <[EMAIL PROTECTED]>: > > Много странно зашо в кронтаб не ми се стартира mtrg-то. Като го пускам > ръчно > в конзолата си работи и чертае графиките. В кронтаба - не мърда. > Имали ли сте подобен проблем ? > > Прегледай си реда в cron-а който стартира скрипта, дали всичко е наред. > Иначе ако има проблем, то неговото естество може да видиш в логовете, > вероятно. Погледни си mеssaga и syslog-а. > ___ Lug-bg mailing list Lug-bg@linux-bulgaria.org http://linux-bulgaria.org/mailman/listinfo/lug-bg
Re: [Lug-bg] MRTG се стартира сам о в конзола
Deb4o, с дебиан ли си? Ако си не го търсиш май кадето трябва. Не е в crontab-а (/var/spool/cron/crontabs/root например) ами в дебиана са в /etc/cron.d/mrtg И вътре имам нещо като: */5 * * * * root/usr/bin/mrtg /etc/mrtg/core-sw.cfg >> /var/log/mrtg/mrtg.log 2>&1 On 06/01/2008, deb4o <[EMAIL PROTECTED]> wrote: > > Много странно зашо в кронтаб не ми се стартира mtrg-то. Като го пускам > ръчно > в конзолата си работи и чертае графиките. В кронтаба - не мърда. > Имали ли сте подобен проблем ? > > > ___ > Lug-bg mailing list > Lug-bg@linux-bulgaria.org > http://linux-bulgaria.org/mailman/listinfo/lug-bg > -- Yulian Stefanov +359 (885) 161 535 [EMAIL PROTECTED] ___ Lug-bg mailing list Lug-bg@linux-bulgaria.org http://linux-bulgaria.org/mailman/listinfo/lug-bg
Re: lug-bg: MRTG - kak se vzema info ot IP-to na interfeisa , a ne ot samia nego?
Reshenieto e IPAC. Az pone s MRTG ne uspyah da go naprawya. Cheers ;') - Original Message - From: " ggg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 01, 2001 12:52 AM Subject: lug-bg: MRTG - kak se vzema info ot IP-to na interfeisa , a ne ot samia nego? > zdraveite, > neka si predstavim sistema s 2 ppp-ta - ppp0 i ppp1. > pusnato e snmp i MRTG na mashinata. Na MRTG-to se > risuvat kartinki za natovarvaneto na dvete ppp-ta > ,oba4e ako niakoe ot tiah se reconectne i pordnia mu > nomer v snmpd-to stava drug, saotvetno grafikata mu > spira da se risuva , ili po4va da risuva niakoia druga > . > Vaprosa: KAK da nakaram MRTG-to da vzema info-to za > trafika ne ot interfeisa ,kato takuv , a ot IP-to na > interfeisa ,za da sam siguren , 4e niama da stava > obarkvane ? > Tova ne go pitam za parvi pak i mi e problem mnogo > otdavna. > Nadiavam se toia pat da nameria(-im) reshenie ! > > Georgi > > > > __ > Do You Yahoo!? > Buy the perfect holiday gifts at Yahoo! Shopping. > http://shopping.yahoo.com > === > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora > > === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG - kak se vzema info ot IP-to na interfeisa , a ne ot samia nego?
- Original Message - From: " ggg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 11:52 PM Subject: lug-bg: MRTG - kak se vzema info ot IP-to na interfeisa , a ne ot samia nego? > zdraveite, > neka si predstavim sistema s 2 ppp-ta - ppp0 i ppp1. > pusnato e snmp i MRTG na mashinata. Na MRTG-to se > risuvat kartinki za natovarvaneto na dvete ppp-ta > ,oba4e ako niakoe ot tiah se reconectne i pordnia mu > nomer v snmpd-to stava drug, saotvetno grafikata mu > spira da se risuva , ili po4va da risuva niakoia druga > . > Vaprosa: KAK da nakaram MRTG-to da vzema info-to za > trafika ne ot interfeisa ,kato takuv , a ot IP-to na > interfeisa ,za da sam siguren , 4e niama da stava > obarkvane ? > Tova ne go pitam za parvi pak i mi e problem mnogo > otdavna. > Nadiavam se toia pat da nameria(-im) reshenie ! reshenieto e mnogo lesno. Prosto triabva da chetete. MRTG ima tolkova mnogo wuzmozhnosti, che ... MRTG ima wuzmozhnost da se preindeksira po interfeica spriamo promenite v MIB durvoto. T.e. to pak si meri po interface, ama spriamo IP. I purvo namira na koi interface e zakacheno IP-to i togava pochva da meri ot tozi interface. Eto kak trqbwa da stane: 1. s cfgmaker: --ifref=x.x.x.x 2. v confa na mrtg-to: Target[hosting]: /x.x.x.x:[EMAIL PROTECTED] gotov si ne gi slushai tia suveti za IPac i t.n. MRTG si mozhe vsichko === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG - kak se vzema info ot IP-to na interfeisa , a ne ot samia nego?
/me se chudi dali da ne sedne i da napishe (t.e. da se opita) i edin tutorial za MRTG Dobrovolci da pomagat? - Original Message - From: " ggg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 11:52 PM Subject: lug-bg: MRTG - kak se vzema info ot IP-to na interfeisa , a ne ot samia nego? > zdraveite, > neka si predstavim sistema s 2 ppp-ta - ppp0 i ppp1. > pusnato e snmp i MRTG na mashinata. Na MRTG-to se > risuvat kartinki za natovarvaneto na dvete ppp-ta > ,oba4e ako niakoe ot tiah se reconectne i pordnia mu > nomer v snmpd-to stava drug, saotvetno grafikata mu > spira da se risuva , ili po4va da risuva niakoia druga > . > Vaprosa: KAK da nakaram MRTG-to da vzema info-to za > trafika ne ot interfeisa ,kato takuv , a ot IP-to na > interfeisa ,za da sam siguren , 4e niama da stava > obarkvane ? > Tova ne go pitam za parvi pak i mi e problem mnogo > otdavna. > Nadiavam se toia pat da nameria(-im) reshenie ! > > Georgi === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG - kak se vzema info ot IP-to na interfeisa , a ne ot samia nego?
vsi4ko dobre , no ne stana :-(( opcia --ifref ne e poznata na cfgmakera na MRTG-to mi (2.8.12) a za Target /IP.adr.na.hosta:public@mashinata , ne stava sashto georgi --- Teodor Georgiev <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: " ggg" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, November 30, 2001 11:52 PM > Subject: lug-bg: MRTG - kak se vzema info ot IP-to > na interfeisa , a ne ot > samia nego? > > > > zdraveite, > > neka si predstavim sistema s 2 ppp-ta - ppp0 i > ppp1. > > pusnato e snmp i MRTG na mashinata. Na MRTG-to se > > risuvat kartinki za natovarvaneto na dvete ppp-ta > > ,oba4e ako niakoe ot tiah se reconectne i pordnia > mu > > nomer v snmpd-to stava drug, saotvetno grafikata > mu > > spira da se risuva , ili po4va da risuva niakoia > druga > > . > > Vaprosa: KAK da nakaram MRTG-to da vzema info-to > za > > trafika ne ot interfeisa ,kato takuv , a ot IP-to > na > > interfeisa ,za da sam siguren , 4e niama da stava > > obarkvane ? > > Tova ne go pitam za parvi pak i mi e problem mnogo > > otdavna. > > Nadiavam se toia pat da nameria(-im) reshenie ! > > reshenieto e mnogo lesno. Prosto triabva da chetete. > MRTG ima tolkova mnogo > wuzmozhnosti, che ... > > MRTG ima wuzmozhnost da se preindeksira po > interfeica spriamo promenite v > MIB durvoto. > T.e. to pak si meri po interface, ama spriamo IP. I > purvo namira na koi > interface e zakacheno IP-to i > togava pochva da meri ot tozi interface. Eto kak > trqbwa da stane: > > 1. s cfgmaker: > > --ifref=x.x.x.x > > 2. v confa na mrtg-to: > > > Target[hosting]: /x.x.x.x:[EMAIL PROTECTED] > > gotov si > > ne gi slushai tia suveti za IPac i t.n. MRTG si > mozhe vsichko > __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG - kak se vzema info ot IP-to na interfeisa , a ne ot samia nego?
A sluchaino da znaesh che tekushtata versia na MRTG e 2.9.17 ??? - Original Message - From: " ggg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 02, 2001 4:27 PM Subject: Re: lug-bg: MRTG - kak se vzema info ot IP-to na interfeisa , a ne ot samia nego? > vsi4ko dobre , no ne stana :-(( > opcia --ifref ne e poznata na cfgmakera na MRTG-to mi > (2.8.12) > a za Target /IP.adr.na.hosta:public@mashinata , ne > stava sashto > > > georgi > > > --- Teodor Georgiev <[EMAIL PROTECTED]> wrote: > > > > - Original Message - > > From: " ggg" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, November 30, 2001 11:52 PM > > Subject: lug-bg: MRTG - kak se vzema info ot IP-to > > na interfeisa , a ne ot > > samia nego? > > > > > > > zdraveite, > > > neka si predstavim sistema s 2 ppp-ta - ppp0 i > > ppp1. > > > pusnato e snmp i MRTG na mashinata. Na MRTG-to se > > > risuvat kartinki za natovarvaneto na dvete ppp-ta > > > ,oba4e ako niakoe ot tiah se reconectne i pordnia > > mu > > > nomer v snmpd-to stava drug, saotvetno grafikata > > mu > > > spira da se risuva , ili po4va da risuva niakoia > > druga > > > . > > > Vaprosa: KAK da nakaram MRTG-to da vzema info-to > > za > > > trafika ne ot interfeisa ,kato takuv , a ot IP-to > > na > > > interfeisa ,za da sam siguren , 4e niama da stava > > > obarkvane ? > > > Tova ne go pitam za parvi pak i mi e problem mnogo > > > otdavna. > > > Nadiavam se toia pat da nameria(-im) reshenie ! > > > > reshenieto e mnogo lesno. Prosto triabva da chetete. > > MRTG ima tolkova mnogo > > wuzmozhnosti, che ... > > > > MRTG ima wuzmozhnost da se preindeksira po > > interfeica spriamo promenite v > > MIB durvoto. > > T.e. to pak si meri po interface, ama spriamo IP. I > > purvo namira na koi > > interface e zakacheno IP-to i > > togava pochva da meri ot tozi interface. Eto kak > > trqbwa da stane: > > > > 1. s cfgmaker: > > > > --ifref=x.x.x.x > > > > 2. v confa na mrtg-to: > > > > > > Target[hosting]: /x.x.x.x:[EMAIL PROTECTED] > > > > gotov si > > > > ne gi slushai tia suveti za IPac i t.n. MRTG si > > mozhe vsichko > > > > > __ > Do You Yahoo!? > Buy the perfect holiday gifts at Yahoo! Shopping. > http://shopping.yahoo.com > === > A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG - kak se vzema info ot IP-to na interfeisa , a ne ot samia nego?
:-) znam ,znam , no tam kadeto mi triabwa e 2.8.12 i si gi moje teja neshta deto mi gi pishesh :-) , no az propusnah da obiasnia zashto ne stana: ne stana zashtoto za ppp0 imam slednoto: ppp0 Link Encap:Point-To-Point Protocol Inet adr: x.x.x.100 P-t-P: x.x.x.125 mask: 255.255.255.255 . x.x.x.100 e IP-to na mashinata(routera) koiato pitam za SNMP info. t.e. kato kaja na MRTG Target[neshto]: /x.x.x.125:[EMAIL PROTECTED] ne vrazva zashtoto ne SNMPD ne namira interfeis sas IP x.x.x.125 , tai kato na ppp0 sreshtu inte adr stoi tozi na mashinata ,ot koiato e vdignato ppp-to nadiavam se da si razbral problema ? shte se radvam niakoi da izmisli neshto koeto da sraboti, 4e mi e goliam zor. ina4e sas target [x] : /IP:public@ tazi versia na MRTG-to raboti idealno. georgi --- Teodor Georgiev <[EMAIL PROTECTED]> wrote: > A sluchaino da znaesh che tekushtata versia na MRTG > e 2.9.17 ??? > > > - Original Message - > From: " ggg" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, December 02, 2001 4:27 PM > Subject: Re: lug-bg: MRTG - kak se vzema info ot > IP-to na interfeisa , a ne > ot samia nego? > > > > vsi4ko dobre , no ne stana :-(( > > opcia --ifref ne e poznata na cfgmakera na > MRTG-to mi > > (2.8.12) > > a za Target /IP.adr.na.hosta:public@mashinata , ne > > stava sashto > > > > > > georgi > > > > > > --- Teodor Georgiev <[EMAIL PROTECTED]> > wrote: > > > > > > - Original Message - > > > From: " ggg" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Friday, November 30, 2001 11:52 PM > > > Subject: lug-bg: MRTG - kak se vzema info ot > IP-to > > > na interfeisa , a ne ot > > > samia nego? > > > > > > > > > > zdraveite, > > > > neka si predstavim sistema s 2 ppp-ta - ppp0 i > > > ppp1. > > > > pusnato e snmp i MRTG na mashinata. Na MRTG-to > se > > > > risuvat kartinki za natovarvaneto na dvete > ppp-ta > > > > ,oba4e ako niakoe ot tiah se reconectne i > pordnia > > > mu > > > > nomer v snmpd-to stava drug, saotvetno > grafikata > > > mu > > > > spira da se risuva , ili po4va da risuva > niakoia > > > druga > > > > . > > > > Vaprosa: KAK da nakaram MRTG-to da vzema > info-to > > > za > > > > trafika ne ot interfeisa ,kato takuv , a ot > IP-to > > > na > > > > interfeisa ,za da sam siguren , 4e niama da > stava > > > > obarkvane ? > > > > Tova ne go pitam za parvi pak i mi e problem > mnogo > > > > otdavna. > > > > Nadiavam se toia pat da nameria(-im) reshenie > ! > > > > > > reshenieto e mnogo lesno. Prosto triabva da > chetete. > > > MRTG ima tolkova mnogo > > > wuzmozhnosti, che ... > > > > > > MRTG ima wuzmozhnost da se preindeksira po > > > interfeica spriamo promenite v > > > MIB durvoto. > > > T.e. to pak si meri po interface, ama spriamo > IP. I > > > purvo namira na koi > > > interface e zakacheno IP-to i > > > togava pochva da meri ot tozi interface. Eto kak > > > trqbwa da stane: > > > > > > 1. s cfgmaker: > > > > > > --ifref=x.x.x.x > > > > > > 2. v confa na mrtg-to: > > > > > > > > > Target[hosting]: /x.x.x.x:[EMAIL PROTECTED] > > > > > > gotov si > > > > > > ne gi slushai tia suveti za IPac i t.n. MRTG si > > > mozhe vsichko > > > > > > > > > __ > > Do You Yahoo!? > > Buy the perfect holiday gifts at Yahoo! Shopping. > > http://shopping.yahoo.com > > > === > > A mail-list of Linux Users Group - Bulgaria > (bulgarian linuxers) > > http://www.linux-bulgaria.org/ Hosted by Internet > Group Ltd. - Stara > Zagora > > === > A mail-list of Linux Users Group - Bulgaria > (bulgarian linuxers) > http://www.linux-bulgaria.org/ Hosted by Internet > Group Ltd. - Stara Zagora __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
Re: lug-bg: MRTG - kak se vzema info ot IP-to na interfeisa , a ne ot samia nego?
reshenieto: (ako niakoi go interesuva)! v kraina smetka upgradenah s last versia i vmesto predlojenoto ot T.Georgiev (za koeto mu blagodaria) /IP_na_INterfeisa:communiti@IP_na_mashinata izpolzvah : Target [neshto]: \ppp0:community@ vmesto /IP:community@.. -> \Interfeis_name:community@.. dano na niakoi mu svarshi rabota georgi --- Teodor Georgiev <[EMAIL PROTECTED]> wrote: > > - Original Message - > From: " ggg" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, November 30, 2001 11:52 PM > Subject: lug-bg: MRTG - kak se vzema info ot IP-to > na interfeisa , a ne ot > samia nego? > > > > zdraveite, > > neka si predstavim sistema s 2 ppp-ta - ppp0 i > ppp1. > > pusnato e snmp i MRTG na mashinata. Na MRTG-to se > > risuvat kartinki za natovarvaneto na dvete ppp-ta > > ,oba4e ako niakoe ot tiah se reconectne i pordnia > mu > > nomer v snmpd-to stava drug, saotvetno grafikata > mu > > spira da se risuva , ili po4va da risuva niakoia > druga > > . > > Vaprosa: KAK da nakaram MRTG-to da vzema info-to > za > > trafika ne ot interfeisa ,kato takuv , a ot IP-to > na > > interfeisa ,za da sam siguren , 4e niama da stava > > obarkvane ? > > Tova ne go pitam za parvi pak i mi e problem mnogo > > otdavna. > > Nadiavam se toia pat da nameria(-im) reshenie ! > > reshenieto e mnogo lesno. Prosto triabva da chetete. > MRTG ima tolkova mnogo > wuzmozhnosti, che ... > > MRTG ima wuzmozhnost da se preindeksira po > interfeica spriamo promenite v > MIB durvoto. > T.e. to pak si meri po interface, ama spriamo IP. I > purvo namira na koi > interface e zakacheno IP-to i > togava pochva da meri ot tozi interface. Eto kak > trqbwa da stane: > > 1. s cfgmaker: > > --ifref=x.x.x.x > > 2. v confa na mrtg-to: > > > Target[hosting]: /x.x.x.x:[EMAIL PROTECTED] > > gotov si > > ne gi slushai tia suveti za IPac i t.n. MRTG si > mozhe vsichko > __ Do You Yahoo!? Buy the perfect holiday gifts at Yahoo! Shopping. http://shopping.yahoo.com === A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora