Nagios XI Graph
Nagios XI Graph
Hello,
I was looking at my nagios graphs and I did not understand the legends that says Last and Avg and why they have the same value? 125.46 ? Thanks!
Attached is the picture.
Best Regards,
Peter
I was looking at my nagios graphs and I did not understand the legends that says Last and Avg and why they have the same value? 125.46 ? Thanks!
Attached is the picture.
Best Regards,
Peter
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI Graph
If the format or the number of data points has changed since the graph was created, that could account for the issue you are seeing for the last equalling the Avg value.
When this happens, the xml and rrd files for that service check should be deleted so they will recreate themselves and get updated with plugin's performance output.
To delete them, go to this filoder in the Nagios server, replace <hostname> with the name if the host.
Delete both the .xml and .rrd files with the name of the service and in about 15 to 20 minutes, the graph should be recreated and the legends should show the correct output.
If not, post those files so we can view their contents.
When this happens, the xml and rrd files for that service check should be deleted so they will recreate themselves and get updated with plugin's performance output.
To delete them, go to this filoder in the Nagios server, replace <hostname> with the name if the host.
Code: Select all
/usr/local/nagios/share/perfdata/<hostname>If not, post those files so we can view their contents.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios XI Graph
Hello,
Still facing the same error after deleting the .rrd and .xml file of the service I was looking for.
It is good to note that I have only deleted the the files associated with my service and not all files in the host folder.
Also, those perf data graphs are being generated by a passive check using nrdp.
I couldn't cat the .rrd file, otherwise below is the .xml file output:
[hayekp@nagios-l GSIP-ZTP-SBC]$ cat X128_TRUNK_GITRK0000010121.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<NAGIOS>
<DATASOURCE>
<TEMPLATE>check_dummy</TEMPLATE>
<RRDFILE>/usr/local/nagios/share/perfdata/GSIP-ZTP-SBC/X128_TRUNK_GITRK0000010121.rrd</RRDFILE>
<RRD_STORAGE_TYPE>SINGLE</RRD_STORAGE_TYPE>
<RRD_HEARTBEAT>8460</RRD_HEARTBEAT>
<IS_MULTI>0</IS_MULTI>
<DS>1</DS>
<NAME>Ongoing_Calls</NAME>
<LABEL>Ongoing Calls</LABEL>
<UNIT></UNIT>
<ACT>333</ACT>
<WARN></WARN>
<WARN_MIN></WARN_MIN>
<WARN_MAX></WARN_MAX>
<WARN_RANGE_TYPE></WARN_RANGE_TYPE>
<CRIT></CRIT>
<CRIT_MIN></CRIT_MIN>
<CRIT_MAX></CRIT_MAX>
<CRIT_RANGE_TYPE></CRIT_RANGE_TYPE>
<MIN></MIN>
<MAX></MAX>
</DATASOURCE>
<DATASOURCE>
<TEMPLATE>check_dummy</TEMPLATE>
<RRDFILE>/usr/local/nagios/share/perfdata/GSIP-ZTP-SBC/X128_TRUNK_GITRK0000010121.rrd</RRDFILE>
<RRD_STORAGE_TYPE>SINGLE</RRD_STORAGE_TYPE>
<RRD_HEARTBEAT>8460</RRD_HEARTBEAT>
<IS_MULTI>0</IS_MULTI>
<DS>2</DS>
<NAME>Ingress_Calls</NAME>
<LABEL>Ingress Calls</LABEL>
<UNIT></UNIT>
<ACT>0</ACT>
<WARN></WARN>
<WARN_MIN></WARN_MIN>
<WARN_MAX></WARN_MAX>
<WARN_RANGE_TYPE></WARN_RANGE_TYPE>
<CRIT></CRIT>
<CRIT_MIN></CRIT_MIN>
<CRIT_MAX></CRIT_MAX>
<CRIT_RANGE_TYPE></CRIT_RANGE_TYPE>
<MIN></MIN>
<MAX></MAX>
</DATASOURCE>
<DATASOURCE>
<TEMPLATE>check_dummy</TEMPLATE>
<RRDFILE>/usr/local/nagios/share/perfdata/GSIP-ZTP-SBC/X128_TRUNK_GITRK0000010121.rrd</RRDFILE>
<RRD_STORAGE_TYPE>SINGLE</RRD_STORAGE_TYPE>
<RRD_HEARTBEAT>8460</RRD_HEARTBEAT>
<IS_MULTI>0</IS_MULTI>
<DS>3</DS>
<NAME>Egress_Calls</NAME>
<LABEL>Egress Calls</LABEL>
<UNIT></UNIT>
<ACT>333</ACT>
<WARN></WARN>
<WARN_MIN></WARN_MIN>
<WARN_MAX></WARN_MAX>
<WARN_RANGE_TYPE></WARN_RANGE_TYPE>
<CRIT></CRIT>
<CRIT_MIN></CRIT_MIN>
<CRIT_MAX></CRIT_MAX>
<CRIT_RANGE_TYPE></CRIT_RANGE_TYPE>
<MIN></MIN>
<MAX></MAX>
</DATASOURCE>
<RRD>
<RC>0</RC>
<TXT>successful updated</TXT>
</RRD>
<NAGIOS_AUTH_HOSTNAME>GSIP-ZTP-SBC</NAGIOS_AUTH_HOSTNAME>
<NAGIOS_AUTH_SERVICEDESC>X128_TRUNK:GITRK0000010121</NAGIOS_AUTH_SERVICEDESC>
<NAGIOS_CHECK_COMMAND>check_dummy!0!"No data received yet."</NAGIOS_CHECK_COMMAND>
<NAGIOS_DATATYPE>SERVICEPERFDATA</NAGIOS_DATATYPE>
<NAGIOS_DISP_HOSTNAME>GSIP-ZTP-SBC</NAGIOS_DISP_HOSTNAME>
<NAGIOS_DISP_SERVICEDESC>X128_TRUNK:GITRK0000010121</NAGIOS_DISP_SERVICEDESC>
<NAGIOS_HOSTNAME>GSIP-ZTP-SBC</NAGIOS_HOSTNAME>
<NAGIOS_HOSTSTATE>UP</NAGIOS_HOSTSTATE>
<NAGIOS_HOSTSTATETYPE>HARD</NAGIOS_HOSTSTATETYPE>
<NAGIOS_MULTI_PARENT></NAGIOS_MULTI_PARENT>
<NAGIOS_PERFDATA>'Ongoing Calls'=333;;;;'Ingress Calls'=0;;;;'Egress Calls'=333;;;; </NAGIOS_PERFDATA>
<NAGIOS_RRDFILE>/usr/local/nagios/share/perfdata/GSIP-ZTP-SBC/X128_TRUNK_GITRK0000010121.rrd</NAGIOS_RRDFILE>
<NAGIOS_SERVICECHECKCOMMAND>check_dummy!0!"No data received yet."</NAGIOS_SERVICECHECKCOMMAND>
<NAGIOS_SERVICEDESC>X128_TRUNK_GITRK0000010121</NAGIOS_SERVICEDESC>
<NAGIOS_SERVICEOUTPUT>Ongoing_Calls:333 Ingress_Calls:0 Egress_Calls:333 Max Calls:0 Status:Available</NAGIOS_SERVICEOUTPUT>
<NAGIOS_SERVICEPERFDATA>'Ongoing Calls'=333;;;;'Ingress Calls'=0;;;;'Egress Calls'=333;;;;</NAGIOS_SERVICEPERFDATA>
<NAGIOS_SERVICESTATE>OK</NAGIOS_SERVICESTATE>
<NAGIOS_SERVICESTATETYPE>HARD</NAGIOS_SERVICESTATETYPE>
<NAGIOS_TIMET>1497434977</NAGIOS_TIMET>
<NAGIOS_XMLFILE>/usr/local/nagios/share/perfdata/GSIP-ZTP-SBC/X128_TRUNK_GITRK0000010121.xml</NAGIOS_XMLFILE>
<XML>
<VERSION>4</VERSION>
</XML>
</NAGIOS>
Still facing the same error after deleting the .rrd and .xml file of the service I was looking for.
It is good to note that I have only deleted the the files associated with my service and not all files in the host folder.
Also, those perf data graphs are being generated by a passive check using nrdp.
I couldn't cat the .rrd file, otherwise below is the .xml file output:
[hayekp@nagios-l GSIP-ZTP-SBC]$ cat X128_TRUNK_GITRK0000010121.xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<NAGIOS>
<DATASOURCE>
<TEMPLATE>check_dummy</TEMPLATE>
<RRDFILE>/usr/local/nagios/share/perfdata/GSIP-ZTP-SBC/X128_TRUNK_GITRK0000010121.rrd</RRDFILE>
<RRD_STORAGE_TYPE>SINGLE</RRD_STORAGE_TYPE>
<RRD_HEARTBEAT>8460</RRD_HEARTBEAT>
<IS_MULTI>0</IS_MULTI>
<DS>1</DS>
<NAME>Ongoing_Calls</NAME>
<LABEL>Ongoing Calls</LABEL>
<UNIT></UNIT>
<ACT>333</ACT>
<WARN></WARN>
<WARN_MIN></WARN_MIN>
<WARN_MAX></WARN_MAX>
<WARN_RANGE_TYPE></WARN_RANGE_TYPE>
<CRIT></CRIT>
<CRIT_MIN></CRIT_MIN>
<CRIT_MAX></CRIT_MAX>
<CRIT_RANGE_TYPE></CRIT_RANGE_TYPE>
<MIN></MIN>
<MAX></MAX>
</DATASOURCE>
<DATASOURCE>
<TEMPLATE>check_dummy</TEMPLATE>
<RRDFILE>/usr/local/nagios/share/perfdata/GSIP-ZTP-SBC/X128_TRUNK_GITRK0000010121.rrd</RRDFILE>
<RRD_STORAGE_TYPE>SINGLE</RRD_STORAGE_TYPE>
<RRD_HEARTBEAT>8460</RRD_HEARTBEAT>
<IS_MULTI>0</IS_MULTI>
<DS>2</DS>
<NAME>Ingress_Calls</NAME>
<LABEL>Ingress Calls</LABEL>
<UNIT></UNIT>
<ACT>0</ACT>
<WARN></WARN>
<WARN_MIN></WARN_MIN>
<WARN_MAX></WARN_MAX>
<WARN_RANGE_TYPE></WARN_RANGE_TYPE>
<CRIT></CRIT>
<CRIT_MIN></CRIT_MIN>
<CRIT_MAX></CRIT_MAX>
<CRIT_RANGE_TYPE></CRIT_RANGE_TYPE>
<MIN></MIN>
<MAX></MAX>
</DATASOURCE>
<DATASOURCE>
<TEMPLATE>check_dummy</TEMPLATE>
<RRDFILE>/usr/local/nagios/share/perfdata/GSIP-ZTP-SBC/X128_TRUNK_GITRK0000010121.rrd</RRDFILE>
<RRD_STORAGE_TYPE>SINGLE</RRD_STORAGE_TYPE>
<RRD_HEARTBEAT>8460</RRD_HEARTBEAT>
<IS_MULTI>0</IS_MULTI>
<DS>3</DS>
<NAME>Egress_Calls</NAME>
<LABEL>Egress Calls</LABEL>
<UNIT></UNIT>
<ACT>333</ACT>
<WARN></WARN>
<WARN_MIN></WARN_MIN>
<WARN_MAX></WARN_MAX>
<WARN_RANGE_TYPE></WARN_RANGE_TYPE>
<CRIT></CRIT>
<CRIT_MIN></CRIT_MIN>
<CRIT_MAX></CRIT_MAX>
<CRIT_RANGE_TYPE></CRIT_RANGE_TYPE>
<MIN></MIN>
<MAX></MAX>
</DATASOURCE>
<RRD>
<RC>0</RC>
<TXT>successful updated</TXT>
</RRD>
<NAGIOS_AUTH_HOSTNAME>GSIP-ZTP-SBC</NAGIOS_AUTH_HOSTNAME>
<NAGIOS_AUTH_SERVICEDESC>X128_TRUNK:GITRK0000010121</NAGIOS_AUTH_SERVICEDESC>
<NAGIOS_CHECK_COMMAND>check_dummy!0!"No data received yet."</NAGIOS_CHECK_COMMAND>
<NAGIOS_DATATYPE>SERVICEPERFDATA</NAGIOS_DATATYPE>
<NAGIOS_DISP_HOSTNAME>GSIP-ZTP-SBC</NAGIOS_DISP_HOSTNAME>
<NAGIOS_DISP_SERVICEDESC>X128_TRUNK:GITRK0000010121</NAGIOS_DISP_SERVICEDESC>
<NAGIOS_HOSTNAME>GSIP-ZTP-SBC</NAGIOS_HOSTNAME>
<NAGIOS_HOSTSTATE>UP</NAGIOS_HOSTSTATE>
<NAGIOS_HOSTSTATETYPE>HARD</NAGIOS_HOSTSTATETYPE>
<NAGIOS_MULTI_PARENT></NAGIOS_MULTI_PARENT>
<NAGIOS_PERFDATA>'Ongoing Calls'=333;;;;'Ingress Calls'=0;;;;'Egress Calls'=333;;;; </NAGIOS_PERFDATA>
<NAGIOS_RRDFILE>/usr/local/nagios/share/perfdata/GSIP-ZTP-SBC/X128_TRUNK_GITRK0000010121.rrd</NAGIOS_RRDFILE>
<NAGIOS_SERVICECHECKCOMMAND>check_dummy!0!"No data received yet."</NAGIOS_SERVICECHECKCOMMAND>
<NAGIOS_SERVICEDESC>X128_TRUNK_GITRK0000010121</NAGIOS_SERVICEDESC>
<NAGIOS_SERVICEOUTPUT>Ongoing_Calls:333 Ingress_Calls:0 Egress_Calls:333 Max Calls:0 Status:Available</NAGIOS_SERVICEOUTPUT>
<NAGIOS_SERVICEPERFDATA>'Ongoing Calls'=333;;;;'Ingress Calls'=0;;;;'Egress Calls'=333;;;;</NAGIOS_SERVICEPERFDATA>
<NAGIOS_SERVICESTATE>OK</NAGIOS_SERVICESTATE>
<NAGIOS_SERVICESTATETYPE>HARD</NAGIOS_SERVICESTATETYPE>
<NAGIOS_TIMET>1497434977</NAGIOS_TIMET>
<NAGIOS_XMLFILE>/usr/local/nagios/share/perfdata/GSIP-ZTP-SBC/X128_TRUNK_GITRK0000010121.xml</NAGIOS_XMLFILE>
<XML>
<VERSION>4</VERSION>
</XML>
</NAGIOS>
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI Graph
What version of XI are you running? I believe I remember this being a bug a while back.
Re: Nagios XI Graph
I'm on Nagios XI 2014R2.7
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Nagios XI Graph
In XI 5.3.4
If you upgrade to the latest your problem should be solved- Fixed default last, avg, max values to be set for perfdata graphs [TPS#10359] -JO
Re: Nagios XI Graph
Did you have any further (related) questions or are we okay to close this thread?
Former Nagios employee
-
bolson
Re: Nagios XI Graph
Closing topic as resolved.
Thank you for using the Nagios Support Forum.
Thank you for using the Nagios Support Forum.