The Network People Support Forums

Mail::Toaster => General Questions => Topic started by: martymessiah on February 28, 2005, 03:03:59 PM

Title: ERROR: couldn't find oid for /var
Post by: martymessiah on February 28, 2005, 03:03:59 PM
Im getting this error from the cronjob for rrutil

Cron <root@domain> /usr/local/www/cgi-bin/rrdutil.cgi -a update

ERROR: couldn't find oid for /var!
ERROR: couldn't find oid for /!
ERROR: couldn't find oid for /usr!

any ideas? I can't find anything in the rrdutil.conf that refs this.

Title: Re: ERROR: couldn't find oid for /var
Post by: martymessiah on February 28, 2005, 03:10:58 PM
I bet my snmp is setup improperly, but Im not sure what rrdutil wants in terms of perms to snmp and im apprensive to give it to much as snmp holes are consisent.
Title: Re: ERROR: couldn't find oid for /var
Post by: LogicX on June 03, 2005, 07:06:58 AM
you're going to want entries such as the following in your snmpd.conf

mail toaster includes a sample snmpd.conf -- try a locate snmpd.conf

Here's a sample:

# disk: Check for disk space usage of a partition.
#   The agent can check the amount of available disk space, and make
#   sure it is above a set limit.
#
#    disk PATH [MIN=100000]
#
#    PATH:  mount path to the disk in question.
#    MIN:   Disks with space below this value will have the Mib's errorFlag set.
#           Can be a raw byte value or a percentage followed by the %
#           symbol.  Default value = 100000.
#
#   The results are reported in the dskTable section of the UCD-SNMP-MIB tree

disk  /    20%
disk  /tmp 10%