Better Apache Dashboard question

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Better Apache Dashboard question

Post by snapon_admin »

I feel like this is a really stupid question, but if I load the better apache dashboard from a json file into LS, why can't I save it? Also, I know very little (read: nothing) about geoip, but when I load that dashboard only 2 of my 16 sources actually show up. Not sure what the reason for that is, but that's mostly because I don't really know how it works. Heh, feels like I'm back in 2013 when I first got Nagios XI dropped into my lap, time to start learning something new again!
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Better Apache Dashboard question

Post by eloyd »

Did you go to Administration -> Global Configuration, and make a new filter (I called it GeoIP for Apache):

Code: Select all

if [program] == 'apache_access' {
    geoip {
        source => 'clientip'
    }
}
Then save, verify, apply? That's assuming that you use "apache_access" as the type for the apache_access.log files.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Better Apache Dashboard question

Post by snapon_admin »

Ah, yeah that explains it. All of the sources that I thought were sending apache logs are apparently....not sending apache logs. K, so that lieaves the why can't I save the dashboard after I load it question. Also, since I can't use geoip for apache, is it possible to do this some other way? I'm trying to put together a POC and shiny maps would be good to show management. I just have no clue how to do it, tbh.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Better Apache Dashboard question

Post by eloyd »

I may be able to help, but it may also be beyond the scope of the forums. If POC = Proof Of Concept, then you could always just put in maps and say "if you fund my project, we can make it use real data, too!" ;-)
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Better Apache Dashboard question

Post by scottwilkerson »

Actually there is a bug in the dashboard code that prevents the saving after you load it, however if you load it up and click the save as dropdown, type a name for the dashboard and hit the Enter key on your keyboard it will save (even though the normal Save "disk" icon is not shown.

We are still trying to debug what is causing this issue.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Better Apache Dashboard question

Post by eloyd »

I just have no clue how to do it, tbh.
Take a look at the dashboards on the Nagios Exchange (http://exchange.nagios.org/directory/Ad ... Dashboards). Even if you don't have the data that they provide, you can see a lot of the different display types and how to use them.
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: Better Apache Dashboard question

Post by tmcdonald »

snapon, let us know if you are able to "Save As" the dashboard.
Former Nagios employee
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Better Apache Dashboard question

Post by snapon_admin »

Yessir that worked. Sorry, busy day. And eloyd, thanks a bunch man! I have been looking at those dashboards on the exchange and liking what i'm seeing. To be honest I haven't looked at that page since right after the conference (when there wasn't anything on it yet, lol) so I had completely forgotten. Once again the community has been busy it seems so now I have a lot to show management. Thanks again!
Locked