Page 7 of 8

Re: Configure Exim MailServer Logs With NLS

Posted: Thu Feb 11, 2016 5:55 pm
by rlinux57

Code: Select all

[root@logs ~]# ls -l /usr/local/nagioslogserver/logstash/etc/conf.d/
total 0

Re: Configure Exim MailServer Logs With NLS

Posted: Thu Feb 11, 2016 5:59 pm
by hsmith
Is this server doing anything other than NLS right now? I hate giving this answer, but is it possible to blow this server up and restart if you don't have NLS functioning? It seems like we're running into issue after issue after issue on this server. It may be beneficial to spin up a clean, fresh, minimal installation of CentOS 6 or 7 and reinstall NLS.

Re: Configure Exim MailServer Logs With NLS

Posted: Thu Feb 11, 2016 6:01 pm
by rlinux57
There's nothing other than NLS, i'll reinstall OS and NLS at morning time.

Re: Configure Exim MailServer Logs With NLS

Posted: Thu Feb 11, 2016 6:03 pm
by hsmith
I really apologize that I have to give that answer, but it seems like a lot happened with this machine, and if basic configuration files are missing that's going to cause problems. I recommend the new machine has 2/4 cores and 8GB of RAM to start if you're able to allocate those resources.

Re: Configure Exim MailServer Logs With NLS

Posted: Thu Feb 11, 2016 6:08 pm
by rlinux57
No problem, i understand and really appreciate your kind support. I'll try to manage the server with that specifications. And catch you later.
Again i'm very thankful to you :)

Re: Configure Exim MailServer Logs With NLS

Posted: Thu Feb 11, 2016 6:10 pm
by hsmith
And I'm thankful for your patience - I'm sure we'll be in touch tomorrow. :)

Re: Configure Exim MailServer Logs With NLS

Posted: Fri Feb 12, 2016 2:48 am
by rlinux57
I have re-install OS and change its OS centOS 6.7 to 7. Now i'm getting below error while installing:

Code: Select all

12 Feb 02:44:06 ntpdate[1047]: step-systime: Operation not permitted
Downloading/unpacking pip
Downloading/unpacking setuptools
Installing collected packages: pip, setuptools
Successfully installed pip setuptools
Cleaning up...
Collecting argparse
/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
  Downloading argparse-1.4.0-py2.py3-none-any.whl
Collecting jsonselect
  Downloading jsonselect-0.2.3.tar.gz
Collecting elasticsearch-curator==3.4.0
  Downloading elasticsearch_curator-3.4.0-py2.py3-none-any.whl (43kB)
Collecting click>=3.3 (from elasticsearch-curator==3.4.0)
  Downloading click-6.2-py2.py3-none-any.whl (70kB)
Collecting elasticsearch<2.1.0,>=1.8.0 (from elasticsearch-curator==3.4.0)
  Downloading elasticsearch-2.0.0-py2.py3-none-any.whl (58kB)
Collecting urllib3<2.0,>=1.8 (from elasticsearch<2.1.0,>=1.8.0->elasticsearch-curator==3.4.0)
  Downloading urllib3-1.14-py2.py3-none-any.whl (89kB)
Installing collected packages: argparse, jsonselect, click, urllib3, elasticsearch, elasticsearch-curator
  Running setup.py install for jsonselect: started
    Running setup.py install for jsonselect: finished with status 'done'
Successfully installed argparse-1.4.0 click-6.2 elasticsearch-2.0.0 elasticsearch-curator-3.4.0 jsonselect-0.2.3 urllib3-1.14
/usr/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
prereqs step completed OK
Running 'sourceguardian'...
Installing sourceguardian...
Archive:  sourceguardian/ixed4.lin.x86-64.zip
  inflating: /usr/lib64/php/modules/ixed.5.4.lin  
Sourceguardian extension found for PHP version 5.4
Adding Sourceguardian extension to php.ini
sourceguardian step completed OK
Running 'timezone'...
sed: -e expression #1, char 57: unknown option to `s'
timezone step completed OK
Running 'nagioslogserver'...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.quelquesmots.fr
 * extras: mirror1.babylon.network
 * updates: centos.mirror.fr.planethoster.net
Package php-common-5.4.16-36.el7_1.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'...
./libinstall.sh: line 379: firewall-cmd: command not found

===================
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: 'firewall'

Re: Configure Exim MailServer Logs With NLS

Posted: Fri Feb 12, 2016 10:24 am
by hsmith
This is an issue with the new minimal installation of CentOS/RHEL 7. They took the firewall out by default. If you run yum install firewalld before the script runs, you should be fine.

Re: Configure Exim MailServer Logs With NLS

Posted: Sat Feb 13, 2016 4:58 am
by rlinux57
Now i have re-install it now it's working perfectly, can we install NLS with nagios monitoring core server ?

Re: Configure Exim MailServer Logs With NLS

Posted: Mon Feb 15, 2016 10:37 am
by tmcdonald
Installing Core and Logserver on the same machine is not recommended.