RE: Error in UCD-SNMP

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
    [ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]

On Fri, 2005-11-04 at 07:22 +0100, Pius Oshinuga wrote:
> Hi Dave,
> Thanks for your mail. I use Red Hat 7.3 and ucd-snmp-4.2.1

Please note that 4.2.1 is *VERY* old (well over 4 years now),
and a lot has changed in the meantime - including a number
of security patches.  Even RedHat 7.3 itself shipped with
version 4.2.4.

We *STRONGLY* suggest that you upgrade to a more recent version.
Either the latest 4.2.x release (4.2.6 or 4.2.7.pre1), or one
of the 5.x releases.



>                                                             I edited the
> /etc/snmp/snmpd.conf and I discovered that this happens only when I add the
> line for disk monitoring because when I checked the status of snmpd it gave
> a snmpd dead but subsys locked error I was able to go around this problem by
> replacing the snmpd.conf file on the 7.3 version with the snmpd.conf file on
> a Fedora core 3 and every other command like memory, cpu, swap, system,
> interface etc worked fine except that dskTotal, dskAvail, dskPercent and
> dskUsed command did not work.
> 
> I searched the internet for a solution but I learnt that this is actually
> caused by a bug in the way 7.3 handles disk settings. On sourceforge I
> learnt that there was a patch but it didn't give details as to how to apply
> the patch. I have attached a copy of the patch. I hope I get a solution
> soon.

Patches are applied using the "patch" command to the source tree,
and re-building.  But the patch that you mention was included in
4.2.4 and above.  If you upgrade to a more recent version, you'll
get the corrected behaviour automatically.

Try getting the 7.3 ucd-snmp RPMs from the Fedora Legacy website.

Dave


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.