You are not logged in.

#1 2006-12-15 03:21:02

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

MRTG Installation Issue -- Probably a Noob Mistake

I'm trying to get MRTG to work, and I have installed the package and am trying to create a config using:

cfgmaker --global 'WorkDir: /home/httpd/mrtg' --global 'Options[_]: bits,growright' --output /etc/mrtg.cfg localhost

It returns an error that there was no snmp response:

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

Really don't know how to procede from here. Any ideas?

Offline

#2 2006-12-15 17:58:28

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: MRTG Installation Issue -- Probably a Noob Mistake

Really not seeing the problem, I have net-snmp installed and the snmp daemon is running. I see no configuration options for it, and iptables is not blocking it.

Offline

#3 2006-12-15 18:54:48

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: MRTG Installation Issue -- Probably a Noob Mistake

is public really your community string?


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#4 2006-12-15 18:56:48

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: MRTG Installation Issue -- Probably a Noob Mistake

Also, what do the two lines in those files that are erroring out reference?


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#5 2006-12-15 22:42:10

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: MRTG Installation Issue -- Probably a Noob Mistake

First off...

Community String? What's that?
Sorry if that's a stupid question but I have never seen that before.

Anyway, I'll go look into those files...

This is with the mrtg package in the normal repo by the way.

Offline

#6 2006-12-15 23:24:31

arew264
Member
From: Friendswood, Texas, US
Registered: 2006-07-01
Posts: 394
Website

Re: MRTG Installation Issue -- Probably a Noob Mistake

Looked up the documentation for snmpd, configured it, and all is well. Wish the net-snmp package maintainer would put a config file in the package...

Offline

Board footer

Powered by FluxBB