Page 1 of 1

Nagios Log Server installation failed

Posted: Mon Jul 25, 2016 4:47 am
by mikent
Hi,

I am having big troubles for installating Nagios Log Server. I don't have access to internet from this server and it seems to be painfull for a full local installation. See the logs below

Installed /usr/lib/python2.6/site-packages/pip-1.3-py2.6.egg
Processing dependencies for pip==1.3
Finished processing dependencies for pip==1.3
Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python2.6/site-packages
Downloading/unpacking jsonselect
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement jsonselect
No distributions at all found for jsonselect
Storing complete log in /root/.pip/pip.log

===================
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 Enterprises technical support.

The step that failed was: 'prereqs'
[root@s-agri-nagioslog1a]:


Can someone help how to solve this issue? thank you

Re: Nagios Log Server installation failed

Posted: Mon Jul 25, 2016 10:00 am
by hsmith
What distribution are you on?

Re: Nagios Log Server installation failed

Posted: Tue Jul 26, 2016 10:40 am
by mikent
Hi all,

Just to inform you that I have solve my problem by myself and I was able to run the full package after modifying your installation (fullinstall) shell script
for pip installation and python scripts using proxy ;-) and now webservice (http) is running, iptables was modified and I can access the Webinterface ;-)

prereqs step completed OK
Running 'sourceguardian'...
Installing sourceguardian...
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.3.lin
Sourceguardian extension found for PHP version 5.3
Adding Sourceguardian extension to php.ini
sourceguardian step completed OK
Running 'timezone'...
timezone step completed OK
Running 'nagioslogserver'...
Loaded plugins: product-id, refresh-packagekit, rhnplugin, search-disabled-
: repos, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Package php-common-5.3.3-47.el6.x86_64 already installed and latest version
Nothing to do
nagioslogserver step completed OK
Running 'backend'...
Installing Elasticsearch...
Elasticsearch installed OK
Installing Logstash...
Applying Nagios patches to Logstash...
Logstash installed OK
Installing Kibana...
Kibana installed OK
Generating unique id...
backend step completed OK
Running 'install_mibs'...
install_mibs step completed OK
Running 'sudoers'...
sudoers step completed OK
Running 'firewall'...
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]
firewall step completed OK
Running 'selinux'...
selinux step completed OK
Running 'test_cluster_connection'...
test_cluster_connection step completed OK
Running 'daemons'...
daemons step completed OK
Running 'webroot'...
webroot step completed OK

Nagios Log Server Installation Success!

You can finish the final setup steps for Nagios Log Server by visiting:
http://10.10.10.10nagioslogserver/


[root@s-agri-nagioslog1a]:

you can close this issue

Re: Nagios Log Server installation failed

Posted: Wed Jul 27, 2016 9:40 am
by mcapra
Thanks for sharing your findings! Closing this up.