Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.  Please reference the code block below for where they should reside. 

  • monkeyalpha
  • bananabravo
  • elephantcharlie
  • zebradelta
  • giraffeecho

monkey alpha - 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 bravo - 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.

elephant charlie - This is the name of the RRD file that the data retrieved via SNMP will be written to.  This variable is set in the Model-Some-switch.nmis file.  It must also be referenced in the Common-database.nmis file in order for the RRD to be created and updated in the correct directory.  This variable is referenced in the Common-stats.nmis file in order for NMIS to know where to find statistical data.

zebra delta - This is specific to an SNMP OID and is set in the Model-Some-switch.nmis file.  This will be the 'DS' (Data Source) title within the RRD file that will contain the actual data returned for a specific OID.  This variable is referenced in the Common-stats.nmis file in order to provide the DS for the specific data that needs to be presented.

giraffe echo - This variable is set in the Common-stats.nmis file.  It is used to make computations on the zebra variable in the RRD language.  This variable is then passed to the Common-threshold.nmis file in order to fire and event.

 

Image RemovedImage Added