Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 09-09-2011, 09:35 PM   #1
Registered: Sep 2007
Posts: 261

Rep: Reputation: 16
Question How to associate SNMP OID with specific parameter under SNMP agent?

I installed and configured snmpd under OpenSUSE( and it responds to SNMP requests just fine. If I execute snmpwalk from machine like this:

snmpwalk -c public -v 2c queries lot of information. However, for example, I installed hddtemp to my SNMP agent( and now I'm able to see
HDD temperature in, but how to associate SNMP OID with
it? My end goal would be to execute:

snmpwalk -c public -v 2c particular_OID
..and receive HDD temperature. And in more general, how can one
associate SNMP OID with specific parameter(HDD temperature, kernel
version, amount of free memory, installed programs etc) under SNMP
agent? Or is this possible after all?
Old 09-16-2011, 09:04 AM   #2
LQ Newbie
Registered: Nov 2010
Location: Ottawa, Ontario, Canada
Distribution: Ubunto 12.04
Posts: 3

Rep: Reputation: 0
I haven't used hddtemp before but I noticed the Debian package list of files for it doesn't include an SNMP MIB. Did you download a MIB for it? That would be needed for the OID of course. Perhaps the hddtemp software updates or can be made to update a hard-disk drive temperature associated with a MIB for this hardware resource? In the end, the snmp view you use has to be able to pick up the MIB which has the data. I see you are using the public view in your command and on most safely run systems, this should not display very much data. You should normally be using a private view which includes the data you need access to. Giving public too much can open the door for intrusions.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to associate SNMP OID with HDD temperature m4rtin Linux - Software 1 06-22-2011 10:55 PM
snmp RAID OID hostatonce Linux - Software 0 10-28-2007 10:53 AM
How to override one OID in SNMP? clacour Linux - General 1 07-28-2007 02:22 PM
SNMP OID for slackware linux coolrock Slackware 2 09-27-2006 03:23 AM
snmp set my oid alaios Linux - Networking 2 06-02-2005 10:57 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:07 AM.

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