Page 1 of 2
External URL & Transaction monitoring
Posted: Thu Jul 09, 2015 7:55 am
by lafargeuser
Using NagiosXI How do I achieve External URL & Transaction monitoring.
Re: External URL & Transaction monitoring
Posted: Thu Jul 09, 2015 9:27 am
by tmcdonald
Re: External URL & Transaction monitoring
Posted: Fri Jul 10, 2015 10:21 am
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)
Re: External URL & Transaction monitoring
Posted: Fri Jul 10, 2015 11:02 am
by tmcdonald
Try doing yum install perl-suidperl
Re: External URL & Transaction monitoring
Posted: Mon Jul 13, 2015 5:26 am
by lafargeuser
Installed... Now I see this error (Return code of 255 is out of bounds)
Re: External URL & Transaction monitoring
Posted: Mon Jul 13, 2015 9:40 am
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.
Re: External URL & Transaction monitoring
Posted: Tue Jul 14, 2015 1:19 am
by lafargeuser
COMMAND: /usr/local/nagios/libexec/check_webinject.sh ithelpdek_companydomain_com__Web_Transaction_config.xml
OUTPUT:
Re: External URL & Transaction monitoring
Posted: Tue Jul 14, 2015 10:21 am
by ssax
Please post the sanitized output of your XML file so that we can lab this up and see what is occurring.
Re: External URL & Transaction monitoring
Posted: Tue Jul 14, 2015 5:14 pm
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
Re: External URL & Transaction monitoring
Posted: Tue Jul 14, 2015 5:21 pm
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