Nagios LogServer Offline Instructions

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios LogServer Offline Instructions

Post by cdienger »

I used these additional commands to make sure I was removing all the files that the installer and upgrade try to install:

Code: Select all

rm /usr/bin/wkhtmlto*
rm /usr/local/ncpa
rm /tmp/nagioslogserver/installed.*
yum remove ncpa
yum remove wkhtmltox
These steps in addition to https://support.nagios.com/kb/article/n ... e-496.html and https://support.nagios.com/kb/article/n ... n-495.html should allow you to do both the install and upgrade. The NCPA and wkhtmltox packages should be downloaded on an internet facing machine, and then copied over to the offline machine.

Copy the ncpa rpm to /tmp/nagioslogserver/subcomponents/ncpa/ and edit /tmp/nagioslogserver/subcomponents/install. Comment out line 41 and change line 46:

Code: Select all

40 # Download a new package
41 #wget "$assets$pkgname"
42
43 if [ "$distro" == "Debian" ] || [ "$distro" == "Ubuntu" ]; then
44 dpkg --force-confnew -i "$pkgname"
45 else
46 yum localinstall -y *.rpm
47 fi
Then copy the wkhtmltox rpm to /tmp/nagioslogserver/subcomponents/wkhtmltox/, edit /tmp/nagioslogserver/subcomponents/wkhtmltox/install, comment out line 38, 41 and change line 46:

Code: Select all

     38     #rm -rf wkhtmlto*
     39
     40     # Download a new package
     41     assets="https://assets.nagios.com/downloads/nagiosxi/packages/"
     42     #wget "$assets$pkgname"
     43
     44     if [ "$distro" == "Debian" ] || [ "$distro" == "Ubuntu" ]; then
     45         dpkg -i "$pkgname"
     46     else
     47         yum localinstall -y *.rpm
     48     fi
Note the above are for Cent/RHEL installs.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
scott.brown8
Posts: 13
Joined: Thu Jan 23, 2020 4:16 pm

Re: Nagios LogServer Offline Instructions

Post by scott.brown8 »

Any luck with getting that finished?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios LogServer Offline Instructions

Post by cdienger »

Not yet, but the previous post should do the trick. Have you gone through them?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked