Page 1 of 3

Monitoring Nagios Log Server

Posted: Tue Jun 23, 2015 8:00 pm
by stecino
I am trying to hit the following URL to parse instance status metrics for monitoring purposes

http://user:[email protected]/nagioslogse ... nce_status but it's not returning me anything. There are some underlying POST statements that are followed after this command.

I was wondering is there a way to get a json that I can parse from one of the nodes in regards to the instances info that's displayed on the administration UI?

Re: Monitoring Nagios Log Server

Posted: Wed Jun 24, 2015 9:48 am
by jolson
By default, Nagios Log Server won't allow you to query that information from the outside. Your best bet is to use a plugin like NRPE to perform local queries.

For instance, the following will return proper java results if you run it on Nagios Log Server:

Code: Select all

curl -XGET localhost:9200/_nodes/jvm?pretty
Basic health check:

Code: Select all

curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
These queries don't work from the outside for security purposes.

You could easily use a plugin like NRPE to launch these queries locally - if that's something you're interested in getting data on. Otherwise, I can recommend the following plugin: https://github.com/anchor/nagios-plugin-elasticsearch

Re: Monitoring Nagios Log Server

Posted: Wed Jun 24, 2015 10:18 am
by eloyd
Or come to my 2015 Nagios World Conference talk on how to use all the Nagios suite of products to monitor, notify, alert, and track all the other Nagios suite of products. :-)

I'll show you lots of tips and tricks for monitoring NLS with XI/Core, but also how to monitor XI/Core using NLS.

You can register for the conference with the link in @jolson's signature to get a discount, but if you do, please tell the Nagios folks that you registered because of eloyd! :-)

Re: Monitoring Nagios Log Server

Posted: Wed Jun 24, 2015 12:06 pm
by abrist
The hype begins . . .

Re: Monitoring Nagios Log Server

Posted: Wed Jun 24, 2015 12:10 pm
by eloyd
If there were bbcode for "fireworks" I would have used that. :)

Re: Monitoring Nagios Log Server

Posted: Wed Jun 24, 2015 12:20 pm
by tmcdonald
@stecino: Let us know how jolson's suggestion works out for you!


@eloyd:
eloyd wrote:If there were bbcode for "fireworks" I would have used that. :)
There is: [­fireworks][­/fireworks]


Re: Monitoring Nagios Log Server

Posted: Wed Jun 24, 2015 1:00 pm
by eloyd
No, I mean a font with animated fireworks shooting off of the letters.

Code: Select all

[fireworks]Happy text!!![/fireworks]
:)

Re: Monitoring Nagios Log Server

Posted: Wed Jun 24, 2015 1:08 pm
by tmcdonald
It's never enough for you, is it? :)

https://github.com/kennethkufluk/js-fireworks

Re: Monitoring Nagios Log Server

Posted: Wed Jun 24, 2015 1:14 pm
by eloyd
And yet, I got what I wanted. :)

Re: Monitoring Nagios Log Server

Posted: Wed Jun 24, 2015 1:15 pm
by stecino
eloyd wrote:Or come to my 2015 Nagios World Conference talk on how to use all the Nagios suite of products to monitor, notify, alert, and track all the other Nagios suite of products. :-)

I'll show you lots of tips and tricks for monitoring NLS with XI/Core, but also how to monitor XI/Core using NLS.

You can register for the conference with the link in @jolson's signature to get a discount, but if you do, please tell the Nagios folks that you registered because of eloyd! :-)
I was there last year and I loved it. We are expecting a baby in early October, my wife will kill me if I leave town :D
Otherwise would have loved to be there again. We may send someone this time as well