Centos/nagiosxi migration 7

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sharding
Posts: 138
Joined: Thu Nov 08, 2012 11:08 am

Re: Centos/nagiosxi migration 7

Post by sharding »

hours to complete, I did not know that, there was no warning in the migration document, maybe it was working, I'll try the first one again overnight
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Centos/nagiosxi migration 7

Post by scottwilkerson »

sharding wrote:hours to complete, I did not know that, there was no warning in the migration document, maybe it was working, I'll try the first one again overnight
sounds good. It also take a ton of disk space to complete, extracting the rrd files into something that can be migrated can take a TON of disk space.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
sharding
Posts: 138
Joined: Thu Nov 08, 2012 11:08 am

Re: Centos/nagiosxi migration 7

Post by sharding »

the first one ran, it created a 2 GB perfdata file, that's nothing we have over 30 GB free, the new server has over 200 GB free !
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Centos/nagiosxi migration 7

Post by scottwilkerson »

sharding wrote:the first one ran, it created a 2 GB perfdata file, that's nothing we have over 30 GB free, the new server has over 200 GB free !
Ya, it can just take more than that while creating it. Some people try to make the file when they have virtually no space available
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
sharding
Posts: 138
Joined: Thu Nov 08, 2012 11:08 am

Re: Centos/nagiosxi migration 7

Post by sharding »

so first restore, it looked like it was working fine then a whole bunch of folders gave this error

ERROR: creating './WG-MDF-N2048_Stack/_HOST_.rrd': File exists
ERROR: creating './PHS-IDF-SS/_HOST_.rrd': File exists
ERROR: creating './PEHS-MDF-ISCSI-CORE/_HOST_.rrd': File exists
ERROR: creating './HG_-_PNHS_Radio/_HOST_.rrd': File exists
ERROR: creating './PEHS-300-2-G2/_HOST_.rrd': File exists
ERROR: creating './PSHS-IDF_300-1/_HOST_.rrd': File exists
ERROR: creating './PSHS-IDF_SS/_HOST_.rrd': File exists
ERROR: creating './cs-lync-sba.psd202.org/_HOST_.rrd': File exists
ERROR: creating './CL_-_RV_Radio/_HOST_.rrd': File exists
ERROR: creating './TJ_Aruba/_HOST_.rrd': File exists
ERROR: creating './PSHS-IDF_208/_HOST_.rrd': File exists
ERROR: creating './pa-dvr1/_HOST_.rrd': File exists
ERROR: creating './pa-dvr1/PING.rrd': File exists
ERROR: creating './ij-wapp.psd202.org/_HOST_.rrd': File exists
ERROR: creating './ij-wapp.psd202.org/Ping.rrd': File exists
ERROR: creating './ij-wapp.psd202.org/SCCM_URL_Status.rrd': File exists
ERROR: creating './HG-MDF-4000-ROUTER/_HOST_.rrd': File exists
ERROR: creating './JFK_Aruba/_HOST_.rrd': File exists
ERROR: creating './PNHS-300-2/_HOST_.rrd': File exists
ERROR: creating './PEHS_Aruba/_HOST_.rrd': File exists
ERROR: creating './CS_-_LF_Radio/_HOST_.rrd': File exists
ERROR: creating './PSHS-N4032-ROUTER/_HOST_.rrd': File exists
ERROR: creating './DTC-GC-Rack5-SW/_HOST_.rrd': File exists
ERROR: creating './ri-lync-gw/_HOST_.rrd': File exists
ERROR: creating './tj-wapp.psd202.org/_HOST_.rrd': File exists
ERROR: creating './tj-wapp.psd202.org/Ping.rrd': File exists
ERROR: creating './tj-wapp.psd202.org/SCCM_URL_Status.rrd': File exists
ERROR: creating './Barracuda_-_PEHS_Backup/_HOST_.rrd': File exists
ERROR: creating './EP_-_PNHS_Radio/_HOST_.rrd': File exists
ERROR: creating './fr-wapp.psd202.org/_HOST_.rrd': File exists
ERROR: creating './fr-wapp.psd202.org/Ping.rrd': File exists
ERROR: creating './fr-wapp.psd202.org/SCCM_URL_Status.rrd': File exists

does that mean it couldn't overwrite or there was no data to replace? or what should I do here?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Centos/nagiosxi migration 7

Post by scottwilkerson »

These files were likely updated while you were performing the data transfer

If they are still showing performance data you should be fine.

Otherwise you may need to stop nagios for a few minutes while you perform the restore.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
sharding
Posts: 138
Joined: Thu Nov 08, 2012 11:08 am

Re: Centos/nagiosxi migration 7

Post by sharding »

ok what's the nagios stop and start cmd ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Centos/nagiosxi migration 7

Post by scottwilkerson »

sharding wrote:ok what's the nagios stop and start cmd ?

Code: Select all

systemctl stop nagios
and

Code: Select all

systemctl start nagios
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
sharding
Posts: 138
Joined: Thu Nov 08, 2012 11:08 am

Re: Centos/nagiosxi migration 7

Post by sharding »

seeing same errors, if this is only graph data, I think we'll move on here, not the end of the world, I am going to do some testing then I will need to shutdown the old 32 bit live server, put ip into new 64 bit server then bring up and allow everything to check back in.

(we use the nagios++ client to only talk to the live address so tons show as issues on a temp ip)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Centos/nagiosxi migration 7

Post by scottwilkerson »

sharding wrote:seeing same errors, if this is only graph data, I think we'll move on here, not the end of the world, I am going to do some testing then I will need to shutdown the old 32 bit live server, put ip into new 64 bit server then bring up and allow everything to check back in.

(we use the nagios++ client to only talk to the live address so tons show as issues on a temp ip)
Yes it is only graph data
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked