Hi there
After an update of Nagios XI, some services do not display data in the graphs, for example a snmp service. Before the update, it did display data.
The log shows the following error:
No Custom Template found for check_xi_service_snmp (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_snmp.cfg)
2022-02-21 17:29:10 [19110] [2] Template is check_xi_service_snmp.php
Any help?
Regards
No data is displayed in charts
No data is displayed in charts
You do not have the required permissions to view the files attached to this post.
Re: No data is displayed in charts
Please follow this guide and it should help you identify and fix the issue, it's usually related to the load_threshold/TIMEOUT values needing adjustment:
https://support.nagios.com/kb/article.php?id=9
I would also check the XML file:
- NOTE: You'll need to change THEHOSTNAME to the hostname and THSERVICNAME to the servicename in the file path below:
Check to make sure it shows this:
If it doesn't, post the error it shows in place of it.
If you need help, please PM me copy of your profile.zip from Admin > System Profile > Download Profile.
https://support.nagios.com/kb/article.php?id=9
I would also check the XML file:
- NOTE: You'll need to change THEHOSTNAME to the hostname and THSERVICNAME to the servicename in the file path below:
Code: Select all
/usr/local/nagios/share/perfdata/THEHOSTNAME/THESERVICENAME.xml
Code: Select all
<RRD>
<RC>0</RC>
<TXT>successful updated</TXT>
</RRD>
If you need help, please PM me copy of your profile.zip from Admin > System Profile > Download Profile.
Re: No data is displayed in charts
Hi there:
I have reviewed what is indicated in the knowledgebase point by point and the problem persists. The same error continues to appear in the log:
No Custom Template found for check_xi_service_nsclient (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_nsclient.cfg)
2022-02-23 09:49:17 [20374] [2] Template is check_xi_service_nsclient.php
2022-02-23 09:49:17 [20374] [2] data2rrd called
2022-02-23 09:49:17 [20374] [2] RRDs::update /usr/local/nagios/share/perfdata/VMORAEXPCACP19/Memory_Usage.rrd 1645606139:8278.39
2022-02-23 09:49:17 [20374] [2] /usr/local/nagios/share/perfdata/VMORAEXPCACP19/Memory_Usage.rrd updated
2022-02-23 09:49:17 [20374] [2] Processing Line 209
2022-02-23 09:49:17 [20374] [2] Datatype set to 'SERVICEPERFDATA'
2022-02-23 09:49:17 [20374] [1] Found Performance Data for expinterjb64hc2.perimetral.dom / NTP ('offset'=0.00102s;1;2)
2022-02-23 09:49:17 [20374] [2] No Custom Template found for check_ntp_time (/usr/local/nagios/etc/pnp/check_commands/check_ntp_time.cfg)
2022-02-23 09:49:17 [20374] [2] Template is check_ntp_time.php
2022-02-23 09:49:17 [20374] [2] data2rrd called
2022-02-23 09:49:17 [20374] [2] RRDs::update /usr/local/nagios/share/perfdata/expinterjb64hc2.perimetral.dom/NTP.rrd 1645606139:0.00102
2022-02-23 09:49:17 [20374] [2] /usr/local/nagios/share/perfdata/expinterjb64hc2.perimetral.dom/NTP.rrd updated
2022-02-23 09:49:17 [20374] [2] Processing Line 210
2022-02-23 09:49:17 [20374] [2] Datatype set to 'SERVICEPERFDATA'
2022-02-23 09:49:17 [20374] [1] Found Performance Data for PREINTRAJB64HC4.trabajo.dom / Uptime (uptime=1723)
2022-02-23 09:49:17 [20374] [2] No Custom Template found for check_xi_service_nsclient (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_nsclient.cfg)
2022-02-23 09:49:17 [20374] [2] Template is check_xi_service_nsclient.php
2022-02-23 09:49:17 [20374] [2] data2rrd called
2022-02-23 09:49:17 [20374] [2] RRDs::update /usr/local/nagios/share/perfdata/PREINTRAJB64HC4.trabajo.dom/Uptime.rrd 1645606139:1723
2022-02-23 09:49:17 [20374] [2] /usr/local/nagios/share/perfdata/PREINTRAJB64HC4.trabajo.dom/Uptime.rrd updated
2022-02-23 09:49:17 [20374] [2] Processing Line 211
2022-02-23 09:49:17 [20374] [2] Datatype set to 'SERVICEPERFDATA'
2022-02-23 09:49:17 [20374] [1] Found Performance Data for vmexpinterweb2.perimetral.dom / DNS_Resolution (time=0,007553s;;;0,000000)
2022-02-23 09:49:17 [20374] [2] No Custom Template found for check_xi_service_dns (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_dns.cfg)
2022-02-23 09:49:17 [20374] [2] Template is check_xi_service_dns.php
2022-02-23 09:49:17 [20374] [2] data2rrd called
I attach my profile as you requested.
Regards
I have reviewed what is indicated in the knowledgebase point by point and the problem persists. The same error continues to appear in the log:
No Custom Template found for check_xi_service_nsclient (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_nsclient.cfg)
2022-02-23 09:49:17 [20374] [2] Template is check_xi_service_nsclient.php
2022-02-23 09:49:17 [20374] [2] data2rrd called
2022-02-23 09:49:17 [20374] [2] RRDs::update /usr/local/nagios/share/perfdata/VMORAEXPCACP19/Memory_Usage.rrd 1645606139:8278.39
2022-02-23 09:49:17 [20374] [2] /usr/local/nagios/share/perfdata/VMORAEXPCACP19/Memory_Usage.rrd updated
2022-02-23 09:49:17 [20374] [2] Processing Line 209
2022-02-23 09:49:17 [20374] [2] Datatype set to 'SERVICEPERFDATA'
2022-02-23 09:49:17 [20374] [1] Found Performance Data for expinterjb64hc2.perimetral.dom / NTP ('offset'=0.00102s;1;2)
2022-02-23 09:49:17 [20374] [2] No Custom Template found for check_ntp_time (/usr/local/nagios/etc/pnp/check_commands/check_ntp_time.cfg)
2022-02-23 09:49:17 [20374] [2] Template is check_ntp_time.php
2022-02-23 09:49:17 [20374] [2] data2rrd called
2022-02-23 09:49:17 [20374] [2] RRDs::update /usr/local/nagios/share/perfdata/expinterjb64hc2.perimetral.dom/NTP.rrd 1645606139:0.00102
2022-02-23 09:49:17 [20374] [2] /usr/local/nagios/share/perfdata/expinterjb64hc2.perimetral.dom/NTP.rrd updated
2022-02-23 09:49:17 [20374] [2] Processing Line 210
2022-02-23 09:49:17 [20374] [2] Datatype set to 'SERVICEPERFDATA'
2022-02-23 09:49:17 [20374] [1] Found Performance Data for PREINTRAJB64HC4.trabajo.dom / Uptime (uptime=1723)
2022-02-23 09:49:17 [20374] [2] No Custom Template found for check_xi_service_nsclient (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_nsclient.cfg)
2022-02-23 09:49:17 [20374] [2] Template is check_xi_service_nsclient.php
2022-02-23 09:49:17 [20374] [2] data2rrd called
2022-02-23 09:49:17 [20374] [2] RRDs::update /usr/local/nagios/share/perfdata/PREINTRAJB64HC4.trabajo.dom/Uptime.rrd 1645606139:1723
2022-02-23 09:49:17 [20374] [2] /usr/local/nagios/share/perfdata/PREINTRAJB64HC4.trabajo.dom/Uptime.rrd updated
2022-02-23 09:49:17 [20374] [2] Processing Line 211
2022-02-23 09:49:17 [20374] [2] Datatype set to 'SERVICEPERFDATA'
2022-02-23 09:49:17 [20374] [1] Found Performance Data for vmexpinterweb2.perimetral.dom / DNS_Resolution (time=0,007553s;;;0,000000)
2022-02-23 09:49:17 [20374] [2] No Custom Template found for check_xi_service_dns (/usr/local/nagios/etc/pnp/check_commands/check_xi_service_dns.cfg)
2022-02-23 09:49:17 [20374] [2] Template is check_xi_service_dns.php
2022-02-23 09:49:17 [20374] [2] data2rrd called
I attach my profile as you requested.
Regards
Re: No data is displayed in charts
I'm seeing these:
Follow the KB article below and increase your load_threshold to 60.0 and your TIMEOUT to 20:
https://support.nagios.com/kb/article.php?id=9
Please attach these files as well for the service:
Code: Select all
[02-23-2022 09:51:20] NPCD: WARN: MAX load reached: load 17.010000/10.000000 at i=0
[02-23-2022 09:51:35] NPCD: WARN: MAX load reached: load 13.670000/10.000000 at i=1
[02-23-2022 09:51:50] NPCD: WARN: MAX load reached: load 11.070000/10.000000 at i=1
[02-23-2022 09:52:05] NPCD: WARN: MAX load reached: load 10.250000/10.000000 at i=1
https://support.nagios.com/kb/article.php?id=9
Please attach these files as well for the service:
Code: Select all
/usr/local/nagios/share/perfdata/THEHOSTNAME/THESERVICENAME.rrd
/usr/local/nagios/share/perfdata/THEHOSTNAME/THESERVICENAME.xml
Re: No data is displayed in charts
Hi there!
I have increased the indicated values.
I attach the files you request.
Regards
I have increased the indicated values.
I attach the files you request.
Regards
You do not have the required permissions to view the files attached to this post.
Re: No data is displayed in charts
It looks like it was last updated on Feb 15th:
I sent you a PM, please run the command and PM me the full output.
Code: Select all
[root@xid ~]# rrdtool lastupdate CpuUtil\(1\).rrd
1
1644930889: 4
[root@xid ~]# date -d@1644930889
Tue Feb 15 07:14:49 CST 2022
Re: No data is displayed in charts
hi there,
Is there any news about this issue?
Regards
Is there any news about this issue?
Regards
Re: No data is displayed in charts
Hi
Please create a ticket in our new ticketing system, and reference this forum post. Also include
the information requested by ssax in the new ticket.
Sorry for the inconvenience but creating a new ticket will allow us to track this issue better.
Please create a ticket in our new ticketing system, and reference this forum post. Also include
the information requested by ssax in the new ticket.
Sorry for the inconvenience but creating a new ticket will allow us to track this issue better.
Thank you!We're moving to a new support system!
The Nagios Answer Hub is a place where you can get help with technical questions from our experts. There, you can quickly open tickets and join discussion boards.
Request Nagios Answer Hub access here: https://info.nagios.com/answer-hub-access-new-users
After completing the access form, you will be given access to a portal where new tickets can be created. We will keep the old customer forum sections and ticket system available for current cases to be resolved.