You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Still a work in progress...

Thresholds

Thresholds used to drive event reporting can be created based on any measurable attribute.  As an example we'll cover something in the systemHealth section.

Files

Files that require modification:

  • /usr/local/nmis8/models/Model-Some-swich.nmis
  • /usr/local/nmis8/models/Common-database.nmis
  • /usr/local/nmis8/models/Common-header.nmis
  • /usr/local/nmis8/models/Common-stats.nmis
  • /usr/local/mmis8/models/Common-threshold.nmis

Common Attributes

There are several common attributes that must match between these files in order for thresholding to work.  For the sake of this discussion we'll use the following labels.

  • monkey
  • banana
  • elephant
  • zebra
  • giraffe

monkey - This is the threshold variable set in the Model-Some-switch.nmis file and must be referenced in the name section of the Common-threshold nmis file.

banana - This the the graphtype variable set in the Model-Some-switch.nmis file.   This sets the name of the graph that NMIS will invoke for a particular RRD file.  In order for the graph heading to be correct this variable with its associated description needs to be added to the Common-heading.nmis file.

 

  • No labels