migrating observium to a new server

Is anyone aware of any documentation to migrate an observing installation to a new server? I am moving from CentOS 6 to CentOS 7 for security and PHP reasons. If anyone has any pointers, I would greatly appreciate it.
Thanks,
Shawn Faulkingham

Copy MySQL db, config.php and RRD folder.
At a push you can copy config.php and RRD folder and just re-add devices. You lose database history and logs though.
Adam.
Sent from BlueMail
On 6 Mar 2017, 14:40, at 14:40, Shawn Faulkingham shawn@indoff.com wrote:
Is anyone aware of any documentation to migrate an observing installation to a new server? I am moving from CentOS 6 to CentOS 7 for security and PHP reasons. If anyone has any pointers, I would greatly appreciate it.
Thanks,
Shawn Faulkingham
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

I have completed this, and it seems to be working; discovery.php and poller runs at the command line. I can see my history in the graphs; however, nothing is being added/recorded. Anything I can check to make sure that my graphing works?
Thanks,
Shawn Faulkingham Chief Information Officer Indoff Inc. http://www.indoff.com [image: Google Plus] https://plus.google.com/113851128044846366068 [image: LinkedIn] http://www.linkedin.com/in/shawnfaulkingham [image: Twitter] https://twitter.com/SDFaulkingham
On Mon, Mar 6, 2017 at 8:45 AM, Adam Armstrong adama@memetic.org wrote:
Copy MySQL db, config.php and RRD folder.
At a push you can copy config.php and RRD folder and just re-add devices. You lose database history and logs though.
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=9066 On 6 Mar 2017, at 14:40, Shawn Faulkingham shawn@indoff.com wrote:
Is anyone aware of any documentation to migrate an observing installation to a new server? I am moving from CentOS 6 to CentOS 7 for security and PHP reasons. If anyone has any pointers, I would greatly appreciate it.
Thanks,
Shawn Faulkingham
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

