WTCS.ORG |
SNMP4NW
(Implementing SNMP on NetWare 3.1x/4.xx/5.xx)
Theory of Operation
Accessable Statistics
NetWare 3.1x/4.xx NetWare 5
NLMs and Companion MIBS James Drew's NetWare NLM Extension to MRTG
SNMP in a NetWare environment behaves just like anywhere else. A Management Station queries (SNMP GET) a network element, and may take action by modifying the element's performance (using an SNMP SET). That element may send an alert (SNMP TRAP) to the Management station if appropriately configured. See the diagram below for a graphical representation.
To being with, you must have TCP/IP and SNMP installed on the NetWare Server. On a NetWare 5 server, once SNMP is installed, you need do nothing more short of configuring the community (start INETCFG by typing "load inetcfg" at the NetWare SAerver console). You can choose separate read and write communities if you wish!
On a NetWare 3.x and 4.X server you need to load Ethernet_II and IP and bind them to the network adapter, then load SNMP, and configure it with the appropriate community as well.
It has been FOREVER since I messed with that, so I cannot put in the details. Stay tuned though, as soon as I can remember or as soon as I do it again, I WILL add the details!! Until then, you will have to RTFM (read the flippin' manual).
Several of the more "meaningful" statistics you will be able to monitor after installing SNMP on your NetWare server are listed below:
CPU
% Usage - Shows how busy the CPU is.
File
Systsem Reads and Writes - Shows how
busy the system is (a good overall indicator of server load).
Volume
Space Available - Shows how much disk
space is available on each NetWare (mounted) volume.
Allocated
Memory Pool - Description to be added
soon.
Allocated
Memory Pool - Description to be added
soon.
Cache
Buffers - A block of memory that
temporarily stores files that are frequently used.
Cache
Moveable Memory - Description to be
added soon.
Cache
Non-Moveable Memory - Description to
be added soon.
Code
and Data Memory Used - Description to
be added soon.
You can use a MIB browser to pick the statistic you want to track! (I suggest getif. Get it here!)
Now, you must load the appropriate
NLMs in the NetWare server. These NLMs allow an appropriately configured NMS (Network Management Station) to access the server
statistics. This loading can be done manually, or by running an NCF file at the
server console.
Get SNMP4NW.ZIP here.
Get PK250C32.EXE (shareware PKZIP/PKUNZIP, etc.) here.
Get Power Archiver 2000 (EXCELLENT and FREE) - looks/feels
just like WinZip! here.
Insert your SNMP4NW Install disk into the floppy of your NetWare server, and at the server
console, type "a:\nlms\nma2". Omit the "
". If you want, copy the NLMs into the SYS:SYSTEM directory (the one with all
the NLMs) and edit NMA2.NCF to load them from there (remove the path to a:\nlms).
You should see the NLMS loading now. Once they have loaded (successfully we hope), you are able to access NetWare server information remotely using SNMP. Cool huh?
At present I DO NOT have the NWTRAP.NLM included in this support. It will be added shortly (once I have tested it and can accurately document it)!
Also, with NetWare 5, once you install TCP/IP and SNMP, HOSTMIB.NLM loads automatically.
See the Testing your implementation page to see if you got it working!
Please note: At present there is NO SNMP TRAP MONITORING CAPABILITY DISCUSSED HERE. It will be added once I have tested it and can accurately document it! Read on for more information about the NLMs used in this Web.
With NetWare 5, once you
have installed TCP/IP and said that you want SNMP support, you do not need to load any
additional NLMS. You must, however know the OID number in
order to get the statistic. Therefore, download
SNMP4NW.ZIP, and copy the MIBs into your network management station (NMS). These
MIBS allow an appropriately configured NMS (Network Management
Station) to access the server statistics.
The following NLMs and companion MIBS are available as a part of NetWare 3, 4 and 5, and are what are used to access the NetWare server statistics discussed on this Web.
NLM | Description | Companion MIB |
SNMP.NLM | SNMP protocol stack and basic system information | MIB-II.MIB |
SERVINST.NLM | provides NetWare server monitoring and management (187 SET parameters) capabilities | NWSERVER.MIB |
HOSTMIB.NLM | provides additional server monitorign information | RFC1514.MIB and NWHOSTX.MIB |
The following NLMs are included with the Network Management Agents (NMA) and are part of a separate (you pay for it!) package that supports versions 3, 4 and 5 of NetWare:
NLM | Description | Companion MIB |
NWTRAP.NLM
|
monitors Novell NetWare Alerts (380) registered with the NetWare Operating System. These alerts can come from the OS, DS, NLMs, third party NLMs, etc. NWTRAP does not interoperate with NW2SNMP.NLM in any way. NWTRAP passes the alert information directly to SNMP.NLM (after filtering based on NWTRAP.CFG) | NWALARM.MIB
|
NTREND.NLM | provides access to NetWare server operating and performance trends | NWTREND.MIB |
NDSTRAP.NLM | provides access to 130 NDS alarms | NDSTRAP.MIB |
FINDNMS.NLM | Finds the ManageWise consoles in the network, and keeps track of the trap target list | FINDNMS.MIB |
Here's something that sounds cool! This guy (James Drew) has written an NLM (no easy feat!) that in conjunction with a PERL script, allows MRTG to gather a bunch of NetWare server information. I sent him an email asking if I could include it on this site, and with his kind permission. here it is! It has been tested under NetWare 3.12, 4.11 and recently, version 5.0 You have to have TCP/IP installed on your server in order to use it, but once properly configured, you can collect information such as:
Server CPU Utilization on a 1 minute average | Free disk space per specified volume |
Server CPU Utilization on a 5 minute average | Used disk space per specified volume |
Server CPU Utilization on a 15 minute average | Disk Cache Dirty Buffers |
Server Licensed Connection count | Disk Cache Buffer Count |
Server Max Licensed connection count used | Disk Cache Long Term Hit Percentage |
Server Peak connections allocated (NetWare 4) | Disk Cache Least Requested Unit (LRU) sitting time (in both seconds and minutes) |
This may be a good alternative to installing the NetWare Management Agents!
Download the NLM extension here or here (if you can't reach
James' Web Site
(which is here).
I have not had the chance to test this yet, but I will be building my own NetWare server
(at home), so I can play with a bit more freedom. Once it is built, I will test this
out. Meantime, you are on your own to install and run this program.
Subscribe to Network Computing Magazine? You may recognize his name as he is a
contributing editor, and has penned several articles for them. You can find out more
about James by checking out his web site!