ERROR: couldn't find oid for /var

Started by martymessiah, February 28, 2005, 03:03:59 PM

Previous topic - Next topic

martymessiah

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.


martymessiah

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.

LogicX

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%
--- May this post be indexed by spiders, and archived for all to see as my internet epitaph.
http://fpux.com" target="_blank">http://fpux.com