What do you mean by added/recorded?
adam. On 06/03/2017 19:57:24, Shawn Faulkingham shawn@indoff.com wrote: I have completed this, and it seems to be working; discovery.php and poller runs at the command line. I can see my history in the graphs; however, nothing is being added/recorded. Anything I can check to make sure that my graphing works?
Thanks,
Shawn Faulkingham Chief Information Officer Indoff Inc. http://www.indoff.com [http://www.indoff.com/] [Google Plus] [https://plus.google.com/113851128044846366068] [LinkedIn] [http://www.linkedin.com/in/shawnfaulkingham] [Twitter] [https://twitter.com/SDFaulkingham]
On Mon, Mar 6, 2017 at 8:45 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
Copy MySQL db, config.php and RRD folder.
At a push you can copy config.php and RRD folder and just re-add devices. You lose database history and logs though.
Adam.
Sent from BlueMail [http://www.bluemail.me/r?b=9066] On 6 Mar 2017, at 14:40, Shawn Faulkingham <shawn@indoff.com [mailto:shawn@indoff.com]> wrote: Is anyone aware of any documentation to migrate an observing installation to a new server? I am moving from CentOS 6 to CentOS 7 for security and PHP reasons. If anyone has any pointers, I would greatly appreciate it.
Thanks,
Shawn Faulkingham
observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Sounds like the cron jobs are not (correctly) installed.
Tom
On 06/03/2017 21:00, Adam Armstrong wrote:
What do you mean by added/recorded?
adam.
On 06/03/2017 19:57:24, Shawn Faulkingham shawn@indoff.com wrote:
I have completed this, and it seems to be working; discovery.php and poller runs at the command line. I can see my history in the graphs; however, nothing is being added/recorded. Anything I can check to make sure that my graphing works?
Thanks,
Shawn Faulkingham Chief Information Officer Indoff Inc. http://www.indoff.com http://www.indoff.com/
Google Plus https://plus.google.com/113851128044846366068LinkedIn http://www.linkedin.com/in/shawnfaulkinghamTwitter https://twitter.com/SDFaulkingham
On Mon, Mar 6, 2017 at 8:45 AM, Adam Armstrong <adama@memetic.org mailto:adama@memetic.org> wrote:
Copy MySQL db, config.php and RRD folder. At a push you can copy config.php and RRD folder and just re-add devices. You lose database history and logs though. Adam. Sent from BlueMail <http://www.bluemail.me/r?b=9066> On 6 Mar 2017, at 14:40, Shawn Faulkingham <shawn@indoff.com <mailto:shawn@indoff.com>> wrote: Is anyone aware of any documentation to migrate an observing installation to a new server? I am moving from CentOS 6 to CentOS 7 for security and PHP reasons. If anyone has any pointers, I would greatly appreciate it. Thanks, Shawn Faulkingham ------------------------------------------------------------------------ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium <http://postman.memetic.org/cgi-bin/mailman/listinfo/observium> _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium <http://postman.memetic.org/cgi-bin/mailman/listinfo/observium>
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

The data for the graphing is not coming through. It says all the devices are up, but no data (network, cpu, etc). Cron log shows the jobs running.
Regards,
Shawn Faulkingham Chief Information Officer Indoff Inc. http://www.indoff.com [image: Google Plus] https://plus.google.com/113851128044846366068 [image: LinkedIn] http://www.linkedin.com/in/shawnfaulkingham [image: Twitter] https://twitter.com/SDFaulkingham
On Mon, Mar 6, 2017 at 2:06 PM, Tom Laermans tom.laermans@powersource.cx wrote:
Sounds like the cron jobs are not (correctly) installed.
Tom
On 06/03/2017 21:00, Adam Armstrong wrote:
What do you mean by added/recorded?
adam.
On 06/03/2017 19:57:24, Shawn Faulkingham shawn@indoff.com shawn@indoff.com wrote: I have completed this, and it seems to be working; discovery.php and poller runs at the command line. I can see my history in the graphs; however, nothing is being added/recorded. Anything I can check to make sure that my graphing works?
Thanks,
Shawn Faulkingham Chief Information Officer Indoff Inc. http://www.indoff.com [image: Google Plus] https://plus.google.com/113851128044846366068 [image: LinkedIn] http://www.linkedin.com/in/shawnfaulkingham [image: Twitter] https://twitter.com/SDFaulkingham
On Mon, Mar 6, 2017 at 8:45 AM, Adam Armstrong adama@memetic.org wrote:
Copy MySQL db, config.php and RRD folder.
At a push you can copy config.php and RRD folder and just re-add devices. You lose database history and logs though.
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=9066 On 6 Mar 2017, at 14:40, Shawn Faulkingham shawn@indoff.com wrote:
Is anyone aware of any documentation to migrate an observing installation to a new server? I am moving from CentOS 6 to CentOS 7 for security and PHP reasons. If anyone has any pointers, I would greatly appreciate it.
Thanks,
Shawn Faulkingham
observium mailing listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list
observium@observium.org http://postman.memetic.org/cgi -bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/ cgi-bin/mailman/listinfo/observium
observium mailing listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Have you checked the permissions on the rrd dir?
If you run a poller manually, does it update the rrds & your graphs show a single data point?
On 7 March 2017 7:41:18 AM LHDT, Shawn Faulkingham shawn@indoff.com wrote:
The data for the graphing is not coming through. It says all the devices are up, but no data (network, cpu, etc). Cron log shows the jobs running.
Regards,
Shawn Faulkingham Chief Information Officer Indoff Inc. http://www.indoff.com [image: Google Plus] https://plus.google.com/113851128044846366068 [image: LinkedIn] http://www.linkedin.com/in/shawnfaulkingham [image: Twitter] https://twitter.com/SDFaulkingham
On Mon, Mar 6, 2017 at 2:06 PM, Tom Laermans tom.laermans@powersource.cx wrote:
Sounds like the cron jobs are not (correctly) installed.
Tom
On 06/03/2017 21:00, Adam Armstrong wrote:
What do you mean by added/recorded?
adam.
On 06/03/2017 19:57:24, Shawn Faulkingham shawn@indoff.com shawn@indoff.com wrote: I have completed this, and it seems to be working; discovery.php and poller runs at the command line. I can see my history in the graphs; however, nothing is being added/recorded. Anything I can check to
make sure
that my graphing works?
Thanks,
Shawn Faulkingham Chief Information Officer Indoff Inc. http://www.indoff.com [image: Google Plus] https://plus.google.com/113851128044846366068
[image:
LinkedIn] http://www.linkedin.com/in/shawnfaulkingham [image:
Twitter]
https://twitter.com/SDFaulkingham
On Mon, Mar 6, 2017 at 8:45 AM, Adam Armstrong adama@memetic.org
wrote:
Copy MySQL db, config.php and RRD folder.
At a push you can copy config.php and RRD folder and just re-add
devices.
You lose database history and logs though.
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=9066 On 6 Mar 2017, at 14:40, Shawn Faulkingham shawn@indoff.com wrote:
Is anyone aware of any documentation to migrate an observing installation to a new server? I am moving from CentOS 6 to CentOS 7
for
security and PHP reasons. If anyone has any pointers, I would
greatly
appreciate it.
Thanks,
Shawn Faulkingham
observium mailing
listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing
list
observium@observium.org http://postman.memetic.org/cgi -bin/mailman/listinfo/observium
_______________________________________________ observium mailing
list
observium@observium.org http://postman.memetic.org/ cgi-bin/mailman/listinfo/observium
observium mailing
listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Yeah, probably permissions, though this is odd when the cron jobs run as root by default!
./poller.php -h <hostname> -d
Will maybe give you error messages somewhere when it tries to update the RRDs.
Adam.
Sent from BlueMail
On 6 Mar 2017, 21:11, at 21:11, Michael obslist@smarsz.com wrote:
Have you checked the permissions on the rrd dir?
If you run a poller manually, does it update the rrds & your graphs show a single data point?
On 7 March 2017 7:41:18 AM LHDT, Shawn Faulkingham shawn@indoff.com wrote:
The data for the graphing is not coming through. It says all the devices are up, but no data (network, cpu, etc). Cron log shows the jobs running.
Regards,
Shawn Faulkingham Chief Information Officer Indoff Inc. http://www.indoff.com [image: Google Plus] https://plus.google.com/113851128044846366068 [image: LinkedIn] http://www.linkedin.com/in/shawnfaulkingham [image: Twitter] https://twitter.com/SDFaulkingham
On Mon, Mar 6, 2017 at 2:06 PM, Tom Laermans tom.laermans@powersource.cx wrote:
Sounds like the cron jobs are not (correctly) installed.
Tom
On 06/03/2017 21:00, Adam Armstrong wrote:
What do you mean by added/recorded?
adam.
On 06/03/2017 19:57:24, Shawn Faulkingham shawn@indoff.com shawn@indoff.com wrote: I have completed this, and it seems to be working; discovery.php and poller runs at the command line. I can see my history in the graphs; however, nothing is being added/recorded. Anything I can check to
make sure
that my graphing works?
Thanks,
Shawn Faulkingham Chief Information Officer Indoff Inc. http://www.indoff.com [image: Google Plus] https://plus.google.com/113851128044846366068
[image:
LinkedIn] http://www.linkedin.com/in/shawnfaulkingham [image:
Twitter]
https://twitter.com/SDFaulkingham
On Mon, Mar 6, 2017 at 8:45 AM, Adam Armstrong adama@memetic.org
wrote:
Copy MySQL db, config.php and RRD folder.
At a push you can copy config.php and RRD folder and just re-add
devices.
You lose database history and logs though.
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=9066 On 6 Mar 2017, at 14:40, Shawn Faulkingham shawn@indoff.com
wrote:
Is anyone aware of any documentation to migrate an observing installation to a new server? I am moving from CentOS 6 to CentOS
7
for
security and PHP reasons. If anyone has any pointers, I would
greatly
appreciate it.
Thanks,
Shawn Faulkingham
observium mailing
listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing
list
observium@observium.org http://postman.memetic.org/cgi -bin/mailman/listinfo/observium
_______________________________________________ observium mailing
list
observium@observium.org http://postman.memetic.org/ cgi-bin/mailman/listinfo/observium
observium mailing
listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

