Re: Funkiness in snmpd/mrtg in unstable?

2003-12-24 Thread Guillaume T.
Tue 23 Dec 2003 à 11:08:13PM -0500, Mark T. Valites a écrit :
 I've done mrtg before, and even have it running on a couple x86 machines
 at the moment. The snmpd on my ultra appears to be woking correctly - I
 can walk and get whatever I'd like from both localhost and remote
 machines. The mrtg graphs however, always always show me 0s.

I have had a very frustrating experience with MRTG recently, but on
x86 platform. It took me around 2 days to figure out that all my
zeros came from... the MaxBytes parameter. Make sure it is indeed
greater than whatever values you poll!!!

Steps to troubleshoot this kind of issues would be
- try with snmpget to poll the same OIDs
- if you get zeros, your snmpd configuration might be the issue
(or you might just not have any traffic going through or you
might not be polling the correct ifIndex)
- if you do not get zeros, but mrtg reports zeros, look at your
  MaxBytes
- In any case, check the MRTG log files

Rgds



Funkiness in snmpd/mrtg in unstable?

2003-12-23 Thread Mark T. Valites
A long time ago I gave up on getting mrtg to graph my bandwidth usage on
my ultra 5 in unstable. This afternoon I finally got back to playing with
it, but now I'm nearly ready to give up yet again.

I've done mrtg before, and even have it running on a couple x86 machines
at the moment. The snmpd on my ultra appears to be woking correctly - I
can walk and get whatever I'd like from both localhost and remote
machines. The mrtg graphs however, always always show me 0s.

I have a buddy with an x86 system and a working mrtg setup who was kind
enough to lend me his snmpd.conf and mrtg.cfg, both from matching versions
of snmpd and mrtg in unstable on x86.

Yet even between the snmpd.conf and mrtg.cfg I've come up with and with
his two (they were almost identical...), I still get lots of zeros in my
mrtg graphs. I have no iptables or tcp_wrappers to worry about.

While I'm having difficulty believing it, since I've got a known working
set of snmpd and mrtg conf files, I'm starting to wonder if maybe it's
somehow a sparc related issue - has anyone here had any luck with mrtg on
sparc?

Thanks in advance,
-Mark

-- 
Mark T. Valites
Unix Systems Analyst
CIT - SUNY Geneseo
--)) --))