Page 1 of 1

Web Transaction Monitoring From Different Locations

Posted: Fri May 14, 2021 12:49 pm
by jh129666
Is it possible to run web transaction monitors (using WebInject) from one on-prem nagios instance for different locations, or does there need to be a nagios instance in each location?

Thanks,
Jeff

Re: Web Transaction Monitoring From Different Locations

Posted: Mon May 17, 2021 12:37 pm
by dchurch
If you have a working command you can run to monitor the service, there a couple of different options to expose this data to a Nagios XI instance that may be in another locale.

Option 0: Use an SSH server as a go-between.

Basically you'd set up a barebones Linux machine on-premises that Nagios XI would SSH into to ask it to run the check. Only the script to do the actual check would need to be installed on the barebones machine, and not a whole Nagios XI installation. See here for a more in-depth explanation.

Option 1: Use an agent (such as NCPA) to run the plugin remotely.

Basically, you'd install NCPA on an on-premises machine and ask NCPA to run the script for you, much like Option 0, except instead of SSH it's the NCPA listener passing the data. Again, you'd install the check script (such as check_http) inside of NCPA's scripts directory and set it up as a plugin. See this document for a more in-depth explanation.

Re: Web Transaction Monitoring From Different Locations

Posted: Mon May 17, 2021 1:04 pm
by kwiatjk
Hi,
with Mod-Gearman its possible also ?

Re: Web Transaction Monitoring From Different Locations

Posted: Tue May 18, 2021 1:25 pm
by dchurch
I'm pretty sure it would work. If you're using IP whitelisting in the agent config, you'll need to whitelist all your Mod Gearman worker IP addresses.

Re: Web Transaction Monitoring From Different Locations

Posted: Tue May 18, 2021 1:35 pm
by kwiatjk
But how configure that? to work?

Nagios is on site A
Worker for mod_gearman is on site B
I want check how fast https://abcd.com site opening

From site B
and report it in nagios

As I understand from nagios and mod should be difference

any solution?

Re: Web Transaction Monitoring From Different Locations

Posted: Wed May 19, 2021 9:24 am
by dchurch
Mod Gearman is a third-party software and we can't help you configure it.

However, if you're trying to run the check thru a Mod Gearman worker and running into an error, perhaps I can explain and help remediate the error.

Does the check work already? Are you receiving any errors?