Nms-adhocFiles

From I Will Fear No Evil
Revision as of 13:40, 14 July 2023 by Chubbard (talk | contribs) (Created page with "==== Files created by the NMS or users ==== Just a basic description of the files that are generated by the NMS or users for the NMS to consume. == RRD == * Reside in the NMS API root path rrd/<hostname>/<pollerGenerated>/filterDir/rrdFilename.rrd * Do NOT use dash '-', as rrdtool gets heartburn when it sees it == File == * resides in NMS API root path file/<hostname>/<checkName.txt> * Only supporting txt right now. Likely will not need support for other types * API...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Files created by the NMS or users

Just a basic description of the files that are generated by the NMS or users for the NMS to consume.


RRD

  • Reside in the NMS API root path rrd/<hostname>/<pollerGenerated>/filterDir/rrdFilename.rrd
  • Do NOT use dash '-', as rrdtool gets heartburn when it sees it

File

  • resides in NMS API root path file/<hostname>/<checkName.txt>
  • Only supporting txt right now. Likely will not need support for other types
  • API to support this needs to be written for UI to display

DebugFile

  • resides in NMS API root path file/<hostname>/debugger/<checkName.txt>
  • Expect raw JSON
  • Overwrites on every iteration

templates

  • resides in NMS API root path templates/<function>/???
  • Break out function as directories to make clear what is going on where
  • Keep up on the debuggers here

logs

  • resides in NMS API root path logs/<logName.log>
  • logrotate set for this directory

config

  • resides in NMS API root path app/config.php
  • Should remain fairly static after install
  • contains salt, so backups should be made for recovery