OID Errors :(

Started by Havokmon, March 09, 2004, 02:07:23 PM

Previous topic - Next topic

Havokmon

Heh..  just writing it out, I realized I had to make some changes to rrdutil.conf.

But I still can't get disk information:

ERROR: couldn't find oid for /dev/ad0s1a!
ERROR: couldn't find oid for /dev/ad0s1e!
ERROR: couldn't find oid for /dev/ad0s1g!

Doesn't work with the mount points either:

mx1# rrdutil.pl -a update
ERROR: couldn't find oid for /!
ERROR: couldn't find oid for /usr!
ERROR: couldn't find oid for /var!

I'm also missing some info from www/spam/smtp...  
http://66.58.87.14/cgi-bin/rrdutil.cgi" target="_blank">http://66.58.87.14/cgi-bin/rrdutil.cgi

snmpd is running, but I'm not sure that that's the problem.
I have net-snmp-5.0.9 installed, as well as
p5-Net-SNMP-4.1.2.

What's the first step to solving this?

matt

Is your disk really at ad0? Type "df" and see what the devices are for your disk partitions. Make rrdutil.conf reflect that.

Matt

Havokmon

Yep, it's really ad0.

mx1# df
Filesystem                      1K-blocks    Used    Avail Capacity  Mounted on
/dev/ad0s1a                       5161198   73136  4675168     2%    /
/dev/ad0s1f                       5161198    3298  4745006     0%    /home
/dev/ad0s1e                      15483630 1135450 13109490     8%    /usr
/dev/ad0s1g                      10637712  444750  9341946     5%    /var
procfs                                  4       4        0   100%    /proc

This is just my incoming mx box - but it's setup following the toaster..  I just NFS mounted the home dirs, copied the qmail files, and replicated MySQL.

mx1# rrdutil.pl -a update
ERROR: couldn't find oid for /dev/ad0s1a!
ERROR: couldn't find oid for /dev/ad0s1e!
ERROR: couldn't find oid for /dev/ad0s1g!

Maybe it's related to why rrdutil doesn't show my spam stats and that also...  I did have SNMP problems with the ports, but it all installed fine after I grabbed the latest Mail-Toaster-3.35.

Should I upgrade Matt::Bundle too? (1.23)

Rick

matt

There are issues with the net-snmp package recently. Try doing a portupgrade -f  on net-snmp and then see what happens. Or did you try that already?

Matt

Havokmon

I was having problems with portupgrade on net-snmp yesterday,  but I woke up at 2am, and remembered that the snmp stuff was moved to net-mgmt.

Of course, I also had a dream I bought 7 arcades and a couple pins from a bar owner for $400

Neither seems to have come true Wink

I portupgraded net-snmp, and then rrdtool for good measure.
Then I reinstalled rrdutil from the toaster-setup.pl.  I modified fhe rrdutil.conf to have both mounts, and devices in it, just to try it.

mx1# rrdutil.pl -a update
ERROR: couldn't find oid for /!
ERROR: couldn't find oid for /usr!
ERROR: couldn't find oid for /dev/ad0s1g!

Still nothing Sad

Rick

darsys

Did you ever find a resolution for this.  I have the problem with /var/usr also.

Havokmon

Did you ever find a resolution for this. I have the problem with /var/usr also.

Hmm.. Umm.  Well, it works now Razz

That is, I don't get an OID error for
/
/usr
But I do for
/dev/ad0s1g

_shrug_

I know I screwed around a lot with snmp.  There are two versions available through ports.  v4, and v5.  

My snmpd is version 5.1.1

Update your ports, grab the latest, make sure snmpd is running (forgot that once), and cross your fingers.

Rick