Hi Dave, Thanks for your response. We configured snmpd.conf as you said like
includeAllDisks 30% in the disk section. But still the query fails. The command we executed is snmpget -v 2c -c public localhost UCD-SNMP-MIB::diskErrorFlag The error we get is UCD-SNMP-MIB::diskErrorFlag.0: Unknown Object Identifier Regards, Ravi R.S > On Thu, 2006-01-05 at 17:11 +0530, [EMAIL PROTECTED] wrote: >> I wanted to monitor the disk usage using net-snmp. >> So I downloaded net-snmp and compiled as follows >> >> ./configure --with-mib-module=ucd-snmp/diskio > > >> The query is as follows. >> snmpget -v 1 -c public localhost UCD-SNMP-MIB::diskErrorFlag > > That particular object is part of the "ucd-snmp/disk" module > (which is included by default). The diskio module is not > relevant here. > > > >> and the output is >> >> Error in Packet >> Reason:(nosuchName). There is no such variable name in this mib >> Failed Object:UCD-SNMP-MIB::diskErrorFlag > > Have you configured the agent to monitor your disks? > (Using either "disk" or "includeAllDisks"). This group > will be empty by default, and you have to explicitly > activate it. See the FAQ entry: > > Why can't I see values in the UCDavis 'extensible' or 'disk' trees? > > Dave > "SASKEN RATED Among THE Top 3 BEST COMPANIES TO WORK FOR IN INDIA - SURVEY 2005 conducted by the BUSINESS TODAY - Mercer - TNS India" SASKEN BUSINESS DISCLAIMER This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email ------------------------------------------------------- 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-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders