{"id":107,"date":"2023-03-19T08:33:36","date_gmt":"2023-03-19T07:33:36","guid":{"rendered":"http:\/\/10.4.44.99:10084\/?p=107"},"modified":"2023-03-19T08:33:36","modified_gmt":"2023-03-19T07:33:36","slug":"rrdtool-edit-rrd-file-export-and-import","status":"publish","type":"post","link":"https:\/\/www.winni.at\/wordpress\/?p=107","title":{"rendered":"RRDTool | Edit RRD File Export and Import"},"content":{"rendered":"\n<p>Here I will discribe how to edit a rrd file by export and import them<\/p>\n\n\n\n<p><strong>Command Line: Export a rrd File into xml<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rrdtool dump \/usr\/local\/pnp4nagios\/var\/perfdata\/HOST1\/PING.rrd \/usr\/local\/pnp4nagios\/var\/perfdata\/HOST1\/PING-EXPORT.xml<\/code><\/pre>\n\n\n\n<p>Now edit the XML File like your wishes and reimport them. Attention! You will override the existing RRD File so you could lose data which has been collected between your export and import time!<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rrdtool restore -f \/usr\/local\/pnp4nagios\/var\/perfdata\/HOST1\/PING-EXPORT.xml \/usr\/local\/pnp4nagios\/var\/perfdata\/HOST1\/PING.rrd<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Here I will discribe how to edit a rrd file by export and import them Command Line: Export a rrd<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[3],"tags":[165,166,167,168,169],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-kb","tag-rrd-edit-file","tag-rrd-export-import","tag-rrd-file-export","tag-rrd-restore","tag-rrdtool"],"_links":{"self":[{"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=107"}],"version-history":[{"count":0,"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/107\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winni.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}