Why is it necessary to create custom templates?
I belive that the reason is that we are sometimes obliged to look into the graphs with specific hardware resource or performance data, when we analyze or investigate network devices, servers or middle ware performance, for example, how much cpu or memory resources are utilized, how much disk space is left, how much traffic is transferred, and so on.
If you need further information about custom templates for pnp4nagios, please see the official reference.
I'll give you an example of custom template based on default templates($pnp4nagios_prefix/share/templates.dist/interger.php) for traffic and graphs with nagios plugins, check_tcptraffic.
- check_traffic.php (custom template for pnp4nagios)
check_traffic.php generates the graphs below.
Other custom templates are open to the public at my github.
These are the list of custom templates and sample graphs.