Showing list of host names that have been added

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

Showing list of host names that have been added

Post by stecino »

Hi all,

Is there a way to show all the hosts that have been added to Nagios Log Server? Unless I can't see, it only says how many hosts have been added, but would be nice to see the hosts.
Also, when you add a specific application log, is this also considered to be as a host? Or is it one IP is one host?

Thanks in advance
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Showing list of host names that have been added

Post by slansing »

There is a default Global Dashboard named "Top Sources" which will show you the top 10 sources and when they last updated, you can also drill into them from that dashboard panel, as well as see a pi-chart of their activity. To add a wider "Top Sources" listing, simply edit the panel and change the "Limit to 10" value to whatever you like.
stecino
Posts: 248
Joined: Thu Mar 14, 2013 4:42 pm

Re: Showing list of host names that have been added

Post by stecino »

Got it thanks, and how would I add these controls to my own dashboard from a scratch? Are these importable from other platforms as well?
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Showing list of host names that have been added

Post by eloyd »

You need to have a query that matches what you are looking for, or at least a term to be able to search/sort on, then add a panel of type term and specify the term that you want to count/list. It's easier to show than describe.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Showing list of host names that have been added

Post by cmerchant »

Did eloyd answer your question?
stecino
Posts: 248
Joined: Thu Mar 14, 2013 4:42 pm

Re: Showing list of host names that have been added

Post by stecino »

Yes, I was able to add a panel.

One more thing I wanted to do was to establish following reference data center -> server type - > syslog or application log -> severity label
Another words, need to be able to select data center on the map, then show all the hosts, then select host from there, then select severity label

I noticed that I tried to add map to the dashboard, I could never load it.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Showing list of host names that have been added

Post by eloyd »

Do you mean you're trying to add the "map" panel type to your dashboard? If so, this is not likely to work the way you want. The map panel translates 2 letter country or state codes into shaded regions on a map. Currently available maps are world, USA and Europe.

What might work better is to build a pie chart that shows data centers, another that shows server type, and another with severity label. You can click on any slice in any of those pie charts to limit results to be filtered by what you clicked on. So if you click on a datacenter slice, everything will adjust to show just that data center. If you click on a log source, everything will adjust to show just that log source, etc.

You can then build another panel that shows the results of the filter so that you can always be looking at just what you want to be looking at.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
lgroschen
Posts: 384
Joined: Wed Nov 27, 2013 1:17 pm

Re: Showing list of host names that have been added

Post by lgroschen »

This might also help getting started with the dashboards, queries and filters:

http://assets.nagios.com/downloads/nagi ... Server.pdf
/Luke
stecino
Posts: 248
Joined: Thu Mar 14, 2013 4:42 pm

Re: Showing list of host names that have been added

Post by stecino »

eloyd wrote:Do you mean you're trying to add the "map" panel type to your dashboard? If so, this is not likely to work the way you want. The map panel translates 2 letter country or state codes into shaded regions on a map. Currently available maps are world, USA and Europe.

What might work better is to build a pie chart that shows data centers, another that shows server type, and another with severity label. You can click on any slice in any of those pie charts to limit results to be filtered by what you clicked on. So if you click on a datacenter slice, everything will adjust to show just that data center. If you click on a log source, everything will adjust to show just that log source, etc.

You can then build another panel that shows the results of the filter so that you can always be looking at just what you want to be looking at.
Yes, I tried to add US map, as our data centers in US. What would be the field name in logstash that defines a data center? I guess how can add all these hosts (IPs) that translates to a single state code.
stecino
Posts: 248
Joined: Thu Mar 14, 2013 4:42 pm

Re: Showing list of host names that have been added

Post by stecino »

lgroschen wrote:This might also help getting started with the dashboards, queries and filters:

http://assets.nagios.com/downloads/nagi ... Server.pdf
Thanks I will take a look
Locked