Rrdtool PHP notes: Difference between revisions

From I Will Fear No Evil
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 7: Line 7:
* Thresholds against values are using array_reverse($color) for the index value of the normal key of the DS
* 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
* 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.





Latest revision as of 20:45, 28 May 2023

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.