Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1197 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Débats

  [Debian] MRTG et SNMPD ?

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[Debian] MRTG et SNMPD ?

n°173025
boubours
procrastineur né
Posté le 14-10-2002 à 03:48:56  profilanswer
 

J'ai dans l'espoir de pouvoir un jour jouer avec mrtg, mais j'ai du mal a le configurer...
j'ailu qu'il fallait faire cfgmaker public@(ton histname) > mrtg.conf
hors losque je fais cela j'obtiens ceci...
apparemment ca ne marche pas, mais je ne vois pas pourquoi, qqun a til une idée ?
 

KerniMoise:/etc# cfgmaker public@kernimoise > mrtg.cfg
--base: Get Device Info on public@kernimoise:
--base: Vendor Id:  
--base: Populating confcache
--snpo: Skipping ifName scanning because public@kernimoise: does not seem to support it
--snpo: Skipping ifDescr scanning because public@kernimoise: does not seem to support it
--snpo: Skipping ipAdEntIfIndex scanning because public@kernimoise: does not seem to support it
--snpo: Skipping ifType scanning because public@kernimoise: does not seem to support it
--snpo: Skipping ifPhysAddress scanning because public@kernimoise: does not seem to support it
--base: Get Interface Info
--base: Walking ifIndex
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.1)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358810
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.1)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358810
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.1)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358810
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
no response received
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358810
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.1 on public@kernimoise:
 at /usr/bin/cfgmaker line 107
--base: Walking ifType
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.3)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358811
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.3)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358811
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
no response received
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358811
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.3 on public@kernimoise:
 at /usr/bin/cfgmaker line 107
--base: Walking ifSpeed
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.5)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358812
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.5)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358812
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.5)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358812
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
no response received
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358812
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.5 on public@kernimoise:
 at /usr/bin/cfgmaker line 107
--base: Walking ifAdminStatus
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.7)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358813
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.7)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358813
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.7)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358813
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
no response received
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358813
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.7 on public@kernimoise:
 at /usr/bin/cfgmaker line 107
--base: Walking ifOperStatus
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.8)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358814
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.2.1.2.2.1.8)
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358814
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMP Error:
no response received
SNMPv1_Session (remote host: "kernimoise" [10.0.0.1].161)
                  community: "public"
                 request ID: 26358814
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/lib/perl5/SNMP_util.pm line 569
SNMPWALK Problem for 1.3.6.1.2.1.2.2.1.8 on public@kernimoise:
 at /usr/bin/cfgmaker line 107
KerniMoise:/etc# less mrtg.cfg
# Created by  
# /usr/bin/cfgmaker public@kernimoise
 
 
### Global Config Options
 
#  for Debian
WorkDir: /var/www/mrtg
 
#  or for NT
# WorkDir: c:\mrtgdata
 
### Global Defaults
 
#  to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
 
 
######################################################################
# System: KerniMoise
# Description: Linux KerniMoise 2.4.18-k7 #1 Sun Apr 14 13:19:11 EST 2002 i686
# Contact: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
# Location: Unknown (configure /etc/snmp/snmp.local.conf)
######################################################################
 
 
KerniMoise:/etc#

mood
Publicité
Posté le 14-10-2002 à 03:48:56  profilanswer
 

n°173053
boubours
procrastineur né
Posté le 14-10-2002 à 19:48:53  profilanswer
 

:bounce:

n°173063
kadreg
profil: Utilisateur
Posté le 14-10-2002 à 20:03:19  profilanswer
 

Par défaut MRTG cherche à utiliser une mib snmp à monitorer. Si tu n'a pas compris ce que je dit, prends mon mrtg.cong :
 
http://kadreg.free.fr/perso/linux/mrtg.conf
 
Qui permet de faire ça :
 
http://rincevent.dyndns.org/mrtg/cpu.html


---------------
brisez les rêves des gens, il en restera toujours quelque chose...  -- laissez moi troller sur discu !
n°173078
Je@nb
Kindly give dime
Posté le 14-10-2002 à 20:39:43  profilanswer
 

dans /etc/snmpd/snmpd.conf met :
com2sec readonly 127.0.0.1      public

n°173248
boubours
procrastineur né
Posté le 15-10-2002 à 02:41:23  profilanswer
 

bencane marche toujours pas....

n°178425
pirfad
Posté le 24-10-2002 à 20:35:48  profilanswer
 

Tu as une erreur de SNMP. As tu bien demaré le service SNMP sur le machine cliente "kernimoise".


Message édité par pirfad le 24-10-2002 à 20:37:31
n°179408
stf
Posté le 25-10-2002 à 20:00:58  profilanswer
 

j'avais eu un paquet d'erreurs avec le snmpd de net-snmp.
 
avec celui de ucd-snmp, ca marche sans probleme et sans snmpd.conf
 
au moins tu auras l'état de tes interfaces réseaux.

n°179778
HJ
Posté le 26-10-2002 à 01:10:19  profilanswer
 

kadreg a écrit a écrit :

Par défaut MRTG cherche à utiliser une mib snmp à monitorer. Si tu n'a pas compris ce que je dit, prends mon mrtg.cong :
 
http://kadreg.free.fr/perso/linux/mrtg.conf
 
Qui permet de faire ça :
 
http://rincevent.dyndns.org/mrtg/cpu.html




 
beuh marche pas ton lien 2ème lien
adsl suxxx comme d'hab

n°179781
leirn
A.D.I.D.A.S.
Posté le 26-10-2002 à 01:16:30  profilanswer
 

HJ a écrit a écrit :

 
 
beuh marche pas ton lien 2ème lien
adsl suxxx comme d'hab
 




 
les miens marchent tjs


---------------
"Je brandirai une épée d'orichalque, je m'assouvirai sur des Templiers." | "Avec dans son sillage l'Ombre du Diable, Leirn appelait les morts pour une danse macabre et déchainaît les horreurs de la nuit..."
n°179831
HJ
Posté le 26-10-2002 à 11:03:21  profilanswer
 

ok  ça passe maintenant

mood
Publicité
Posté le 26-10-2002 à 11:03:21  profilanswer
 

n°179840
kadreg
profil: Utilisateur
Posté le 26-10-2002 à 11:43:19  profilanswer
 

leirn a écrit a écrit :

 
les miens marchent tjs




 
Rincevent est dans ma chambre, c'est pas pratique pour dormir.


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Débats

  [Debian] MRTG et SNMPD ?

 

Sujets relatifs
Pb installation Debian.Booouh! Debian aime pas mon PC... [newbie inside]
[debian]virer gnome[debian]Quel commande pour connaitre le nom des packages installés?
[debian] pb de reboot après recompil du noyau[DEBIAN] install sur serveur comapq proliant 1000+divers
Pb au lancement de java sous debian[debian]fdisk
[Debian] Stable/Testing/Unstable/ et...[Linux]Question debian
Plus de sujets relatifs à : [Debian] MRTG et SNMPD ?


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR