====== What are templates? ====== PNP uses templates to influence the appearance of RRD graphs. The selected check_command determines which template will be used to control the graph. Following will be described where templates are stored and how the decision for the "right" template is made. ===== What template will be used when? ===== Templates are stored at two places in the file system. * share/pnp/templates.dist - for templates included in the PNP package * share/pnp/templates - for custom made template which are not changed during updates If the graph for the service "http" on host "localhost" should be shown, PNP will look for the XML file ''perfdata/localhost/http.xml'' and read its contents. The XML files are created automatically and contain information about the particular host and service. The header contains information about the plugin and the performance data. The XML tag ''