Upgrade to NagiosXI 2012 without Internet?!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Upgrade to NagiosXI 2012 without Internet?!

Post by xpertech »

What Linux packages should be upgrade when upgrade From NagiosXI to NagiosXI 2012 without Internet connection?

One of our client can't connect to Internet for security reason, they upgrade NagiosXI to 2102 version by manual, but since some Linux packages didn't upgrade via Internet at the same time, so there could be error occurred?!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Upgrade to NagiosXI 2012 without Internet?!

Post by lmiltchev »

Our documentation states that:
Internet access is required for installation and upgrades!
http://assets.nagios.com/downloads/nagi ... stallation

There is no guarantee that an upgrade with no Internet access will succeed!

Nagios XI 2012 requires wkhtml to be installed. After extracting the tarball, take a look at subcomponents/wkhtml/install to see what's required. Also, the following is the current list of the RPM dependencies, although I'm not sure which ones are new compared to the version you're currently using.

Code: Select all

bc
bind-utils
dstat
expat-devel
fping
gcc
gd
gd-devel
glibc
glibc-common
graphviz
httpd
iptables
libmcrypt
libmcrypt-devel
make
mailx
mod_ssl
mrtg
mysql
mysql-devel
mysql-server
net-snmp
net-snmp-libs
net-snmp-utils
nmap
numpy
openldap
openldap-devel
openssl
openssl-devel
perl
perl(CPAN)
perl(Crypt::SSLeay)
perl(Error)
perl(HTTP::Cookies)
perl(HTTP::Request::Common)
perl-Mail-IMAPClient
perl(Mail::POP3Client)
perl(Net::SMTP)
perl(Net::SMTP::TLS)
perl(Time::HiRes)
perl(XML::Parser)
perl(XML::Simple)
perl-DBD-MySQL
perl-Net-DNS
perl-Net-SNMP
php
php-gd
php-mcrypt
php-mssql
php-mysql
php-pear
php-pear-HTML-Template-IT
php-pgsql
php-snmp
php-xml
postgresql
postgresql-devel
postgresql-libs
postgresql-server
pymssql
python-lxml
python-simplejson
rpmdevtools
rrdtool
rrdtool-perl
rrdtool-python
sudo
sysstat
traceroute
unzip
wget
xinetd
zip
Be sure to check out our Knowledgebase for helpful articles and solutions!
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: Upgrade to NagiosXI 2012 without Internet?!

Post by xpertech »

Sorry, the actual situation was our client upgrade to NagiosXI 2012 via proxy connection, but there were many restrictions at gateway firewall(hard to change...) and had some error(see attachment), after upgrade process, NagiosXI running well as usual except system log were empty?!
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade to NagiosXI 2012 without Internet?!

Post by scottwilkerson »

One thing I notice here is that it looks like localhost hasn't been added to the no_proxy in /etc/wgetrc
http://support.nagios.com/wiki/index.ph ... th_Proxies
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: Upgrade to NagiosXI 2012 without Internet?!

Post by xpertech »

Another problem, the system log were all missing? where is the system log file locate?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade to NagiosXI 2012 without Internet?!

Post by scottwilkerson »

system logs on these machines are in /var/log/messages
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: Upgrade to NagiosXI 2012 without Internet?!

Post by xpertech »

scottwilkerson wrote:system logs on these machines are in /var/log/messages
if there were no logs on NagiosXI system log page, what could be the problem?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade to NagiosXI 2012 without Internet?!

Post by scottwilkerson »

Do you mean Reports -> Event Log ?

If so, is the monitoring engine running?
service nagios status
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: Upgrade to NagiosXI 2012 without Internet?!

Post by xpertech »

scottwilkerson wrote:Do you mean Reports -> Event Log ?

If so, is the monitoring engine running?
service nagios status
Yes, everything including Email-Alert were running well, except no logs!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade to NagiosXI 2012 without Internet?!

Post by scottwilkerson »

Actually, it ocould be database corruption, can you run

Code: Select all

 vi /usr/local/nagiosxi/scripts/repairmysql.sh nagios
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked