How to query complex regex pattern in nagios log server

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

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

Post 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
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

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

Post 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!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Jklre
Posts: 163
Joined: Wed May 28, 2014 1:56 pm

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

Post 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.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

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

Post by jolson »

No problem - may I close this thread out, or do you have further questions?
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked