[EMAIL PROTECTED] wrote:
>
> Hey KoS,
> Thanks for the reply.
> I tried configuring the mrtg.cfg file, but the documentation suggest I do
> it with ./cfgmaker public@domain >> mrtg.cfg.
>
> When I run that I get a lot of snmp errors.
> Is there something wrong in my snmp setup? It is basically out of the
> box. I don't know what I need to do it it.
>
> Any help much appriciated.
>
> D. Ghost
>
> SNMP Error:
> Received SNMP response with error code
> error status: noSuchName
> index 5 (OID: 1.3.6.1.2.1.2.1.0)
> SNMPv1_Session (remote host: "ghost.net.cfw.com" [216.12.10.83].161
> community: "public"
> request ID: 676417294
> PDU bufsize: 8000 bytes
> timeout: 2s
> retries: 5
> backoff: 1)
> SNMPGET Problem for sysDescr sysContact sysName sysLocation ifNumber
> sysObjectID on [EMAIL PROTECTED]
>
> ######################################################################
> # Description:
> # Contact:
> # System Name:
> # Location:
> #.....................................................................
> SNMP Error:
> Received SNMP response with error code
> error status: noSuchName
> index 1 (OID: 1.3.6.1.2.1.4.20.1.1)
> SNMPv1_Session (remote host: "ghost.net.cfw.com" [216.12.10.83].161
> community: "public"
> request ID: 340910753
> PDU bufsize: 8000 bytes
> timeout: 2s
> retries: 5
> backoff: 1)
> 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: "ghost.net.cfw.com" [216.12.10.83].161
> community: "public"
> request ID: 340910754
> PDU bufsize: 8000 bytes
> timeout: 2s
> retries: 5
> backoff: 1)
>
> On Fri, 22 Sep 2000, Martin Kos wrote:
>
> >
> > hi
> >
> > [EMAIL PROTECTED] writes:
> >
> > > Has anyone set up MRTG to monitor an ethernet device on a debian machine?
> > > I was pondering doing so and wondered if anyone had had any luck or
> > > advice. I may also want to monitor CPU via MRTG.
> > apt-get install snmpd
> > apt-get install mrtg
> >
> > edit the mrtg.cfg and everything works fine ;-)
> >
> > KoS
> >
> > --
> > http://www.kos.li/ [EMAIL PROTECTED] +41-76-384-93-33
> > ICQ# 13556143
> > Say NO to HTML in mail and news
> > Proudly running Debian GNU/Linux. See http://www.debian.org/
> >
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
The default snmp configuration won't give mrtg the info you want. Look at the
output of snmpwalk on your snmp host.
# sec.name source community
#com2sec paranoid default public
com2sec readonly 10.0.0.1 public
#com2sec readwrite default private
You have something similar in your snmpd.conf. The above lets only 10.0.0.1
access the snmp. This was good enough for me, buy the manual page will tell you
how to let a whole subnet access the snmp data. Though, I'd suggest only
allowing specific hosts to access your snmp.
--
Mike Fedyk "They that can give up essential liberty
Information Systems to obtain a little temporary safety
Match Mail Productions Inc. deserve neither liberty nor safety."
[EMAIL PROTECTED] Ben Franklin
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]