Templates and custom graphs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Templates and custom graphs

Post by uidaho »

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!
Last edited by slansing on Wed May 29, 2013 11:50 am, edited 2 times in total.
Reason: Please do not double post if you are the last poster.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Templates and custom graphs

Post by slansing »

For troubleshooting graphing, npcd.log, and perfdata.log are invaluable, you can easily check these though the XI server's web UI now by navigating to Admin > System Profile > Download Profile "while this is mostly used by us for troubleshooting, it offers a tail of various logs, and snaps of certain files, as well as your latest snapshot all rolled into one.
Locked