External URL & Transaction monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

External URL & Transaction monitoring

Post by lafargeuser »

Using NagiosXI How do I achieve External URL & Transaction monitoring.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: External URL & Transaction monitoring

Post by tmcdonald »

I think this is exactly what you are looking for:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Former Nagios employee
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: External URL & Transaction monitoring

Post by lafargeuser »

Tried monitoring using given doc. But seems like didnt worked. below is the error.
(No output on stdout) stderr: Can't do setuid (cannot exec sperl)
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: External URL & Transaction monitoring

Post by tmcdonald »

Try doing yum install perl-suidperl
Former Nagios employee
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: External URL & Transaction monitoring

Post by lafargeuser »

Installed... Now I see this error (Return code of 255 is out of bounds)
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: External URL & Transaction monitoring

Post by ssax »

Please go to Configure > Core Config Manager > Services and edit the service that is giving you that error, click Test Check Command, and post the full sanitized output so that we may review.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: External URL & Transaction monitoring

Post by lafargeuser »

COMMAND: /usr/local/nagios/libexec/check_webinject.sh ithelpdek_companydomain_com__Web_Transaction_config.xml
OUTPUT:
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: External URL & Transaction monitoring

Post by ssax »

Please post the sanitized output of your XML file so that we can lab this up and see what is occurring.
skyslayer
Posts: 11
Joined: Fri Oct 04, 2013 7:55 am

Re: External URL & Transaction monitoring

Post by skyslayer »

There is a post back in 2013 I did and is still valid today I just needed it again today on a fresh install
one addition I did this time is
chown nagios:nagios /usr/local/nagiosxi/etc/components/webinject/*.*
chown nagios:nagios /usr/local/nagios/libexec/check_webinject.sh

Fixed it up

This is not all please see post at
https://support.nagios.com/forum/viewto ... =6&t=21551

This should work for you as well
Last edited by skyslayer on Tue Jul 14, 2015 5:24 pm, edited 1 time in total.
skyslayer
Posts: 11
Joined: Fri Oct 04, 2013 7:55 am

Re: External URL & Transaction monitoring

Post by skyslayer »

I do have a question for the support team
I was just looking at the files in /usr/local/nagios/libexec
and all of them are root:root is this going to work for the other scripts in this folder
I did have to change check_webinject.sh to nagios:nagios
Locked