Templates and custom graphs
Posted: Tue May 28, 2013 6:20 pm
Hello,
I am having some trouble with uploading and using custom templates.
I have created a custom command called "check_cpu_stat_ux". I have created a custom graph template and uploaded it via XI "graph templates" page.
The XML graph appears to be using the new graph template:
[nagios@monitor01 BannerDBS1]# head Perf_-_CPU_ux.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<NAGIOS>
<DATASOURCE>
<TEMPLATE>check_cpu_stat_ux</TEMPLATE>
<RRDFILE>/usr/local/nagios/share/perfdata/BannerDBS1/Perf_-_CPU_ux.rrd</RRDFILE>
However, the graphs viewable with Nagios XI are NOT using the new template. How can I troubleshoot this? I uploaded the template over two hours ago.
found my error - misnamed template.
However, what is the best method for troubleshooting the graphing portion? graphapi.log is empty. npcd.log doesn't seem to give any information related to what templates are being used where. error_log?
Thanks!
I am having some trouble with uploading and using custom templates.
I have created a custom command called "check_cpu_stat_ux". I have created a custom graph template and uploaded it via XI "graph templates" page.
The XML graph appears to be using the new graph template:
[nagios@monitor01 BannerDBS1]# head Perf_-_CPU_ux.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<NAGIOS>
<DATASOURCE>
<TEMPLATE>check_cpu_stat_ux</TEMPLATE>
<RRDFILE>/usr/local/nagios/share/perfdata/BannerDBS1/Perf_-_CPU_ux.rrd</RRDFILE>
However, the graphs viewable with Nagios XI are NOT using the new template. How can I troubleshoot this? I uploaded the template over two hours ago.
found my error - misnamed template.
However, what is the best method for troubleshooting the graphing portion? graphapi.log is empty. npcd.log doesn't seem to give any information related to what templates are being used where. error_log?
Thanks!