nagiosxi apache response time configuration

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
katieKatiePants
Posts: 51
Joined: Mon Feb 24, 2020 12:37 pm

nagiosxi apache response time configuration

Post by katieKatiePants »

hi bandana drive residents!

i'm interested in capturing the apache response times for the nagiosxi server. a) is this a stat already being generated somewhere/is there an obvious solution that i'm oblivious to? b) if not, is this the sort of thing that can be done by tweaking the LogFormat configuration on le server?

thanks!!!
v/r,
katie
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagiosxi apache response time configuration

Post by scottwilkerson »

If you run the Website Monitoring Wizard, by default one of the metrics it will record is the response time for the page.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
katieKatiePants
Posts: 51
Joined: Mon Feb 24, 2020 12:37 pm

Re: nagiosxi apache response time configuration

Post by katieKatiePants »

but not sure that would help me capture the nagiosxi server's response times???
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagiosxi apache response time configuration

Post by scottwilkerson »

If you run the Website Monitoring Wizard and use the nagiosxi servers address to monitor it would monitor the local server (nagios xi)
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
katieKatiePants
Posts: 51
Joined: Mon Feb 24, 2020 12:37 pm

Re: nagiosxi apache response time configuration

Post by katieKatiePants »

@scottwilkerson ... i am so sorry for being super pedantic. i'm trying to use the apache response time as a proxy for the nagios application performance. my understanding is that the website monitoring wizard will go ask the website being monitored for a thing and then use that as the response time reported. what i'm wanting to capture is the response times that apache-as-a-part-of-the-application is producing as the application operates (mostly) happily 24x7x365 -- which seems like a different use case from "go poke apache and see how quickly it responds" (<- a totally awesome use case ... just different) ...

here's a haiku s.t. you don't feel pooped on by my confusion/needling:

oh nagios check
give me data always
spirographs are fun
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: nagiosxi apache response time configuration

Post by scottwilkerson »

I unfortunately do not know how to achieve the goal you are after. If you have a way you get this information sat from the command line you can always create a custom plugin for Nagios XI to use
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
katieKatiePants
Posts: 51
Joined: Mon Feb 24, 2020 12:37 pm

Re: nagiosxi apache response time configuration

Post by katieKatiePants »

so the thinking was to modify the apache log format to include the response time (by adding %D to the configuration a la http://httpd.apache.org/docs/current/mo ... onfig.html) and then build a custom plugin to go read the log file entries and grab the response time reported in the log file.

so the question becomes, can i make changes to the apache log configuration w/o generally causing a rift in the space-nagios continuum or would this constitute breaking the application?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nagiosxi apache response time configuration

Post by lmiltchev »

Customizing the apache log format shouldn't affect Nagios XI's functionality. To be on a safe side though, make a note of what you changed, so that you could revert the change if needed.

It is a good idea to ALWAYS try your mods in a test environment, before applying them in production. This is why, we offer 3 IPs for each Nagios XI license.

https://support.nagios.com/kb/article/n ... s-145.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
katieKatiePants
Posts: 51
Joined: Mon Feb 24, 2020 12:37 pm

Re: nagiosxi apache response time configuration

Post by katieKatiePants »

so i'll go play with the configs on my dev env't ... :fingers_crossed:
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nagiosxi apache response time configuration

Post by lmiltchev »

Sure, let us know how it went.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked