Title: Re: [smokeping-users] Migrate RRD data to seperate server
See your config file for

datadir  = /var/lib/smokeping/rrd

The datadir is where the RRD files are located. [That line above is my working config on one of my boxes...]

(I just pulled your up and see: datadir  = /usr/local/smokeping/var/data - so your assumption below was right.)

I know nothing about remote mount points, and I'm not sure how that's going to work.
[My guess is the RRD daemon won't be able to successfully read/write to a remote CIFS mounted drive. But really, I dunno.]

Perhaps:
Have you checked with the rrd tools to see if they can open the data-files on the remote mount? 
You might get a useful error message or logs from trying that.
If you can open read/write the files with rrdtool, then SP ought to work right too.

Bigger, more basic question:
However, why not move the whole thing, vs just the data?
If you want to split things, then perhaps reading up on master/slave servers would be a good plan and migrate the config/install that direction.

-Greg



hi,

Thanks for your reply. I attached my config also. Image directory resides in /var/www/html/smokeping-ms/cache. Followings are the content of that directory.
drwxr-xr-x 6 apache apache  4096 Dec 31  2009 .
drwxr-xr-x 3 apache apache  4096 Dec 31  2009 ..
drwxr-xr-x 2 apache apache  4096 Jan 18 09:12 __chartscache
drwxr-xr-x 2 apache apache  4096 Apr 10 09:31 __navcache
drwxr-xr-x 7 apache apache  4096 Dec 31  2009 network
-rw-r--r-- 1 apache apache  3908 Aug  8  2009 rrdtool.png
-rw-r--r-- 1 apache apache  4382 Aug  8  2009 smokeping.png
drwxr-xr-x 3 apache apache 69632 Feb 22 16:22 Test

Is it ok to migrate them to the my remote server ? or do I need to migrate both this directory and rrd directory (/usr/local/smokeping/var/data) ?

Please provide me a way to solve this ? I really appreciate your kind help

Thanks




Date: Mon, 9 Apr 2012 12:55:18 -0400
Subject: Re: [smokeping-users] Migrate RRD data to seperate server
From: [email protected]
To: [email protected]

Don't hold me to it, but I think you're accessing the wrong data. The data is usually stored I where Apache's httpdocs are, in a folder called cache. In my case that's /var/www/html/cache. Note that I do have a custom setup, but if you like, when I get home I can attach the part of my SmokePing config that handles that.
On Apr 9, 2012 7:27 AM, "Smokeping slt" <
[email protected]> wrote:
hi all, 

Im experiencing heavy I/O in my smokeping server. Because of  that it is required to migrate my rrd folder to separate server and redirect smokeping data to that server.
My config file attached here.

Here are the steps I followed.
1) Create remote mount point to the smokeping server

 vi /etc/fstab --------------------------->  //<remote-ip>/smokeping   /mnt/smokeping cifs username=xxx,password=xxx 0 0

2) I think my all rrd files stored in /usr/local/smokeping/var/data .Then I copied all rrd data to the newer folder in remote server

3) I created a soft link ---------------->  cd /usr/local/smokeoping/var 
                                                         ln -s data /mnt/smokeping

I can successfully access the remote mount point. During that time It did not update the graphs in my web server.(attached graph) .

http://smokeping/smokeping/smokeping.cgi/test-node

 Then I revert back the config to my previous one.


Please provide me a way to migrate all my rrd files in smokeping server to remote one. I cannot understand why my method did not work. 

What is the actual file location of my rrd file ? Am I accessing to wrong data. Please help me

thanks





_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users


-- 
Gregory Sloop, Principal: Sloop Network & Computer Consulting
Voice: 503.251.0452 x82
EMail: 
[email protected]
http://www.sloop.net
---
_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to