Samuel,
The MIB variables that you refer to
hrStorageUsed .1.3.6.1.2.1.25.2.3.1.6.
hrStorageSize .1.3.6.1.2.1.25.2.3.1.5.
are in an IETF standard MIB, the Host Resources MIB.
The Description in this MIB says:
"This MIB is for use in managing host systems.....
This MIB instruments attributes common to all internet hosts including, for
example, both personal computers and systems that run variants of Unix."
The Host Resources MIB was defined in RFC 1514 and has been updated in RFC
2790.
You can find it in the SNMP MIBs directory on your NetView system
Then you need agents that implement the Host Resources MIB on your servers.
SNMP Research is a vendor that provides an agent that implements the Host
Resources MIB and a variety of other MIBs that might be relvant, such as
the Systems Application MIB. Their agent runs on Windows, Linux, FreeBSD
and other operating systems. See www.snmp.com for more information.
(and in the interests of disclosure, I should say that they are a partner
company.)
At 06:33 PM 25-05-05 +0200, you wrote:
Hi everyone,
I'm starting the deployment (planning the deployment to be more
accurate) of Tivoli Netview in an mixed environment of Linux, OpenBSD
and Windows servers, Cisco routers and switches, and RadioFrequency
terminals and antennas.
Due my lack of expertise with "true" NMS's, I'm trying to reach with
Netview the same level of functionality that Nagios has given us by
now, and in subsequent iterations I'll explore all the power of
Netview.
So, I have installed Tivoli Netview on an Suse Linux Enterprise Server
9, readed (most of) the Unix Administrator's guide and done some basic
setup.
Just now I'm trying to get notifications of high levels of load and
disk usage. Theorically, doesn't seem too difficult. I've added this
expression on mibExpr.conf
HDiskUtil \
"(hrStorageUsed / hrStorageSize) * 100" \
.1.3.6.1.2.1.25.2.3.1.6. \
.1.3.6.1.2.1.25.2.3.1.5. / \
100 *
and using the Motif GUI, this to snmpCol.conf
MIB HDiskUtil HDiskUtil units EXPRESSION R
O Servidores_windows 60 90.000000 90.000000 A s 58720263 LIST 0
This doesn't work on Windows boxes and don't know why. But, it's
worse. Linux and OpenBSD boxes doesn't have hrStorageUsed at all on
their mib-2 tree. To get diskusage relevant OID's I have to look under
enterprises.ucdavis.
So, I'm a bit disoriented, Which is the "standard" way of deal with
net-snmp and Window implementations?. I'm specially interested on get
notifications of load, disk usage, and vital processes liveness.
Sorry if my question is too simplistic. I'll read any documentation
you point me at. I'm avid of detailed docs.
Thanks in advance,
Samuel
Joe Fernandez
Kardinia Software
jfernand@kardinia.com
www.kardinia.com
|