|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Member
Iscritto dal: Oct 2002
Città: Cesena
Messaggi: 57
|
sarg e squid
Ciao a tutti,
qualcuno di voi, tempo fa, mi consigliò di usare sarg per analizzare i log di squid ed io ero molto soddisfatto del onsiglio. Adesso ho scoperto che sarg mi può convertire automaticamente gli indirizzi IP in nomi, ho cercato la documentazione ma non riesco a trovare nulla di esaustivo, mi date qualche consiglio ? Grazie Maurizio |
![]() |
![]() |
![]() |
#2 |
Member
Iscritto dal: Oct 2002
Città: Cesena
Messaggi: 57
|
allora raga, nessuno?
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Aug 2002
Messaggi: 1909
|
non ho il proxy sotto mano (sono in ferie!
![]() # TAG: resolve_ip yes/no # Convert ip address to dns name # sarg -n #resolve_ip no con: # TAG: resolve_ip yes/no # Convert ip address to dns name # sarg -n resolve_ip yes o lo lanci da console con il flag sarg -n comunque se hai pazienza fino al 29/12 (giorno di fine delle ferie ![]() Byez!
__________________
AMD Athlon64X2 4400+@2700Mhz - Asus A8N32-SLI - 1GBddr400 - Dell Inspiron 6000 all powered by Gentoo-Linux Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
![]() |
![]() |
![]() |
#4 |
Member
Iscritto dal: Oct 2002
Città: Cesena
Messaggi: 57
|
adesso ci provo, spero che non funzioni altrimenti altro che birre!!! ti dovrò pagare lo stipendio
![]() Io vado in ferie domani e, se tutto va bene torno il 7/1 buone vacanze e buone feste ciao Maurizio. |
![]() |
![]() |
![]() |
#5 |
Senior Member
Iscritto dal: Aug 2002
Messaggi: 1909
|
ha funzato?
PS: per il denaro se vuoi ti do gli estremi per un bonifico ![]() ![]() ![]() Buone ferie anche a te! ![]() ![]()
__________________
AMD Athlon64X2 4400+@2700Mhz - Asus A8N32-SLI - 1GBddr400 - Dell Inspiron 6000 all powered by Gentoo-Linux Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
![]() |
![]() |
![]() |
#6 |
Member
Iscritto dal: Oct 2002
Città: Cesena
Messaggi: 57
|
Salve,
come ti sono andate le ferie??? Io tutto Ok forse un pò troppo lunghe... Sai che quell'opzione nn c'è proprio sul mio sarg.conf??? Dovrei aggiungerla secondo te? Ma se io volessi reinstallare sarg riscrivendo tutto come devo fare? (--force nn funziona). Ciao Maurizio |
![]() |
![]() |
![]() |
#7 |
Senior Member
Iscritto dal: Aug 2002
Messaggi: 1909
|
le ferie sono andate benino. non ho fatto nulla di eccezionale ma mi sono riposato.
![]()
__________________
AMD Athlon64X2 4400+@2700Mhz - Asus A8N32-SLI - 1GBddr400 - Dell Inspiron 6000 all powered by Gentoo-Linux Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
![]() |
![]() |
![]() |
#8 |
Senior Member
Iscritto dal: Aug 2002
Messaggi: 1909
|
a questo indirizzo:
http://web.onda.com.br/orso/sarg.README.txt trovi anche il sarg.conf completo con tutte le opzione da decommentare. invece di reinstallare tutto (sotto linux non si reinstalla mai, solo tranne nei casi casi disperati!) puoi fare un bal backup del tuo rinominandolo e poi ne crei uno con il contenuto e decommenti le righe che vuoi usare.
__________________
AMD Athlon64X2 4400+@2700Mhz - Asus A8N32-SLI - 1GBddr400 - Dell Inspiron 6000 all powered by Gentoo-Linux Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
![]() |
![]() |
![]() |
#9 |
Member
Iscritto dal: Oct 2002
Città: Cesena
Messaggi: 57
|
ma che vuol dire "segmentation fault"
me lo da ogni volta che lancio sarg ![]() |
![]() |
![]() |
![]() |
#10 |
Senior Member
Iscritto dal: Aug 2002
Messaggi: 1909
|
lo hai reinstallato ricompilandolo?
__________________
AMD Athlon64X2 4400+@2700Mhz - Asus A8N32-SLI - 1GBddr400 - Dell Inspiron 6000 all powered by Gentoo-Linux Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
![]() |
![]() |
![]() |
#11 |
Member
Iscritto dal: Oct 2002
Città: Cesena
Messaggi: 57
|
no nn l'ho toccato!!!
|
![]() |
![]() |
![]() |
#12 |
Senior Member
Iscritto dal: Aug 2002
Messaggi: 1909
|
ti è saltato fuori dopo che hai rimaneggiato il sarg.conf?
__________________
AMD Athlon64X2 4400+@2700Mhz - Asus A8N32-SLI - 1GBddr400 - Dell Inspiron 6000 all powered by Gentoo-Linux Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
![]() |
![]() |
![]() |
#13 |
Member
Iscritto dal: Oct 2002
Città: Cesena
Messaggi: 57
|
no qualche volta anche prima, ma sai la cosa strana? il rapporto viene comunque fuori nella dir usr/etc/ecc....
|
![]() |
![]() |
![]() |
#14 |
Senior Member
Iscritto dal: Aug 2002
Messaggi: 1909
|
sarg come lo hai installato: binario precompilato? su che distro sei? puo' darsi che il binario che hai non vada totalmente bene/ se sei su una ditro con il gcc2.96 ti è venuta fuori una schifezza che si impalla.
__________________
AMD Athlon64X2 4400+@2700Mhz - Asus A8N32-SLI - 1GBddr400 - Dell Inspiron 6000 all powered by Gentoo-Linux Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
![]() |
![]() |
![]() |
#15 |
Member
Iscritto dal: Oct 2002
Città: Cesena
Messaggi: 57
|
RH 7.3 il file rpm si chiama sarg-1.2.1-1.i386.rpm
|
![]() |
![]() |
![]() |
#16 |
Senior Member
Iscritto dal: Aug 2002
Messaggi: 1909
|
lo hai scaricato da qui?
http://ptt.mcl.ru/orso/7x/sarg-1.2.1-1.i386.rpm prova a scaricare i sorgenti e a ricompilarli. Il pacchetto con i sogenti è questo: http://ptt.mcl.ru/orso/srpm/sarg-1.2.1-1.src.rpm lo ricompili con: rpmbuild --rebuild sarg-1.2.1-1.src.rpm e lo ritrovi compilato nella directory /usr/src/redhat/RPMS/i386 Un'altro buon consiglio e di fare un bell'update alla tua red hat. Scaricati gli aggiornamenti da qui: ftp://updates.redhat.com/7.3/en/os/i386/
__________________
AMD Athlon64X2 4400+@2700Mhz - Asus A8N32-SLI - 1GBddr400 - Dell Inspiron 6000 all powered by Gentoo-Linux Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
![]() |
![]() |
![]() |
#17 |
Member
Iscritto dal: Oct 2002
Città: Cesena
Messaggi: 57
|
ho riscritto il file conf e adesso funziona forse
![]() c'è un modo per ingrandire il file access.log? vorrei fargli tenere almeno una settimana di connessioni... ![]() |
![]() |
![]() |
![]() |
#18 |
Senior Member
Iscritto dal: Aug 2002
Messaggi: 1909
|
bien. allora era qualche opzione farlocca nel sarg.conf. per il log guardo poi ti dico. a sentimento devi agire sulle opzioni dei log di squid.
__________________
AMD Athlon64X2 4400+@2700Mhz - Asus A8N32-SLI - 1GBddr400 - Dell Inspiron 6000 all powered by Gentoo-Linux Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
![]() |
![]() |
![]() |
#19 |
Member
Iscritto dal: Oct 2002
Città: Cesena
Messaggi: 57
|
grazie, sempre gentilissimo ed io sempre in debito!!!
![]() |
![]() |
![]() |
![]() |
#20 |
Senior Member
Iscritto dal: Aug 2002
Messaggi: 1909
|
secondo me dovresti semplicemente ingrandire la cache di squid con
a esmpio: cache_dir diskd dir /var/spool/squid/ 1024 16 256 e poi aggiungere: logfile_rotate 5 I log te li genera già lui settimanalmente. Probabilmente non ti ci stanno come dimensione nella cache. Con la seconda opzione gli dici di tenerti da parte i log delle 4 settimane precedenti.
__________________
AMD Athlon64X2 4400+@2700Mhz - Asus A8N32-SLI - 1GBddr400 - Dell Inspiron 6000 all powered by Gentoo-Linux Eight days of the week we're dead on our feet, take me aside just shoot me. No black and white, black and white. Wish we could drive right through you. - Eight Days - PitchShifter |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 15:10.