That was it. For some reason I had all the directories owner:group to apache:apache. Changed to root:root and it is recording data again. Thanks for the help. Pretty easy move except for the perms.
Regards,
Shawn Faulkingham Chief Information Officer Indoff Inc. http://www.indoff.com [image: Google Plus] https://plus.google.com/113851128044846366068 [image: LinkedIn] http://www.linkedin.com/in/shawnfaulkingham [image: Twitter] https://twitter.com/SDFaulkingham
On Mon, Mar 6, 2017 at 3:32 PM, Adam Armstrong adama@memetic.org wrote:
Yeah, probably permissions, though this is odd when the cron jobs run as root by default!
./poller.php -h <hostname> -d
Will maybe give you error messages somewhere when it tries to update the RRDs.
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=9066 On 6 Mar 2017, at 21:11, Michael obslist@smarsz.com wrote:
Have you checked the permissions on the rrd dir?
If you run a poller manually, does it update the rrds & your graphs show a single data point?
On 7 March 2017 7:41:18 AM LHDT, Shawn Faulkingham shawn@indoff.com wrote:
The data for the graphing is not coming through. It says all the devices are up, but no data (network, cpu, etc). Cron log shows the jobs running.
Regards,
Shawn Faulkingham Chief Information Officer Indoff Inc. http://www.indoff.com [image: Google Plus] https://plus.google.com/113851128044846366068 [image: LinkedIn] http://www.linkedin.com/in/shawnfaulkingham [image: Twitter] https://twitter.com/SDFaulkingham
On Mon, Mar 6, 2017 at 2:06 PM, Tom Laermans tom.laermans@powersource.cx wrote:
Sounds like the cron jobs are not (correctly) installed.
Tom
On 06/03/2017 21:00, Adam Armstrong wrote:
What do you mean by added/recorded?
adam.
On 06/03/2017 19:57:24, Shawn Faulkingham shawn@indoff.com shawn@indoff.com wrote: I have completed this, and it seems to be working; discovery.php and poller runs at the command line. I can see my history in the graphs; however, nothing is being added/recorded. Anything I can check to
make sure
that my graphing works?
Thanks,
Shawn Faulkingham Chief Information Officer Indoff Inc. http://www.indoff.com [image: Google Plus] https://plus.google.com/113851128044846366068
[image:
LinkedIn] http://www.linkedin.com/in/shawnfaulkingham [image:
Twitter]
https://twitter.com/SDFaulkingham
On Mon, Mar 6, 2017 at 8:45 AM, Adam Armstrong adama@memetic.org
wrote:
Copy MySQL db, config.php and RRD folder.
At a push you can copy config.php and RRD folder and just re-add
devices.
You lose database history and logs though.
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=9066 On 6 Mar 2017, at 14:40, Shawn Faulkingham shawn@indoff.com wrote:
Is anyone aware of any documentation to migrate an observing
installation to a new server? I am moving from CentOS 6 to CentOS 7
for
security and PHP reasons. If anyone has any pointers, I would
greatly
appreciate it.
Thanks,
Shawn Faulkingham
observium mailing
listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing
list
observium@observium.org http://postman.memetic.org/cgi
-bin/mailman/listinfo/observium
observium mailing
list
observium@observium.org http://postman.memetic.org/ cgi-bin/mailman/listinfo/observium
observium mailing
listobservium@observium.orghttp://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (4)
-
Adam Armstrong
-
Michael
-
Shawn Faulkingham
-
Tom Laermans