Re: Disk utilization on SLES9 Linux

This is a discussion on Re: Disk utilization on SLES9 Linux within the SNMP Users forums, part of the Networking and Network Related category; Hi Dave, Am 07.12.2005 um 09:37 Uhr haben Sie geschrieben: > On Tue, 2005-12-06 at ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-07-2005
andre.heine@open-wwworks.de
 
Posts: n/a
Default Re: Disk utilization on SLES9 Linux

Hi Dave,


Am 07.12.2005 um 09:37 Uhr haben Sie geschrieben:
> On Tue, 2005-12-06 at 18:35 +0100 wrote:
> > We use "OpManager" as NNM, these tools ask
> > this OID for the disk utilization:
> >=20
> > .1.3.6.1.2.1.25.2.3.1.6

>=20
> That's part of the Host Resources MIB, which is supported by the
> Net-SNMP agent, but isn't part of the default build configuration.
>=20
> You may need to re-build the agent from source.
> Try
>=20
> ./configure --with-mib-modules=3Dhost; make; make install
> > I tried the OID with snmpget
> > linux~# snmpget -m ALL -c pl-combots -v 2c 10.17.1.124
> > .1.3.6.1.2.1.25.2.3.1.6
> > HOST-RESOURCES-MIB::hrStorageUsed =3D No Such Instance

>=20
> Hmmm....
> I'm actually wondering whether this agent *does* support
> this MIB.


The HOST MIB is installed by default on suse Linux.

/usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt

I hope, the HOST Mib is compiled in...

Is there a possibility to see, which options were compiled
in?

> Try with 'snmpgetnext' instead of 'snmpget'.
> What does that report?


This is the outout with snmpgetnext:

HOST-RESOURCES-MIB::hrDeviceIndex.768 =3D INTEGER: 768

> > My snmpd.conf:

>=20
> > disk / 85%
> > disk /data 85%
> > disk /gsx 85%

>=20
> Note that these actually refer to the Net-SNMP-specific:
> UCD-SNMP-MIB::dskTable


Is there a way to get the disk utilization with UCD-SNMP-MIB?

> Try
> snmpwalk -c pl-combots -v 2c 10.17.1.124 .1.3.6.1.4.1.2021.9


UCD-SNMP-MIB::dskIndex.1 =3D INTEGER: 1
UCD-SNMP-MIB::dskIndex.2 =3D INTEGER: 2
UCD-SNMP-MIB::dskIndex.3 =3D INTEGER: 3
UCD-SNMP-MIB::dskPath.1 =3D STRING: /
UCD-SNMP-MIB::dskPath.2 =3D STRING: /data
UCD-SNMP-MIB::dskPath.3 =3D STRING: /gsx
UCD-SNMP-MIB::dskDevice.1 =3D STRING: /dev/cciss/c0d0p3
UCD-SNMP-MIB::dskDevice.2 =3D STRING: nfs01:/export/data
UCD-SNMP-MIB::dskDevice.3 =3D STRING: /dev/mapper/datavg0-datavol0
UCD-SNMP-MIB::dskMinimum.1 =3D INTEGER: -1
UCD-SNMP-MIB::dskMinimum.2 =3D INTEGER: -1
UCD-SNMP-MIB::dskMinimum.3 =3D INTEGER: -1
UCD-SNMP-MIB::dskMinPercent.1 =3D INTEGER: 85
UCD-SNMP-MIB::dskMinPercent.2 =3D INTEGER: 85
UCD-SNMP-MIB::dskMinPercent.3 =3D INTEGER: 85
UCD-SNMP-MIB::dskTotal.1 =3D INTEGER: 10325780
UCD-SNMP-MIB::dskTotal.2 =3D INTEGER: 791396864
UCD-SNMP-MIB::dskTotal.3 =3D INTEGER: 104806400
UCD-SNMP-MIB::dskAvail.1 =3D INTEGER: 3703136
UCD-SNMP-MIB::dskAvail.2 =3D INTEGER: 784415232
UCD-SNMP-MIB::dskAvail.3 =3D INTEGER: 90183696
UCD-SNMP-MIB::dskUsed.1 =3D INTEGER: 6098124
UCD-SNMP-MIB::dskUsed.2 =3D INTEGER: 6981632
UCD-SNMP-MIB::dskUsed.3 =3D INTEGER: 14622708
UCD-SNMP-MIB::dskPercent.1 =3D INTEGER: 62
UCD-SNMP-MIB::dskPercent.2 =3D INTEGER: 1
UCD-SNMP-MIB::dskPercent.3 =3D INTEGER: 14
UCD-SNMP-MIB::dskPercentNode.1 =3D INTEGER: 8
UCD-SNMP-MIB::dskPercentNode.2 =3D INTEGER: 0
UCD-SNMP-MIB::dskPercentNode.3 =3D INTEGER: 0
UCD-SNMP-MIB::dskErrorFlag.1 =3D INTEGER: 1
UCD-SNMP-MIB::dskErrorFlag.2 =3D INTEGER: 0
UCD-SNMP-MIB::dskErrorFlag.3 =3D INTEGER: 0
UCD-SNMP-MIB::dskErrorMsg.1 =3D STRING: /: less than 85% free (=3D 62%)
UCD-SNMP-MIB::dskErrorMsg.2 =3D STRING:
UCD-SNMP-MIB::dskErrorMsg.3 =3D STRING:


Thanks for help!!!

Greetings=20

Andre

Mit freundlichen Gr=FCssen

Andre Heine



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:38 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0