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;
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
add a comment |
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
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
add a comment |
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
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
linux munin graph
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
add a comment |
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
add a comment |
2 Answers
2
active
oldest
votes
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).
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
add a comment |
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.
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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).
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
add a comment |
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).
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
add a comment |
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).
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).
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
add a comment |
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
add a comment |
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.
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
add a comment |
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.
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
add a comment |
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.
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.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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