On Thu, 2002-06-06 at 08:53, Stamper, Steve wrote:
> I've got ucd-snmp-4.2.1-7 installed and running on my RH7.2. All the
> directives are working except for disk. Any time I try and start snmpd
> with the disk directive enabled, my service snmpd status reflects: snmpd
> dead but subsys locked.
> 
> Entries I have tried include:
> disk /
> disk / 10000
> disk /dev/sda
> disk /dev/sda1 
> I'm open for suggestions or a link to go read.... 
> TIA - Steve 

This issue was discussed on the list a couple of months ago. Basically,
there is a problem with the way snmpd parses /etc/mtab (using
getmntent). This bug has been filed in both the net-snmp project's site
and RedHat's.

Net-snmp has a patch which fixes the problem, but it seems RedHat has
not applied it to their sources. You can find the patch in the net-snmp
site.

A few moments ago, I tested under RH 7.3 (which I recently upgraded to),
and found that it no longer crashes. Now the snmpd show disk usage under
both the host.hrStorage and enterprises.ucdavis.dskTable branches of the
MIB.

Now for some tests I have performed:

RedHat       SNMPD
version     version     host.hrStorage     enterprises.ucdavis.dskTable
  6.2        4.2.3          YES                         YES
  7.2        4.2.3           NO                          NO
  7.3        4.2.4          YES                         YES

Tests not yet performed:

- Upgrade SNMP packages in 7.2 to 7.3 versions
- If that doesn't help, rebuild SNMP source packages from 7.3 in 7.2
system.

Once I get to try out these tests, I will publish the results to the
list, unless some kind soul does it first.

Cheers,
-- 
Javier Gostling
Ingeniero de Sistemas
Virtualia S.A.
[EMAIL PROTECTED]
Fono: +56 (2) 202-6264 x 130
Fax: +56 (2) 342-8763

Av. Kennedy 5757, of 1502
Las Condes
Santiago
Chile



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to