Page 1 of 4

what does this mean?

Posted: Tue Jun 16, 2015 1:59 pm
by benhank

Code: Select all

	  apache : TTY=unknown ; PWD=/var/www/html/nagioslogserver/www ; USER=root ; COMMAND=/etc/init.d/elasticsearch status

...and don't say "something is wrong"....(which is what I would say btw hee hee)

?

Re: what does this mean?

Posted: Tue Jun 16, 2015 2:01 pm
by jolson
Where are you seeing this reported?

Re: what does this mean?

Posted: Tue Jun 16, 2015 2:06 pm
by benhank
In my logserver results:
Capture.PNG

Re: what does this mean?

Posted: Tue Jun 16, 2015 2:27 pm
by jolson
Ah, that is your local Nagios Log Server instance checking the status of elasticsearch/logstash to ensure that they're still running. These checks are generated to display the 'system status' properly.
2015-06-16 14_26_43-Home • Nagios Log Server - Firefox Developer Edition.png

Re: what does this mean?

Posted: Tue Jun 16, 2015 2:38 pm
by benhank
thanks for that!

Re: what does this mean?

Posted: Tue Jun 16, 2015 2:42 pm
by eloyd
Yah, I saw those checks in our logs and wondered - what does NLS do if the status come back as not running? I haven't experimented with this, but is there some sort of notification we can do? Like, aim it at Nagios as a passive check result?

Re: what does this mean?

Posted: Tue Jun 16, 2015 3:10 pm
by jolson
Currently NLS will display a red warning stating that logstash/elasticsearch aren't running, but currently it doesn't extend beyond that. We're open to suggestions though!

Re: what does this mean?

Posted: Tue Jun 16, 2015 3:17 pm
by eloyd
Would love to be able to drop in an alert, similar to the alert logic for what happens when search results hit thresholds in NLS. Or maybe an event handler type thing where we get to put in the command line that gets executed when the thing is down?

Re: what does this mean?

Posted: Tue Jun 16, 2015 3:38 pm
by ssax
Created a feature request with a link back to this thread:

Code: Select all

NEW TASK ID 5823 created - Nagios Log Server Feature Request: Add ability to alert if logstash or elasticsearch are down

Re: what does this mean?

Posted: Tue Jun 16, 2015 3:40 pm
by eloyd
Thanks!