LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-14-2015, 05:33 AM   #1
luispedro
LQ Newbie
 
Registered: Nov 2015
Posts: 1

Rep: Reputation: Disabled
List All partitions with SNMP


Hi all,

I'm trying to list all partitions of my file system with SNMP.

After reading the documentation, I not found the oid for that.

The oid is within 1.3.6.1.4.1.2021

http://net-snmp.sourceforge.net/docs....html#dskTable
 
Old 11-14-2015, 10:38 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi & Welcome to Linux Questions.

I'm not familiar with SNMP. Maybe other members will be.

If all you need is to 'view all of your partitions' on your Linux box all you need is to run these 2 commands in the terminal as 'root'-

Code:
fdisk -l
<OR>
Code:
parted -l
Both are the small letter "L"
 
Old 11-15-2015, 06:42 AM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
How are you trying this exactly?
snmpwalk? snmpget?

What happens if you attempt 1.3.6.1.4.1 ?

snmp 2 or 3 protocol?
 
  


Reply



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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SNMP Configuration problem - able to snmp outbound, unable to snmp inbound. sumncguy Linux - Desktop 2 04-28-2015 09:26 AM
List of all available partitions? proNick Linux - Newbie 3 04-27-2012 06:54 AM
OIDs for harddisk partitions keeps on changing in net-snmp. eyemole80 Linux - Software 2 03-10-2010 06:33 AM
List primary partitions wmasry Red Hat 3 12-13-2009 07:56 AM
Partitions List mah454 Linux - Software 9 10-30-2009 04:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration