Page 1 of 1

Better Apache Dashboard question

Posted: Thu Jan 22, 2015 11:41 am
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!

Re: Better Apache Dashboard question

Posted: Thu Jan 22, 2015 12:21 pm
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.

Re: Better Apache Dashboard question

Posted: Thu Jan 22, 2015 2:10 pm
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.

Re: Better Apache Dashboard question

Posted: Thu Jan 22, 2015 2:15 pm
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!" ;-)

Re: Better Apache Dashboard question

Posted: Thu Jan 22, 2015 4:03 pm
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.

Re: Better Apache Dashboard question

Posted: Fri Jan 23, 2015 8:34 am
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.

Re: Better Apache Dashboard question

Posted: Fri Jan 23, 2015 2:11 pm
by tmcdonald
snapon, let us know if you are able to "Save As" the dashboard.

Re: Better Apache Dashboard question

Posted: Fri Jan 23, 2015 4:49 pm
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!