Re: Configuration mrtg
Emmanuel Lesouef wrote: Bonjour la liste, Je suis un peu perplexe face à la manière de configurer mrtg. Une fois le mrtg.cfg créé (avec cfgmaker), un : mrtg mrtg.cfg ne me donne aucune page générée dans /var/www/mrtg/ Est-ce que quelqu'un l'aurait deja configuré ? Un lien didactique en francais ? Merci. manu La site officiel du programme peut etre ? http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ Je pense que si tu regarde dans les docs tu trouvera ton bonheur regarde aussi dans /usr/share/doc/mrtg Zippo
Re : Configuration mrtg
On 2003.06.03 15:03, Zippo Potamme wrote: La site officiel du programme peut etre ? http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ Je pense que si tu regarde dans les docs tu trouvera ton bonheur regarde aussi dans /usr/share/doc/mrtg Zippo Merci, comme quoi, des fois, il est bon de se prendre un RTFM. Je regarde tout ca. manu
Re: Configuration mrtg
On Tue, 3 Jun 2003 14:31:02 +0200 Emmanuel Lesouef <[EMAIL PROTECTED]> wrote: > Bonjour la liste, > > Je suis un peu perplexe face à la manière de configurer mrtg. > > Une fois le mrtg.cfg créé (avec cfgmaker), un : mrtg mrtg.cfg ne me > donne aucune page générée dans /var/www/mrtg/ > > Est-ce que quelqu'un l'aurait deja configuré ? Un lien didactique en > francais ? > > Merci. > > manu > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > Le service snmpd est il demarré? Si oui, Que donne la commande (par exemple): snmpwalk -c public -v 2c 127.0.0.1 -- Vincent Lenouvel - <[EMAIL PROTECTED]> Empreinte de la clé = D14D EFE9 4F55 AF89 98B0 666B 17E5 C840 4B0D 80E4 wget -O - http://users.info.unicaen.fr/~vincent/signature.asc | gpg --import pgpuTJKW8euJK.pgp Description: PGP signature
Re : Configuration mrtg
On 2003.06.03 15:16, Vincent Lenouvel wrote: Le service snmpd est il demarré? Si oui, Que donne la commande (par exemple): snmpwalk -c public -v 2c 127.0.0.1 -- Vincent Lenouvel - <[EMAIL PROTECTED]> Ca me donne plein de messages mais surtout un : Timeout: No Response from 127.0.0.1 à la fin. Serait-ce un pb de conf de smpd ? merci manu
Re: Configuration mrtg
snmpd n'est vraiment pas necessaire, je dirais même inutile avec les scripts que j'ai, ca evite d'installer et de configurer un soft qu'on utilisera pour juste MRTG @+ Vincent Lenouvel wrote: On Tue, 3 Jun 2003 14:31:02 +0200 Emmanuel Lesouef <[EMAIL PROTECTED]> wrote: Bonjour la liste, Je suis un peu perplexe face à la manière de configurer mrtg. Une fois le mrtg.cfg créé (avec cfgmaker), un : mrtg mrtg.cfg ne me donne aucune page générée dans /var/www/mrtg/ Est-ce que quelqu'un l'aurait deja configuré ? Un lien didactique en francais ? Merci. manu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] Le service snmpd est il demarré? Si oui, Que donne la commande (par exemple): snmpwalk -c public -v 2c 127.0.0.1
Re: Configuration mrtg
Ben faut éditer /etc/mrtg.conf ( voir fichier joint ), et bien mettre la ou vont les fichiers. Puis regardé s'il est bien configurer dans /etc/cron.d ( pour pas avoir à le lancé a la main ) J'utilise des script pour les disk process, memoire, etc..., je peux mettre a disposition si besoin Voici ce que ca donne : https://stephanfo.homelinux.org/Stat_net/ Si tu veux plus d'info, je suis a dispo pour MRTG @+ Stephanfo Emmanuel Lesouef wrote: Bonjour la liste, Je suis un peu perplexe face à la manière de configurer mrtg. Une fois le mrtg.cfg créé (avec cfgmaker), un : mrtg mrtg.cfg ne me donne aucune page générée dans /var/www/mrtg/ Est-ce que quelqu'un l'aurait deja configuré ? Un lien didactique en francais ? Merci. manu WorkDir: /var/www/Stat_net/ XSize[_]: 600 YSize[_]: 100 #Colours[_]: --#7aafff,--#1000ff,--#006600,--#ff00ff Language: french ### Interface eth0 >> Descr: 'eth0' | Name: '' | Ip: '192.168.1.1' | Eth: '' ### Target[localhost_eth0]: `/var/www/Stat_net/netstat lan eth0` Options[localhost_eth0]: nopercent,growright,noinfo,nobanner MaxBytes[localhost_eth0]: 1000 Kilo[localhost_eth0]:1024 Ylegend[localhost_eth0]: octets/s ShortLegend[localhost_eth0]: o/s kMG[localhost_eth0]:,K,M,G #Unscaled[localhost_eth0]:dwmy Legend1[localhost_eth0]: Débits locaux en entrée Legend2[localhost_eth0]: Débits locaux en sortie LegendI[localhost_eth0]: Entrée: LegendO[localhost_eth0]: Sortie: Title[localhost_eth0]: Traffic réseau local PageTop[localhost_eth0]: Traffic réseau local ### Interface ppp0 >> Descr: 'ppp0' | Name: '' | Ip: 'WANADOO' | Eth: '' ### Target[localhost_ppp0]: `/var/www/Stat_net/netstat net ppp0` Options[localhost_ppp0]: nopercent,growright,noinfo,nobanner MaxBytes[localhost_ppp0]: 66355 Kilo[localhost_ppp0]:1024 Ylegend[localhost_ppp0]: octets/s ShortLegend[localhost_ppp0]: o/s kMG[localhost_ppp0]:,K,M,G #Unscaled[localhost_ppp0]:dwmy Legend1[localhost_ppp0]: Débits internet en entrée Legend2[localhost_ppp0]: Débits internet en sortie LegendI[localhost_ppp0]: Entrée: LegendO[localhost_ppp0]: Sortie: Title[localhost_ppp0]: Traffic internet PageTop[localhost_ppp0]: Traffic internet ### ### Monitoring de ping ADSL ### ### #Ici, on mesure le temps de latence par la commande ping sur un serveur DNS Wanadoo #on affiche 2 fois le resultat pour faire un grahpe. Target[localhost_ping]: `/var/www/Stat_net/ping` Options[localhost_ping]: gauge,growright,nopercent,noinfo MaxBytes[localhost_ping]: 1000 Title[localhost_ping]: Mesure du Ping sur dns Nerim PageTop[localhost_ping]: Mesure du Ping sur dns Nerim YLegend[localhost_ping]: Latence en ms ShortLegend[localhost_ping]: ms Legend1[localhost_ping]: Temps de réponse moyen en ms Legend2[localhost_ping]: Temps de réponse moyen en ms LegendI[localhost_ping]: Latence : LegendO[localhost_ping]: Latence : #-Memory Target[localhost_mem]: `/var/www/Stat_net/mem` Options[localhost_mem]: nopercent,growright,gauge,noinfo, nobanner Unscaled[localhost_mem]:dwmy MaxBytes[localhost_mem]: 128884736 Kilo[localhost_mem]:1024 YLegend[localhost_mem]: RAM ShortLegend[localhost_mem]: o Legend1[localhost_mem]: Mémoire utilisé Legend2[localhost_mem]: Mémoire libre LegendI[localhost_mem]: Mém. Utilisé: LegendO[localhost_mem]: Mém. Libre: Title[localhost_mem]: Mémoire PageTop[localhost_mem]: Mémoire #end Memory- #-CPU--- Target[localhost_cpu]: `/var/www/Stat_net/cpustat` Options[localhost_cpu]: nopercent,growright,gauge,noinfo, nobanner MaxBytes[localhost_cpu]: 1 YLegend[localhost_cpu]: %*100 CPU ShortLegend[localhost_cpu]: %*100 CPU Legend1[localhost_cpu]: Resource CPU (en %*100) Legend2[localhost_cpu]: Resource CPU (en %*100) LegendI[localhost_cpu]: Total: LegendO[localhost_cpu]: Total: Title[localhost_cpu]: CPU PageTop[localhost_cpu]: CPU #end CPU- #-Espace libre disk hda1 Target[localhost_hda1]: `/var/www/Stat_net/checkdisk hda1` Options[localhost_hda1]: nopercent,growright,gauge,noinfo MaxBytes[localhost_hda1]:1780 Unscaled[localhost_hda1]:dwmy kMG[localhost_hda1]:M,G,T,P YLegend[localhost_hda1]: octets ShortLegend[localhost_hda1]: o Kilo[localhost_hda1]:1024 Legend1[localhost_hda1]: Espace utilisé Legend2[localhost_hda1]: Espace disponible LegendI[localhost_hda1]: Espace Utilisé: LegendO[localhost_hda1]: Espace dispo : Title[localhost_hda1]: Espace sur disk racine PageTop[localhost_hda1]: Espace sur disk racine #end disk hda1- #-Espace libre disk hda3 Ta
Re: Re : Configuration mrtg
Voila pourquoi j'utilise pas snmpd, car bon voila, faut configurer, et si on a des prob, c'est chiant en même temps, je suis feignant mais j'aime pas installer des soft inutile @+ Emmanuel Lesouef wrote: On 2003.06.03 15:16, Vincent Lenouvel wrote: Le service snmpd est il demarré? Si oui, Que donne la commande (par exemple): snmpwalk -c public -v 2c 127.0.0.1 -- Vincent Lenouvel - <[EMAIL PROTECTED]> Ca me donne plein de messages mais surtout un : Timeout: No Response from 127.0.0.1 à la fin. Serait-ce un pb de conf de smpd ? merci manu
snmpd et surveillance de serveurs [était Re : Configuration mrtg]
Bonsoir, > Merci, comme quoi, des fois, il est bon de se prendre un RTFM. > > Je regarde tout ca. man cfgmaker te l'aurais dit aussi. > manu Bon je squatte allègrement le fil pour poser une question sur snmpd, je m'eu amusé à l'installer sur un pc pas crade (genre PIII 800) et ce snmpd me mangeait 40% du processeur, c'est normal docteur ? Bon j'avoue j'ai rien configuré et j'ai survolé le man mais l'essai n'était pas assez rentable pour des serveurs en prod alors j'ai laissé tomber. D'où une double question : - snmpd qui fait ramer c'est normal ? - faut faire des scripts à la pelle pour mrtg ou y a autre chose du plus simple pour faire des graphiques dans tous les sens sur le débit rezo, les disques, etc. ? Désolé pour le squat. David Dumortier.
Re: snmpd et surveillance de serveurs [était Re : Configuration mrtg]
Le Fri, 6 Jun 2003 22:04:07 +0200, David Dumortier a écrit : > Bon je squatte allègrement le fil pour poser une question sur snmpd, je > m'eu amusé à l'installer sur un pc pas crade (genre PIII 800) et ce > snmpd me mangeait 40% du processeur, c'est normal docteur ? Non, c'est pas normal : sur ma gate, un FreeBSD sur un K6-2 450 avec seulement 128 Mo de RAM, un top me donne ça : load averages: 1.86, 1.35, 1.23 74 processes: 2 running, 72 sleeping PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 457 root2 0 3716K 844K select 32:57 2.29% 2.29% snmpd > - faut faire des scripts à la pelle pour mrtg ou y a autre chose du plus > simple pour faire des graphiques dans tous les sens sur le débit rezo, > les disques, etc. ? Il y en a plusieurs tout fait : cricket ou cacti, par exemple, devraient répondre à ton attente, en utilisant RRDtool. Sinon, MRTG est beaucoup plus simple et ne graphe que les interfaces réseau : valeurs entrant/sortant. Aucun script à faire, normalement. Pour voir ce que ça donne : Criket : http://rrdtool.nerim.net/cgi-bin/cricket/grapher.cgi MRTG : http://stats.noc.nerim.net/nav/serveurs/ridley/ -- A.G.A.R.W.A.E.N.: Artificial General Android Responsible for Warfare and Accurate Exploration of Networks