We have created a custom file for changing the colors in pnp special templates.
Put the attached file line3-customcolors.inc.php in :
/opt/monitor/op5/pnp/templates.special/include/
And change the reference in:
/opt/monitor/op5/pnp/templates.special/<specialtemplatename.php> ("include/$type.inc.php");
to
line3-customcolors.inc.php
And don't forget to remove the row containing #NACOMA for the changes to take effect.
Changes from the original file: $colors[$i % count($colors)] (and updating for the variable $i).
If you change the settings for the template these changes will be overwritten
-
Tags:
- RRD
- Graphing
- graphs
- pnp graphs
- pnp templates
- templates.special
- PNP4Nagios
Comments
0 comments
Please sign in to leave a comment.