Export munin data, import it and rebuilt html and graph Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Come Celebrate our 10 Year Anniversary!Change a Munin server and keep the dataMunin graph sizeProblem: Munin GraphUnable to add new munin node to existing munin masterInterpreting munin graph and committed memoryMunin - Netstat GraphMove Munin on new server with old dataMunin aggregate graphs are not workingHow to export munin raw data to CSV?Munin reading apache graphMunin: cannot add new custom munin node

Crossing US/Canada Border for less than 24 hours

Is there any way for the UK Prime Minister to make a motion directly dependent on Government confidence?

Can anything be seen from the center of the Boötes void? How dark would it be?

How to compare two different files line by line in unix?

How do I find out the mythology and history of my Fortress?

Does classifying an integer as a discrete log require it be part of a multiplicative group?

Is safe to use va_start macro with this as parameter?

Dating a Former Employee

2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?

Should I use a zero-interest credit card for a large one-time purchase?

Uniqueness of spanning tree on a grid.

How to tell that you are a giant?

Is "Reachable Object" really an NP-complete problem?

Why are the trig functions versine, haversine, exsecant, etc, rarely used in modern mathematics?

In what way is everyone not a utilitarian

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Why do we bend a book to keep it straight?

If a VARCHAR(MAX) column is included in an index, is the entire value always stored in the index page(s)?

Do I really need recursive chmod to restrict access to a folder?

When was Kai Tak permanently closed to cargo service?

How to convince students of the implication truth values?

Can melee weapons be used to deliver Contact Poisons?

Is there such thing as an Availability Group failover trigger?

Denied boarding although I have proper visa and documentation. To whom should I make a complaint?



Export munin data, import it and rebuilt html and graph



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Change a Munin server and keep the dataMunin graph sizeProblem: Munin GraphUnable to add new munin node to existing munin masterInterpreting munin graph and committed memoryMunin - Netstat GraphMove Munin on new server with old dataMunin aggregate graphs are not workingHow to export munin raw data to CSV?Munin reading apache graphMunin: cannot add new custom munin node



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I am trying to read data collected from a server to an other server.



Reading Change a Munin server and keep the data seems show a way to do this.



  • exporting rrd database using rrdtool dump

  • importing rrd dump using rrdtool restore

Next I declare in the destination server the hostname list in /etc/munin/munin.conf



[server1]
use_node_name yes
update no


Now, I would like munin recreate the html pages and the graphs corresponding to the hostname list.

How to force recreation (without new data) ?



Update
Even the index.html is not updated and does not include a link to server1










share|improve this question
























  • Have you tried running munin-html and/or munin-graph with the --debug --stdout flags? Anything there to give a clue as to why the graphs aren't being regenerated. I've assumed that you're generating this stuff via cron jobs rather than using munin-cgi-graph and munin-cgi-html.

    – Paul Haldane
    Dec 2 '14 at 13:57











  • When I run munin-html and munin-graph --debug (with or without --nolazy)) it doesnot print anything related to the restored host data, but as soon as declare the address (and trun uptate to yes) html and graph are rebuilt. I don't find a way to force html and graph rebuilt. I also tried with cgi, it dosnot change anything index.html is not updated in order to include restored hosts.

    – mpromonet
    Dec 3 '14 at 9:34

















0















I am trying to read data collected from a server to an other server.



Reading Change a Munin server and keep the data seems show a way to do this.



  • exporting rrd database using rrdtool dump

  • importing rrd dump using rrdtool restore

Next I declare in the destination server the hostname list in /etc/munin/munin.conf



[server1]
use_node_name yes
update no


Now, I would like munin recreate the html pages and the graphs corresponding to the hostname list.

How to force recreation (without new data) ?



Update
Even the index.html is not updated and does not include a link to server1










share|improve this question
























  • Have you tried running munin-html and/or munin-graph with the --debug --stdout flags? Anything there to give a clue as to why the graphs aren't being regenerated. I've assumed that you're generating this stuff via cron jobs rather than using munin-cgi-graph and munin-cgi-html.

    – Paul Haldane
    Dec 2 '14 at 13:57











  • When I run munin-html and munin-graph --debug (with or without --nolazy)) it doesnot print anything related to the restored host data, but as soon as declare the address (and trun uptate to yes) html and graph are rebuilt. I don't find a way to force html and graph rebuilt. I also tried with cgi, it dosnot change anything index.html is not updated in order to include restored hosts.

    – mpromonet
    Dec 3 '14 at 9:34













