Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add storage to snmp

Status
Not open for further replies.

fmhweb

Programmer
Jul 25, 2011
2
DE
Hi,

we are monitoring our storage capacity using SNMP. The Problem is that I cannot see the directory I want to monitor.

What makes the decisions to show directories over SNMP and how do I set it up?

E.g.:
When I do a snmpwalk I can see the directory /usr/sap/***, but not /usr/sap, which I want to monitor. (I added the ***)

HOST-RESOURCES-MIB::hrStorageDescr.11 = STRING: /usr/sap/***
HOST-RESOURCES-MIB::hrStorageDescr.13 = STRING: /usr/sap/***
HOST-RESOURCES-MIB::hrFSMountPoint.8 = STRING: "/usr/sap/***"
HOST-RESOURCES-MIB::hrFSMountPoint.10 = STRING: "/usr/sap/***"

How do I add it, if possible?
 
It depends on the Host Resources implementation.

HOST rfc
These entries are associated with logical storage
areas, as might be seen by an application, rather than
physical storage entities which are typically seen by
an operating system. Storage such as tapes and
floppies without file systems on them are typically
not allocated in chunks by the operating system to
requesting applications, and therefore shouldn't
appear in this table. Examples of valid storage for
this table include disk partitions, file systems, ram
(for some architectures this is further segmented into
regular memory, extended memory, and so on), backing
store for virtual memory (`swap space').

So it looks like you have /usr/sap/* as different mount points which it sees as different "objects" to monitor.

Not knowing netsnmp(I think that is what you are using), you would have to dig through their code to see how they implement this.
Not sure this helps...

Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top