LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-23-2017, 09:26 AM   #1
Shangle
LQ Newbie
 
Registered: Feb 2017
Posts: 2

Rep: Reputation: Disabled
SNMP Polling help (Raid, Redundant PS, Fans)


OK, so I need help figuring out how to poll my box for the OID's so I can make get requests on my server to determine early warnings of possible health issues.

I currently have a single server host and one client in this equation. Using only SNMP polling there has to be a way to determine the OID of these features right? RAID / Power Supply / Fan

I dont have any custom MIBs or special traps available to me, it should be standard non platform/distribution specific response hidden in my snmpwalk right?

are there tricks to identifying OID's on the local host to then test and query from the outside ?

This is a networking question right?
 
Old 02-23-2017, 03:46 PM   #2
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 774

Rep: Reputation: 242Reputation: 242Reputation: 242
Dump it all and look through it?

Code:
snmpwalk -c public -v2c localhost
If there's alot, grep for the "hr" stuff (host resources).
 
Old 02-23-2017, 04:06 PM   #3
Shangle
LQ Newbie
 
Registered: Feb 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
yes

So i have done a full walk, and i get a ton of unnamed OIDs, and no MIBs available.
Any trick to identifying the OID to hw status ?


most of the items i'd be looking for I assume (prolly shouldnt) that they would have a message like this:

OID = INTEGER: 2 (or STRING when referencing file systems, processes, and names i think)
I've looked thru the whole walk and i find some stuff for /dev/sda and another portion where it lists my partitions, but nothing that in my view references hardware status.

I'm using the command:

snmpwalk -v2c -c public -Oa host.ip
(the -Oa is supposed to force ascii names if the MIB is on the host according to the man page)

I'm still super new to using SNMP, and my linux is limited, so any help is appreciated.
 
Old 02-24-2017, 06:51 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Linux SNMP OID’s for CPU,Memory and Disk Statistics may be of help.
 
  


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
Software raid and snmp techux Linux - General 1 04-24-2013 03:29 PM
net-snmp with s/w raid kutty_prasad Linux - General 2 09-12-2009 07:03 AM
LXer: Redundant Array Of Inexpensive Disks (RAID) - Technical Paper LXer Syndicated Linux News 0 05-28-2008 12:00 PM
snmp RAID OID hostatonce Linux - Software 0 10-28-2007 10:53 AM

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

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

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