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
Showing list of host names that have been added
-
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
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.
Re: Showing list of host names that have been added
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?
Re: Showing list of host names that have been added
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.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Showing list of host names that have been added
Did eloyd answer your question?
Re: Showing list of host names that have been added
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.
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.
Re: Showing list of host names that have been added
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.
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.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Showing list of host names that have been added
This might also help getting started with the dashboards, queries and filters:
http://assets.nagios.com/downloads/nagi ... Server.pdf
http://assets.nagios.com/downloads/nagi ... Server.pdf
/Luke
Re: Showing list of host names that have been added
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.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.
Re: Showing list of host names that have been added
Thanks I will take a looklgroschen wrote:This might also help getting started with the dashboards, queries and filters:
http://assets.nagios.com/downloads/nagi ... Server.pdf