Monitoring 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.
stecino
Posts: 248
Joined: Thu Mar 14, 2013 4:42 pm

Monitoring Nagios Log Server

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

Re: Monitoring Nagios Log Server

Post 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
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.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Monitoring Nagios Log Server

Post 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! :-)
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Monitoring Nagios Log Server

Post by abrist »

The hype begins . . .
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Monitoring Nagios Log Server

Post by eloyd »

If there were bbcode for "fireworks" I would have used that. :)
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monitoring Nagios Log Server

Post 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]

Former Nagios employee
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Monitoring Nagios Log Server

Post by eloyd »

No, I mean a font with animated fireworks shooting off of the letters.

Code: Select all

[fireworks]Happy text!!![/fireworks]
:)
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monitoring Nagios Log Server

Post by tmcdonald »

It's never enough for you, is it? :)

https://github.com/kennethkufluk/js-fireworks
Former Nagios employee
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Monitoring Nagios Log Server

Post by eloyd »

And yet, I got what I wanted. :)
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
stecino
Posts: 248
Joined: Thu Mar 14, 2013 4:42 pm

Re: Monitoring Nagios Log Server

Post 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
Locked