Novell Home

TrendNSS

Novell Cool Solutions: Cool Tool

Digg This - Slashdot This

In Brief

NSS Trend Statistics for NetWare 6

Vitals

Product Categories:
  • NetWare
  • Updated:29 Apr 2003
    File Size:21KB
    License:Open Source
    Download:http://forge.novell.com/modules/xfmod/project/?trendnss
    Publisher:James E. Drews

    Disclaimer

    Please read the note from our friends in legal before using this file.


    Details

    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:
      LOAD SYS:SYSTEM\TRENDNSS\TRENDNSS.NLM
    • (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:
      LOAD VOL1:MYTRENDS\TRENDNSS.NLM /basedir=VOL1:MYTRENDS

    Using TRENDNSS

    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:

    OptionDescription
    /nologinThis option will make the url HTTP://server:nrmport/trendnss open to the public and no login required.
    /anyloginThis 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.99Initial creation of TRENDNSS.
    Version 1.00Added 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.00aUpdated the trendnss.xml file to include 7 new statistics added in NetWare 6 SP3
    Source code is now available on http://forge.novell.com/modules/xfmod/project/?trendnss

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

    © 2014 Novell