Page 2 of 2
Re: Nagios xi offline install
Posted: Tue Sep 13, 2016 5:06 pm
by vuduops
This is not a kickstart issue. This is an issue with the nagios-xi install. As you can see it is failing at step 6.
MySQL initialized OK
Database servers initialized OK
RESULT=0
Running './4-services'...
/etc/services updated
RESULT=0
Running './5-sudoers'...
sudoers configured OK
RESULT=0
Running './6-firewall'...
iptables: Applying firewall rules: iptables-restore v1.4.7: iptables-restore: unable to initialize table 'filter'
Error occurred at line: 3
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
[FAILED]^M
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './6-firewall'
-Krishna
Re: Nagios xi offline install
Posted: Wed Sep 14, 2016 9:28 am
by rkennedy
Try enabling the module as this post mentions (
http://askubuntu.com/questions/28215/ho ... ble-filter) -
Code: Select all
modprobe /lib/modules/$(uname -r)/kernel/net/ipv4/netfilter/iptable_filter.ko
Re: Nagios xi offline install
Posted: Wed Sep 14, 2016 12:40 pm
by vuduops
Wanted to check if you had chance to look at my question. We disable firewall during the kickstart. Is there a way I can have the fullinstall skip the iptables setup?
-Krishna
Re: Nagios xi offline install
Posted: Wed Sep 14, 2016 1:21 pm
by bwallace
If you really want to skip the iptables setup then you can always try commenting out the corresponding line in the fullinstall script:
# run_sub ./6-firewall
Or comment out lines 42 onward in the '6-firewall' script.
This is not supported so I've never tried it and can't guarantee anything. Otherwise what was the outcome of the command in rkennedy's post?
Is the outcome any different if you run through the process manually instead of through KS as tmcdonald mentioned?
Re: Nagios xi offline install
Posted: Wed Sep 14, 2016 1:48 pm
by vuduops
This all the I see in the full install script
[
[email protected] nagiosxi]# cat fullinstall
#!/bin/sh -e
yum -y --nogpgcheck localinstall *.rpm
[
[email protected] nagiosxi]# ls
./ nagiosxi-wmic-5-2.9.el6.x86_64.rpm
../ nmap-6.47-1.x86_64.rpm*
fping-3.10-1.el6.rf.x86_64.rpm* perl-Config-IniFiles-2.72-2.el6.noarch.rpm*
freetds-0.91-2.el6.x86_64.rpm* perl-Crypt-DES-2.05-9.el6.x86_64.rpm*
fullinstall* perl-Crypt-Rijndael-1.09-2.el6.x86_64.rpm*
libmcrypt-2.5.8-9.el6.x86_64.rpm* perl-Mail-IMAPClient-3.37-1.el6.noarch.rpm*
nagiosxi-5-2.9.el6.x86_64.rpm perl-Mail-POP3Client-2.18-6.el6.noarch.rpm*
nagiosxi-ajaxterm-5-2.9.el6.x86_64.rpm perl-Net-SMTP-TLS-0.12-1.el6.rf.noarch.rpm*
nagiosxi-mrtg-5-2.9.el6.x86_64.rpm perl-Net-SNMP-5.2.0-4.el6.noarch.rpm*
nagiosxi-nagioscore-5-2.9.el6.x86_64.rpm perl-Number-Format-1.73-3.el6.noarch.rpm*
nagiosxi-nagiosmobile-5-2.9.el6.x86_64.rpm php-mcrypt-5.3.3-4.el6.x86_64.rpm*
nagiosxi-nagiosplugins-5-2.9.el6.x86_64.rpm php-mssql-5.3.3-4.el6.x86_64.rpm*
nagiosxi-nagiosql-5-2.9.el6.x86_64.rpm php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm*
nagiosxi-nagvis-5-2.9.el6.x86_64.rpm php-pecl-ssh2-0.11.0-7.el6.x86_64.rpm*
nagiosxi-ndoutils-5-2.9.el6.x86_64.rpm pymssql-1.0.2-4.el6.x86_64.rpm*
nagiosxi-nrds-5-2.9.el6.x86_64.rpm python-bson-2.5.2-3.el6.1.x86_64.rpm*
nagiosxi-nrpe-5-2.9.el6.x86_64.rpm python-pymongo-2.5.2-3.el6.1.x86_64.rpm*
nagiosxi-nsca-5-2.9.el6.x86_64.rpm nagiosxi-pnp-5-2.9.el6.x86_64.rpm upgrade*
nagiosxi-wkhtmltox-5-2.9.el6.x86_64.rpm
-Krishna
Re: Nagios xi offline install
Posted: Wed Sep 14, 2016 5:08 pm
by mcapra
Is installing/enabling iptables on this system in the interim an option? The nagiosxi-5-2.9.el6.x86_64.rpm depends on iptables. The rpm could be rebuilt without the iptables dependency, but I don't know how likely that is of happening.
Re: Nagios xi offline install
Posted: Sat Sep 17, 2016 10:26 am
by vuduops
I was able to install nagios-xi by touching the installed.firewall to skip the iptables setup. I however have few followup question.
1. Setup the nagiosAdmin user without using the GUI ?
2. Accept the license without using the GUI?
3. Is there a way to add the license key manually without using the GUI?
Thanks
Krishna
Re: Nagios xi offline install
Posted: Mon Sep 19, 2016 9:29 am
by rkennedy
That is one way to get around it. To answer your questions, none of these are going to be possible. Accessing the GUI is required to finish the initial installation.
Is there a specific reason for your questions?
Re: Nagios xi offline install
Posted: Mon Sep 19, 2016 3:31 pm
by vuduops
Yes, Most of the application we have are automated through our kickstart or rollout process.
We check-in any custom configuration files for an application and install it through our rollout process or make the required change using automated scripts. So that we can quickly bring up an instance in-case of an issue with the current application with less manual intervention.
So it there was a way to set up a default admin password and accepting the license it would be helpful.
Also it would be great if you can share any documentation for Nagios-xi AD integration without using the GUI.
Thanks
Krishna
Re: Nagios xi offline install
Posted: Mon Sep 19, 2016 5:05 pm
by ssax
The functionality to set the admin password, accept the license, or configure AD from the command line is not currently available. If this is something that you need help implementing you can reach out to
[email protected] to get a quote on custom development.
Thank you