Rrdtool PHP notes

From I Will Fear No Evil
Revision as of 20:45, 28 May 2023 by Chubbard (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Specific Notes for working on NMS project

DEFAULT_FORMAT = '%5.2lf%s'
DEFAULT_LEGEND = '${graphPoint/id}'
DEFAULT_MULTIGRAPH_LEGEND = '${here/name | here/id} ${graphPoint/id}'
  • Thresholds against values are using array_reverse($color) for the index value of the normal key of the DS
  • Initial version will shell exec the rrdtool directly. Seems easier for a V1 dealing with RRD when it is grouchy
  • ANY create / update / graph commands that fail MUST log the exact command used.