Indice del forum
infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a
 REGOLAMENTOREGOLAMENTO   FAQ  FAQ   Cerca  Cerca   Lista utenti  Lista utenti   Gruppi  Gruppi CHAT  CHAT   Phoogle Map  Phoogle Map
Registrati  ::  Log in Messaggi privati


Nuovo argomento  Rispondi
 MRTG (Multi Router Traffic Grapther) help mi da errore... « Precedente :: Successivo » 
Autore Messaggio
CD
MessaggioInviato: Dom Apr 13, 2008 10:47 am    Oggetto: MRTG (Multi Router Traffic Grapther) help mi da errore... Rispondi citando

BANNATO


Registrato: 14/08/07 13:11

Messaggi: 960

buondi per l'ennesima volta voglio tentare di installare l' mrtg

avendo ubuntu 7.10 ho seguito sta guida
http://wiki.ubuntu-it.org/Server/Mrtg


quindi in sequenza :

Codice:

sudo apt-get install mrtg
sudo apt-get install mrtg-contrib
sudo apt-get install librrds-perl
sudo apt-get install snmpd
sudo apt-get install snmp



poi ho creato il file /etc/snmpd.local.conf

Codice:

sudo pico /etc/snmpd.local.conf



e ci ho infilato qualcosa tipo :

Codice:

# Il nome della macchina
sysname server1
# Una descrizione per la macchina
sysdescr Descrizione
# Informazioni sulla localita
syslocation Verona
# Il nome e l'indirizzo e-mail dell'amministratore
syscontact admin admin  <admin@localhost>



poi ho aperto il file : /etc/snmp/snmpd.conf

Codice:

sudo pico /etc/snmp/snmpd.conf



e cercato la parte :

Codice:

com2sec paranoid   default         public
#com2sec readonly  default         public
#com2sec readwrite default         private





e lo fatta diventare :

Codice:

#       sec.name  source          community
#com2sec paranoid  default         public
com2sec readonly   192.168.0.60    public
#com2sec readwrite default         private



poi ho configurato l' mrtg:

Codice:


sudo cfgmaker public@localhost –output=/etc/mrtg.cfg



ottenendo il seguente risultato ( e pure il primo errore ) :

Codice:


SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
                  community: "public"
                 request ID: -2126638182
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/share/perl5/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on public@localhost::::::v4only
 at /usr/bin/cfgmaker line 921
WARNING: Skipping public@localhost: as no info could be retrieved




forse dove scrivere :

Codice:

sudo cfgmaker public@192.168.0.60 –output=/etc/mrtg.cfg

?

niente stesso errore :

Codice:


SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.0.60" [192.168.0.60].161)
                  community: "public"
                 request ID: 2058176960
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/share/perl5/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on public@192.168.0.60::::::v4only
 at /usr/bin/cfgmaker line 921
WARNING: Skipping public@192.168.0.60: as no info could be retrieved




qualcuno mi puo dare qualche delucidazione ?
This post doesnot have score yet, be the first to comment:    
The copyright belongs to CD and infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a, no authorized actions like re-post are strictly prohibited.
Top
Profilo Invia messaggio privato
Sponsor
karyal
MessaggioInviato: Dom Apr 13, 2008 12:23 pm    Oggetto: Re: MRTG (Multi Router Traffic Grapther) help mi da errore Rispondi citando

2° avvertimento
User is appraised 1.00 out of 5

Registrato: 06/01/07 22:24
Età: 35
Messaggi: 6961

CD ha scritto:

qualcuno mi puo dare qualche delucidazione ?


Mai fatto su Ubuntu, ma non credo sia rilevante...
Per cfgmaker solitamente si usa:
cfgmaker community@ip > configurazione.cfg

quindi cfgmaker public@192.168.0.60 > mrtg.cfg

A naso dal messaggio che ti da o snmpd non accetta le connessioni su quell'ip/dall'ip che usi, o e' configurato male

http://ubuntuforums.org/showthread.php?p=970954
This post doesnot have score yet, be the first to comment:    
The copyright belongs to karyal and infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a, no authorized actions like re-post are strictly prohibited.
Top
Profilo Invia messaggio privato
CD
MessaggioInviato: Dom Apr 13, 2008 12:36 pm    Oggetto: Rispondi citando

BANNATO


Registrato: 14/08/07 13:11

Messaggi: 960

niente da fare ho provato come hai detto :

Codice:

SNMP Error:
no response received
SNMPv1_Session (remote host: "192.168.0.60" [192.168.0.60].161)
                  community: "public"
                 request ID: 89181159
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/share/perl5/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on public@192.168.0.60::::::v4only
 at /usr/bin/cfgmaker line 921
WARNING: Skipping public@192.168.0.60: as no info could be retrieved




dho

i comandi glielo dati via shell da un pc che e nella stessa rete (192.168.0.xxx)

mo do un occhio al forum ...

