Centos/nagiosxi migration 7
Re: Centos/nagiosxi migration 7
whats the difference in
nagiosxi-5.5.8-1.el7.x86_64.tar.gz 96.00M 12/26/2018 11:40 -05:00 e1efa7c2d3f45d7ee2cdb14e99c298fc
nagiosxi-5.5.8-1.el6.x86_64.tar.gz 124.46M 12/26/2018 11:38 -05:00 48df3c69773bdfe2e5a2bc45e8429ac1
or is there a better place to get 5.5.8 from?
nagiosxi-5.5.8-1.el7.x86_64.tar.gz 96.00M 12/26/2018 11:40 -05:00 e1efa7c2d3f45d7ee2cdb14e99c298fc
nagiosxi-5.5.8-1.el6.x86_64.tar.gz 124.46M 12/26/2018 11:38 -05:00 48df3c69773bdfe2e5a2bc45e8429ac1
or is there a better place to get 5.5.8 from?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Centos/nagiosxi migration 7
This is CentOS7
This is CentOS6
Code: Select all
nagiosxi-5.5.8-1.el7.x86_64.tar.gz
Code: Select all
nagiosxi-5.5.8-1.el6.x86_64.tar.gz
Re: Centos/nagiosxi migration 7
hhhhmmmmm
--- ccm_export.php -------------------
> Writing CCM configuration to Nagios files
Finished writing out configuraton
--------------------------------------
--------------------------------------
> Verifying configuration with Nagios Core
> Output:
Nagios Core 4.4.2
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2018-08-16
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 12 services.
Checked 1 hosts.
Checked 1 host groups.
Checked 0 service groups.
Checked 2 contacts.
Checked 2 contact groups.
Checked 127 commands.
Checked 8 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 8 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
> Return Code: 0
--------------------------------------
CCM data imported OK.
RESULT=0
Running './F-startdaemons'...
Daemons started OK
RESULT=0
Running './Z-webroot'...
RESULT=0
success
success
Error: Cannot open file php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: [Errno 2] No such file or directory: 'php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm'
TypeError: an integer is required
FATAL ERROR: python callback <bound method RPMTransaction.callback of <yum.rpmtrans.RPMTransaction instance at 0x7f5a0b952050>> failed, aborting!
[root@nagiosxi2 nagiosxi]#
If you want the full log please let me know where to get it from
--- ccm_export.php -------------------
> Writing CCM configuration to Nagios files
Finished writing out configuraton
--------------------------------------
--------------------------------------
> Verifying configuration with Nagios Core
> Output:
Nagios Core 4.4.2
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2018-08-16
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 12 services.
Checked 1 hosts.
Checked 1 host groups.
Checked 0 service groups.
Checked 2 contacts.
Checked 2 contact groups.
Checked 127 commands.
Checked 8 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 8 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
> Return Code: 0
--------------------------------------
CCM data imported OK.
RESULT=0
Running './F-startdaemons'...
Daemons started OK
RESULT=0
Running './Z-webroot'...
RESULT=0
success
success
Error: Cannot open file php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: [Errno 2] No such file or directory: 'php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm'
TypeError: an integer is required
FATAL ERROR: python callback <bound method RPMTransaction.callback of <yum.rpmtrans.RPMTransaction instance at 0x7f5a0b952050>> failed, aborting!
[root@nagiosxi2 nagiosxi]#
If you want the full log please let me know where to get it from
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Centos/nagiosxi migration 7
Where are you seeing this data? It looks like everything installed properly, not sure why you got an error regarding php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm
Re: Centos/nagiosxi migration 7
output from ./fullinstall script,
the login screen does come up on this though
now they are both 5.5.8 I'll carry on with migration, see what happens
the login screen does come up on this though
now they are both 5.5.8 I'll carry on with migration, see what happens
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Centos/nagiosxi migration 7
sounds goodsharding wrote:output from ./fullinstall script,
the login screen does come up on this though
now they are both 5.5.8 I'll carry on with migration, see what happens
Re: Centos/nagiosxi migration 7
ok so I worked throught the backup and restore doc. and ran the restore repair which was fine, I then saw the last nit that linked to
https://support.nagios.com/kb/article.php?id=166
the first block of code does not ever finish or even generate the perfdata tarball, do I have to do this step, if we don't care about moving over graph data?
is that the only thing that;s missing is the graph data?
https://support.nagios.com/kb/article.php?id=166
the first block of code does not ever finish or even generate the perfdata tarball, do I have to do this step, if we don't care about moving over graph data?
is that the only thing that;s missing is the graph data?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Centos/nagiosxi migration 7
You would only need to do any of that if you are switching from a 32bit to 64bit system.
Re: Centos/nagiosxi migration 7
which we are - my question is what data does it move?
it is not working as I mentioned , so if it needs to be done then I would prefer a remote session for assistance in doing this
it is not working as I mentioned , so if it needs to be done then I would prefer a remote session for assistance in doing this
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Centos/nagiosxi migration 7
If you don't care about moving over performance data (which can take hours to complete), you can just run the following on the new server
this will delete all the existing perfdata and allow new records to be created.
Code: Select all
rm -rf /var/lib/mrtg/*
rm -rf /usr/local/nagios/share/perfdata/*