How can i delete a specific graph data?
For example: I want to delete Series 2;
Delete a specific graph data
Delete a specific graph data
You do not have the required permissions to view the files attached to this post.
Re: Delete a specific graph data
Just to clarify, are you looks to remove a data source from the rrd, or remove the whole rrd itself?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Delete a specific graph data
I believe you will need to modify the plugin to return only the "Total" perfdata, remove the RRD and XML file for this check and wait for them to be recreated. You will lose all of the historical data. I am not sure if there is an easier/better way of doing this.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Delete a specific graph data
Just to clarify, are you looks to remove a data source from the rrd, or remove the whole rrd itself?
I would like to remove data source from the rrd, but if its not possible, i'll remove the whole rrd.
How could i remove the RRD and XML file?
I would like to remove data source from the rrd, but if its not possible, i'll remove the whole rrd.
How could i remove the RRD and XML file?
Re: Delete a specific graph data
You need to first remove stop the datasource from returning in the check, because if it is still returning, it will get added back to the edited/new rrd.
Once you have done that, you could attempt to remove the datasource with a tool like:
https://github.com/rarylson/rrdedit
Or you can just remove the whole rrd by deleting the file:
The rrd will be recreated and the xml overwritten on the next check.
Once you have done that, you could attempt to remove the datasource with a tool like:
https://github.com/rarylson/rrdedit
Or you can just remove the whole rrd by deleting the file:
Code: Select all
/usr/local/nagios/share/perfdata/<host>/<service description>.rrdFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Delete a specific graph data
I got it.
I ran the command:
find /usr/local/nagios/share/perfdata -iname Qtde_de_Processos* -exec rm -f {} \;
Thx.
I ran the command:
find /usr/local/nagios/share/perfdata -iname Qtde_de_Processos* -exec rm -f {} \;
Thx.