0












0








0








I am trying to read data collected from a server to an other server.



Reading Change a Munin server and keep the data seems show a way to do this.



  • exporting rrd database using rrdtool dump

  • importing rrd dump using rrdtool restore

Next I declare in the destination server the hostname list in /etc/munin/munin.conf



[server1]
use_node_name yes
update no


Now, I would like munin recreate the html pages and the graphs corresponding to the hostname list.

How to force recreation (without new data) ?



Update
Even the index.html is not updated and does not include a link to server1










share|improve this question
















I am trying to read data collected from a server to an other server.



Reading Change a Munin server and keep the data seems show a way to do this.



  • exporting rrd database using rrdtool dump

  • importing rrd dump using rrdtool restore

Next I declare in the destination server the hostname list in /etc/munin/munin.conf



[server1]
use_node_name yes
update no


Now, I would like munin recreate the html pages and the graphs corresponding to the hostname list.

How to force recreation (without new data) ?



Update
Even the index.html is not updated and does not include a link to server1







linux munin graph






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:14









Community

1




1










asked Nov 20 '14 at 10:50









mpromonetmpromonet

122111




122111












  • Have you tried running munin-html and/or munin-graph with the --debug --stdout flags? Anything there to give a clue as to why the graphs aren't being regenerated. I've assumed that you're generating this stuff via cron jobs rather than using munin-cgi-graph and munin-cgi-html.

    – Paul Haldane
    Dec 2 '14 at 13:57











  • When I run munin-html and munin-graph --debug (with or without --nolazy)) it doesnot print anything related to the restored host data, but as soon as declare the address (and trun uptate to yes) html and graph are rebuilt. I don't find a way to force html and graph rebuilt. I also tried with cgi, it dosnot change anything index.html is not updated in order to include restored hosts.

    – mpromonet
    Dec 3 '14 at 9:34

















  • Have you tried running munin-html and/or munin-graph with the --debug --stdout flags? Anything there to give a clue as to why the graphs aren't being regenerated. I've assumed that you're generating this stuff via cron jobs rather than using munin-cgi-graph and munin-cgi-html.

    – Paul Haldane
    Dec 2 '14 at 13:57











  • When I run munin-html and munin-graph --debug (with or without --nolazy)) it doesnot print anything related to the restored host data, but as soon as declare the address (and trun uptate to yes) html and graph are rebuilt. I don't find a way to force html and graph rebuilt. I also tried with cgi, it dosnot change anything index.html is not updated in order to include restored hosts.

    – mpromonet
    Dec 3 '14 at 9:34
















Have you tried running munin-html and/or munin-graph with the --debug --stdout flags? Anything there to give a clue as to why the graphs aren't being regenerated. I've assumed that you're generating this stuff via cron jobs rather than using munin-cgi-graph and munin-cgi-html.

– Paul Haldane
Dec 2 '14 at 13:57





Have you tried running munin-html and/or munin-graph with the --debug --stdout flags? Anything there to give a clue as to why the graphs aren't being regenerated. I've assumed that you're generating this stuff via cron jobs rather than using munin-cgi-graph and munin-cgi-html.

– Paul Haldane
Dec 2 '14 at 13:57













When I run munin-html and munin-graph --debug (with or without --nolazy)) it doesnot print anything related to the restored host data, but as soon as declare the address (and trun uptate to yes) html and graph are rebuilt. I don't find a way to force html and graph rebuilt. I also tried with cgi, it dosnot change anything index.html is not updated in order to include restored hosts.

– mpromonet
Dec 3 '14 at 9:34





When I run munin-html and munin-graph --debug (with or without --nolazy)) it doesnot print anything related to the restored host data, but as soon as declare the address (and trun uptate to yes) html and graph are rebuilt. I don't find a way to force html and graph rebuilt. I also tried with cgi, it dosnot change anything index.html is not updated in order to include restored hosts.

– mpromonet
Dec 3 '14 at 9:34










2 Answers
2






active

oldest

votes


















0














