Page 4 of 4

Re: How to query complex regex pattern in nagios log server

Posted: Wed Mar 25, 2015 11:34 am
by jolson
If you change your HTTP bind address, does that make a difference?

Code: Select all

vi /etc/httpd/conf/httpd.conf
Change "Listen 80" to "Listen <yourIP>:80"

Restart httpd:

Code: Select all

service httpd restart
If that does not work, feel free to revert the settings.

My next hunch would be elasticsearch's bind port:

Code: Select all

vi /usr/local/nagioslogserver/elasticsearch/config/elasticsearch.yml
Change "# network.bind_host: 192.168.0.1" to "network.bind_host: <yourIP>" - please note that you must remove the comment preceding the line.
You will have to restart elasticsearch:

Code: Select all

service elasticsearch restart
If that does not work, please feel free to revert the settings.

Let me know if this works for you!


Jesse

Re: How to query complex regex pattern in nagios log server

Posted: Wed Mar 25, 2015 12:04 pm
by jolson
After speaking with a developer about this particular thread, I have learned that Nagios Log Server will always pull 127.0.0.1 unless you specify a cluster hostname in Admin > Global Settings. That should resolve your issue. Please keep in mind that there is currently a bug regarding Action URLs that will be fixed in the next release. Thanks!

Re: How to query complex regex pattern in nagios log server

Posted: Thu Mar 26, 2015 1:24 pm
by Jklre
jolson wrote:After speaking with a developer about this particular thread, I have learned that Nagios Log Server will always pull 127.0.0.1 unless you specify a cluster hostname in Admin > Global Settings. That should resolve your issue. Please keep in mind that there is currently a bug regarding Action URLs that will be fixed in the next release. Thanks!
Yes changing the cluster host setting did the trick. Thank you.

Re: How to query complex regex pattern in nagios log server

Posted: Thu Mar 26, 2015 1:41 pm
by jolson
No problem - may I close this thread out, or do you have further questions?