Removing data source from rrd
Posted: Tue Feb 20, 2018 6:22 am
Hi,
I have a graph in which a performance data was probably removed, leaving the rrd not to update. I followed the KB article -> https://support.nagios.com/kb/article.php?id=497, however in my case i can see the current datasources displayed, but not the one that needs to be deleted.
The non-populating graph displays also a "Last" measurement. It seems that these where critical and warning threshold that were being also graphed as when opening the xml file i noticed these entries:
Is it possible to somehow remove this, with forcing me to delete the whole rrd file and of course loose history?
Graph and xml attached.
Rgds,
Matt
I have a graph in which a performance data was probably removed, leaving the rrd not to update. I followed the KB article -> https://support.nagios.com/kb/article.php?id=497, however in my case i can see the current datasources displayed, but not the one that needs to be deleted.
Code: Select all
[root@am1nms-nagiosxi am1-sha-smse4-p_v-ipops]# grep '<NAME>' 300_S-ipops-SMSE003-IncomingSMS.xml
<NAME>Current_Measurement</NAME>
[root@am1nms-nagiosxi am1-sha-smse4-p_v-ipops]# grep '<DS>' 300_S-ipops-SMSE003-IncomingSMS.xml
<DS>1</DS>
Code: Select all
<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>1</RC>
<TXT>/usr/local/nagios/share/perfdata/am1-sha-smse4-p_v-ipops/300_S-ipops-SMSE003-IncomingSMS.rrd: expected 3 data so
urce readings (got 2) from 1519125325</TXT>Graph and xml attached.
Rgds,
Matt