URL: https://linuxfr.org/forums/linux-debian-ubuntu/posts/snmpmrtg Title: SNMP+MRTG Authors: lefunambule Date: 2006年06月28日T23:17:33+02:00 Tags: Score: 0 bonsoir a tous je me tourne vers vous après moult vaines tentatives de configurer SNMP et MRTG j'ai suivi plusieur tuto [pas en meme temps ... ;-) ] dont voici les liens : [http://fr.gentoo-wiki.com/HOWTO_surveiller_son_systeme_avec_(...)](http://fr.gentoo-wiki.com/HOWTO_surveiller_son_systeme_avec_SNMP_et_MRTG_(avec_Apache)) [http://christian.caleca.free.fr/snmp/mrtg_1.htm](http://christian.caleca.free.fr/snmp/mrtg_1.htm) et bien sur la doc qui vient avec cfgmaker mais toujours le meme probleme dont je vous rapporte les messages : # cfgmaker public@localhost --base: Get Device Info on public@localhost: SNMP Error: Received SNMP response with error code error status: noSuchName ___________________________ la 1ere qui me turlupine index 1 (OID: 1.3.6.1.2.1.1.9.1.4.9) SNMPv1_Session (remote host: "localhost" [127.0.0.1].161) community: "public" request ID: -1841298954 PDU bufsize: 8000 bytes timeout: 2s retries: 5 backoff: 1) at /usr/share/perl5/SNMP_util.pm line 733 --base: Vendor Id: --base: Populating confcache --snpo: Skipping ifName scanning because public@localhost: does not seem to support it --snpo: Skipping ifDescr scanning because public@localhost: does not seem to support it --snpo: Skipping ifType scanning because public@localhost: does not seem to support it --snpo: Skipping ipAdEntIfIndex scanning because public@localhost: does not seem to support it --snpo: Skipping ifPhysAddress scanning because public@localhost: 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: "localhost" [127.0.0.1].161) community: "public" request ID: -1841298948 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.2.2.1.1 on public@localhost::::::v4only at /usr/bin/cfgmaker line 144 __________________la 2nd (je n'ai pas activé l'ipV6) --base: Walking ifType (etc.....) pour les mordus qui voudraient m'aider à progresser (ca fait trois jours non-stop que je cherche ['fin depuis ce week-end]) voici des extraits de : 1) snmpd.conf : # sec.name source community com2sec local 127.0.0.1/24 public com2sec local 10.0.0.1/24 public com2sec readwrite 127.0.0.1/24 private #### # Second, map the security names into group names: # sec.model sec.name group MyROSystem v1 local group MyROSystem v2c local group MyROSystem usm local group MyROGroup v1 local group MyROGroup v2c local group MyROGroup usm local group MyRWGroup v1 readwrite group MyRWGroup v2c readwrite group MyRWGroup usm readwrite #### # Third, create a view for us to let the groups have rights to: # incl/excl subtree mask view all included .1 80 view system included .iso.org.dod.internet.mgmt.mib-2.system #### # Finally, grant the 2 groups access to the 1 view with different # write permissions: # context sec.model sec.level match read write notif access MyROSystem "" any noauth exact system none none access MyROGroup "" any noauth exact all none none access MyRWGroup "" any noauth exact all all none et 2) mrtg.cfg : # Global configuration WorkDir: /var/www/mrtg # 128K leased line # ---------------- #Title[leased]: an ADSL leased line at debian-netserv.no-ip.org #PageTop[leased]: Link to the outside world #Target[leased]: 1:public@router.localnet #MaxBytes[leased]: 16000 donc si quelqu'un y est parvenu et peut me renseigner ou m'indiquer un bon tuto ce serait géant , merci d'avance à tous buena sera ;-)

AltStyle によって変換されたページ (->オリジナル) /