Page 1 of 2
Upgrade to NagiosXI 2012 without Internet?!
Posted: Thu Nov 15, 2012 1:52 pm
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?!
Re: Upgrade to NagiosXI 2012 without Internet?!
Posted: Thu Nov 15, 2012 2:17 pm
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
Re: Upgrade to NagiosXI 2012 without Internet?!
Posted: Thu Nov 15, 2012 9:14 pm
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?!
Re: Upgrade to NagiosXI 2012 without Internet?!
Posted: Fri Nov 16, 2012 8:21 am
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
Re: Upgrade to NagiosXI 2012 without Internet?!
Posted: Fri Nov 23, 2012 9:06 pm
by xpertech
Another problem, the system log were all missing? where is the system log file locate?
Re: Upgrade to NagiosXI 2012 without Internet?!
Posted: Sat Nov 24, 2012 9:35 pm
by scottwilkerson
system logs on these machines are in /var/log/messages
Re: Upgrade to NagiosXI 2012 without Internet?!
Posted: Sat Nov 24, 2012 10:12 pm
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?
Re: Upgrade to NagiosXI 2012 without Internet?!
Posted: Sat Nov 24, 2012 11:26 pm
by scottwilkerson
Do you mean Reports -> Event Log ?
If so, is the monitoring engine running?
service nagios status
Re: Upgrade to NagiosXI 2012 without Internet?!
Posted: Sat Nov 24, 2012 11:32 pm
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!
Re: Upgrade to NagiosXI 2012 without Internet?!
Posted: Sun Nov 25, 2012 9:40 am
by scottwilkerson
Actually, it ocould be database corruption, can you run
Code: Select all
vi /usr/local/nagiosxi/scripts/repairmysql.sh nagios