altra cosa ma non credo sia la causa ; quel server ha 2 schede di rete una configurata per la lan 192.168.0.60 , e l'altra con uno degli ip pubblici che mi hai assegnato
This post doesnot have score yet, be the first to comment:    
The copyright belongs to CD and infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a, no authorized actions like re-post are strictly prohibited.
Top
Profilo Invia messaggio privato
CD
MessaggioInviato: Dom Apr 13, 2008 1:08 pm    Oggetto: Rispondi citando

BANNATO


Registrato: 14/08/07 13:11

Messaggi: 960

http://77.42.78.84/mrtg/


sembra funzionare ... solo che anche dopo una mezzora e generando traffico non mi sembra che il grafico si aggiorni Sad
This post doesnot have score yet, be the first to comment:    
The copyright belongs to CD and infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a, no authorized actions like re-post are strictly prohibited.
Top
Profilo Invia messaggio privato
karyal
MessaggioInviato: Dom Apr 13, 2008 1:13 pm    Oggetto: Rispondi citando

2° avvertimento
User is appraised 1.00 out of 5

Registrato: 06/01/07 22:24
Età: 35
Messaggi: 6961

CD ha scritto:


altra cosa ma non credo sia la causa ; quel server ha 2 schede di rete una configurata per la lan 192.168.0.60 , e l'altra con uno degli ip pubblici che mi hai assegnato


no, gli ip sono irrilevantibasta che siano raggiungibili
This post doesnot have score yet, be the first to comment:    
The copyright belongs to karyal and infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a, no authorized actions like re-post are strictly prohibited.
Top
Profilo Invia messaggio privato
CD
MessaggioInviato: Dom Apr 13, 2008 1:29 pm    Oggetto: Rispondi citando

BANNATO


Registrato: 14/08/07 13:11

Messaggi: 960

mmm forse qualcosa si muove mmm
This post doesnot have score yet, be the first to comment:    
The copyright belongs to CD and infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a, no authorized actions like re-post are strictly prohibited.
Top
Profilo Invia messaggio privato
CD
MessaggioInviato: Dom Apr 13, 2008 7:22 pm    Oggetto: Rispondi citando

BANNATO


Registrato: 14/08/07 13:11

Messaggi: 960

qualcosa non mi quadra nel grafico ....




sembra che le ore siano messe all'incontrario ...
This post doesnot have score yet, be the first to comment:    
The copyright belongs to CD and infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a, no authorized actions like re-post are strictly prohibited.
Top
Profilo Invia messaggio privato
karyal
MessaggioInviato: Dom Apr 13, 2008 11:11 pm    Oggetto: Rispondi citando

2° avvertimento
User is appraised 1.00 out of 5

Registrato: 06/01/07 22:24
Età: 35
Messaggi: 6961

CD ha scritto:
qualcosa non mi quadra nel grafico ....




sembra che le ore siano messe all'incontrario ...


http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html

Options

The Options Keyword allows you to set some boolean switches:

growright

The graph grows to the left by default. This option flips the direction of growth causing the current time to be at the right edge of the graph and the history values to the left of it.
This post doesnot have score yet, be the first to comment:    
The copyright belongs to karyal and infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a, no authorized actions like re-post are strictly prohibited.
Top
Profilo Invia messaggio privato
CD
MessaggioInviato: Lun Apr 14, 2008 12:53 am    Oggetto: Rispondi citando

BANNATO


Registrato: 14/08/07 13:11

Messaggi: 960

ehm ho dato un occhio ma e gia messo giusto

Codice:

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
Options[_]: growright, bits



ho provato a rifargli l'index ora sembra ok ... mah cmq grazie per l'help ...
This post doesnot have score yet, be the first to comment:    
The copyright belongs to CD and infoe4a.it - Il Forum NON UFFICIALE degli utenti e4a, no authorized actions like re-post are strictly prohibited.
Top
Profilo Invia messaggio privato
Mostra prima i messaggi di:   
Nuovo argomento  Rispondi Pagina 1 di 1

Vai a:  
Discussioni simili
Argomenti Autore Risposte Consultazioni Ultimo messaggio
Non ci sono nuovi messaggi Il mio primo sito
Artic 15 559 Ven Lug 25, 2008 5:50 pm
Artic Leggi gli ultimi messaggi
Non ci sono nuovi messaggi aiuto installazione router wifi (il mio primo router )
mattiagonzo 4 905 Dom Mar 30, 2008 1:44 am
dev/null Leggi gli ultimi messaggi
Non ci sono nuovi messaggi richiesta informazioni installazione antenna e4a e altro
zerocool 6 557 Gio Giu 14, 2007 5:39 pm
dragon Leggi gli ultimi messaggi
Non ci sono nuovi messaggi Informazioni sul voip E4A
treepwood_g 1 427 Gio Mar 15, 2007 12:42 pm
TocaiRosso Leggi gli ultimi messaggi
Non ci sono nuovi messaggi informazioni voip
teo 7 713 Sab Mar 03, 2007 12:17 pm
saghèto Leggi gli ultimi messaggi



Non puoi inserire nuovi argomenti
Non puoi rispondere a nessun argomento
Non puoi modificare i tuoi messaggi
Non puoi cancellare i tuoi messaggi
Non puoi votare nei sondaggi


Powered by phpBB © 2001, 2005 phpBB Group