Novell Cool Solutions



April 29, 2003 1:07 pm





TRENDNSS.NLM is a NetWare 6 add-on that will allow administrators to track and view statistics for the NSS file system. Prior to NetWare 6, the NSS file system did not provide any way to get at the statistical information other than the NSS commands at the file server console. Now that the NSS stats are available, this NLM will provide a way for administrators to track trends in NSS.

With NetWare 6 SP1, Novell added some trending of some statistics (CPU Utilization, Disk IO, LAN IO, etc). TRENDNSS.NLM takes advantage of the Java applet used to display these statistics.

TRENDNSS is a free program. You may use this software on as many servers as you wish.

There are no fancy installers for TRENDNSS.NLM. The installation procedure is fairly simple:

On the file server you wish to monitor:

  • Create the directory SYS:SYSTEM\TRENDNSS
  • Copy both the TRENDNSS.NLM and TRENDNSS.XML files into this directory
  • At the server console, issue the command:
  • (OPtional) Add the above command to the server1141s AUTOEXEC.NCF to have it load on server boot.

The long term trend data files will be stored in the SYS:SYSTEM\TRENDNSS. The files only grow a few bytes per day. The trend data files are stored in the same format as the ones use by Novell1141s health statistic files.

For those administrators that do not want to have TRENDNSS keep the data files on the SYS volume, a command line switch (/basedir=) has been provided to change the location of the data directory. For example, if you want to have TRENDNSS keep its data files on the server1141s VOL1:MYTRENDS directory, do the following on the server:

  • Create the directory VOL1:MYTRENDS
  • Copy both the TRENDNSS.NLM and TRENDNSS.XML files into this directory
  • At the server console, issue the command:


After TRENDNSS is loaded on the server, it will start gathering statistics about NSS. All statistics TRENDNSS knows about are gathered. Data for the last minute and last hour are kept in memory only. Once a hour the hourly data is averaged and the value written to the trend file. By Default, only 8 of the trends are tracked beyond an hour. An administrator can go and select which trends are tracked for the long term.

To view data gathered by TRENDNSS, open a web browser to the NetWare Remote Manager on the server. In the left hand column, TRENDNSS will have added an entry. Select this entry (NSS Stats). The page that is displayed will have two “key statistics” graphs that will show live file activity and buffer cache hit percents.

At the top of the page, are two links. The first link will take you to the configuration page where administrators can select which graphs are tracked over time. The second link will allow users to select and view trend data that is available.

By Default, TRENDNSS requires a console operator login to view the information in NRM. The security level required can be reduced by one of two command line options:

Option Description
/nologin This option will make the url HTTP://server:nrmport/trendnss open to the public and no login required.
/anylogin This option will make the trend graphs available to any user login to NRM.

Note: The configuration link requires a supervisor login at all times to work.

Additional Configuration

There is not much configuration that is required for TRENDNSS. To access the configuration information, Select the Configure Tracked NSS Trends link. For each NSS Trend statistic TRENDNSS knows about, you have two options. One option is to have TRENDNSS record the trend data to a file over time. When selected, a file will be created and the hourly average and maximum values will be written to it.

The second option is to hide a statistic. If a statistic is hidden, it will not show up on the Select Additional Graphs page. A trend can be both hidden and tracked over time. Note: If you hide a trend statistic, a trend data file will be placed in the data directory. If history recording for the statistic is not selected, the file will not grow.

Known issues

At this time there is only one known issue. If the trend data files are stored on a volume that uses the traditional file system (ie, NOT NSS), once an hour the server console will display a message for each data file tracked:

    Warning. File xxxx.tdf opened or created using task zero. Choose another task.

This is a cosmetic issue with LibC and should be fixed with the next service pack. If you don1141t want to see these messages, store the TRENDNSS data on a NSS volume.

Version History

Version 0.99 Initial creation of TRENDNSS.
Version 1.00 Added a check to make sure the NLM is running on NetWare 6 SP1 or later. If not, it will just exit after loading.
Version 1.00a Updated the trendnss.xml file to include 7 new statistics added in NetWare 6 SP3

Source code is now available on
0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Categories: Uncategorized

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.