I find that removing the generated graphs is enough to cause the standard munin cron jobs to regenerate them (even if data hasn't changed).






share|improve this answer























  • That is probably the intended workflow: munin-monitoring.org/wiki/munin-graph Note that RRDtool has a built-in logic that determines whether it is necessary to create a graph or not. If you think you're smarter than RRDtool, the switch --nolazy will force creating the graph

    – r_3
    Dec 1 '14 at 16:21


















0














I've found that moving the files to the correct directories is the easiest way to move the data. This should work between server of the same architecture.



RRD uses hardware formats for binary (numeric) values, so in some cases it is necessary to dump and reload the data. If you do need do this, you need to dump on the original server and load on the new server. Using a shared directory (NFS, SMB, or SSHFS) may make this simpler.



You will need to copy (replicate) the munin configuration so it knows which servers to generate files for. The userid munin runs as will need write access to the output directories as well as read access to data (RRD) files. Write access is required to gather new data. Ideally, all files and directories will be owned by the account that is being used to run munin.



I would test with data for one server. I believe munin-graph contacts the monitored server to get the configuration for the graphs, although I did find a cache of the data in /var/lib/munin/datafile. If you haven't granted access to the new server yet, this may be causing your issue.






share|improve this answer























  • I tried to remove datafile and others, but it's possible that munin miss some information. As it call munin-node with config and fetch, the config information are not in the rrd files, then it should get from somewehere

    – mpromonet
    Dec 9 '14 at 10:15











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f645761%2fexport-munin-data-import-it-and-rebuilt-html-and-graph%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














I find that removing the generated graphs is enough to cause the standard munin cron jobs to regenerate them (even if data hasn't changed).






share|improve this answer























  • That is probably the intended workflow: munin-monitoring.org/wiki/munin-graph Note that RRDtool has a built-in logic that determines whether it is necessary to create a graph or not. If you think you're smarter than RRDtool, the switch --nolazy will force creating the graph

    – r_3
    Dec 1 '14 at 16:21















0














I find that removing the generated graphs is enough to cause the standard munin cron jobs to regenerate them (even if data hasn't changed).






share|improve this answer























  • That is probably the intended workflow: munin-monitoring.org/wiki/munin-graph Note that RRDtool has a built-in logic that determines whether it is necessary to create a graph or not. If you think you're smarter than RRDtool, the switch --nolazy will force creating the graph

    – r_3
    Dec 1 '14 at 16:21













0












0








0







I find that removing the generated graphs is enough to cause the standard munin cron jobs to regenerate them (even if data hasn't changed).






share|improve this answer













I find that removing the generated graphs is enough to cause the standard munin cron jobs to regenerate them (even if data hasn't changed).







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 1 '14 at 13:46









Paul HaldanePaul Haldane

3,90211429




3,90211429












  • That is probably the intended workflow: munin-monitoring.org/wiki/munin-graph Note that RRDtool has a built-in logic that determines whether it is necessary to create a graph or not. If you think you're smarter than RRDtool, the switch --nolazy will force creating the graph

    – r_3
    Dec 1 '14 at 16:21

















  • That is probably the intended workflow: munin-monitoring.org/wiki/munin-graph Note that RRDtool has a built-in logic that determines whether it is necessary to create a graph or not. If you think you're smarter than RRDtool, the switch --nolazy will force creating the graph

    – r_3
    Dec 1 '14 at 16:21
















That is probably the intended workflow: munin-monitoring.org/wiki/munin-graph Note that RRDtool has a built-in logic that determines whether it is necessary to create a graph or not. If you think you're smarter than RRDtool, the switch --nolazy will force creating the graph

– r_3
Dec 1 '14 at 16:21





That is probably the intended workflow: munin-monitoring.org/wiki/munin-graph Note that RRDtool has a built-in logic that determines whether it is necessary to create a graph or not. If you think you're smarter than RRDtool, the switch --nolazy will force creating the graph

– r_3
Dec 1 '14 at 16:21













0














I've found that moving the files to the correct directories is the easiest way to move the data. This should work between server of the same architecture.



RRD uses hardware formats for binary (numeric) values, so in some cases it is necessary to dump and reload the data. If you do need do this, you need to dump on the original server and load on the new server. Using a shared directory (NFS, SMB, or SSHFS) may make this simpler.



You will need to copy (replicate) the munin configuration so it knows which servers to generate files for. The userid munin runs as will need write access to the output directories as well as read access to data (RRD) files. Write access is required to gather new data. Ideally, all files and directories will be owned by the account that is being used to run munin.



I would test with data for one server. I believe munin-graph contacts the monitored server to get the configuration for the graphs, although I did find a cache of the data in /var/lib/munin/datafile. If you haven't granted access to the new server yet, this may be causing your issue.






share|improve this answer























  • I tried to remove datafile and others, but it's possible that munin miss some information. As it call munin-node with config and fetch, the config information are not in the rrd files, then it should get from somewehere

    – mpromonet
    Dec 9 '14 at 10:15















0














I've found that moving the files to the correct directories is the easiest way to move the data. This should work between server of the same architecture.



RRD uses hardware formats for binary (numeric) values, so in some cases it is necessary to dump and reload the data. If you do need do this, you need to dump on the original server and load on the new server. Using a shared directory (NFS, SMB, or SSHFS) may make this simpler.



You will need to copy (replicate) the munin configuration so it knows which servers to generate files for. The userid munin runs as will need write access to the output directories as well as read access to data (RRD) files. Write access is required to gather new data. Ideally, all files and directories will be owned by the account that is being used to run munin.



I would test with data for one server. I believe munin-graph contacts the monitored server to get the configuration for the graphs, although I did find a cache of the data in /var/lib/munin/datafile. If you haven't granted access to the new server yet, this may be causing your issue.






share|improve this answer























  • I tried to remove datafile and others, but it's possible that munin miss some information. As it call munin-node with config and fetch, the config information are not in the rrd files, then it should get from somewehere

    – mpromonet
    Dec 9 '14 at 10:15













0












0








0







I've found that moving the files to the correct directories is the easiest way to move the data. This should work between server of the same architecture.



RRD uses hardware formats for binary (numeric) values, so in some cases it is necessary to dump and reload the data. If you do need do this, you need to dump on the original server and load on the new server. Using a shared directory (NFS, SMB, or SSHFS) may make this simpler.



You will need to copy (replicate) the munin configuration so it knows which servers to generate files for. The userid munin runs as will need write access to the output directories as well as read access to data (RRD) files. Write access is required to gather new data. Ideally, all files and directories will be owned by the account that is being used to run munin.



I would test with data for one server. I believe munin-graph contacts the monitored server to get the configuration for the graphs, although I did find a cache of the data in /var/lib/munin/datafile. If you haven't granted access to the new server yet, this may be causing your issue.






share|improve this answer













I've found that moving the files to the correct directories is the easiest way to move the data. This should work between server of the same architecture.



RRD uses hardware formats for binary (numeric) values, so in some cases it is necessary to dump and reload the data. If you do need do this, you need to dump on the original server and load on the new server. Using a shared directory (NFS, SMB, or SSHFS) may make this simpler.



You will need to copy (replicate) the munin configuration so it knows which servers to generate files for. The userid munin runs as will need write access to the output directories as well as read access to data (RRD) files. Write access is required to gather new data. Ideally, all files and directories will be owned by the account that is being used to run munin.



I would test with data for one server. I believe munin-graph contacts the monitored server to get the configuration for the graphs, although I did find a cache of the data in /var/lib/munin/datafile. If you haven't granted access to the new server yet, this may be causing your issue.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 7 '14 at 22:29









BillThor BillThor

24.8k22662




24.8k22662












  • I tried to remove datafile and others, but it's possible that munin miss some information. As it call munin-node with config and fetch, the config information are not in the rrd files, then it should get from somewehere

    – mpromonet
    Dec 9 '14 at 10:15

















  • I tried to remove datafile and others, but it's possible that munin miss some information. As it call munin-node with config and fetch, the config information are not in the rrd files, then it should get from somewehere

    – mpromonet
    Dec 9 '14 at 10:15
















I tried to remove datafile and others, but it's possible that munin miss some information. As it call munin-node with config and fetch, the config information are not in the rrd files, then it should get from somewehere

– mpromonet
Dec 9 '14 at 10:15





I tried to remove datafile and others, but it's possible that munin miss some information. As it call munin-node with config and fetch, the config information are not in the rrd files, then it should get from somewehere

– mpromonet
Dec 9 '14 at 10:15

















draft saved

draft discarded
















































Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f645761%2fexport-munin-data-import-it-and-rebuilt-html-and-graph%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos

How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords