External URL & Transaction monitoring
-
lafargeuser
- Posts: 341
- Joined: Thu Sep 27, 2012 12:23 am
External URL & Transaction monitoring
Using NagiosXI How do I achieve External URL & Transaction monitoring.
Re: External URL & Transaction monitoring
I think this is exactly what you are looking for:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
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
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)
(No output on stdout) stderr: Can't do setuid (cannot exec sperl)
Re: External URL & Transaction monitoring
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
Installed... Now I see this error (Return code of 255 is out of bounds)
Re: External URL & Transaction monitoring
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
COMMAND: /usr/local/nagios/libexec/check_webinject.sh ithelpdek_companydomain_com__Web_Transaction_config.xml
OUTPUT:
OUTPUT:
Re: External URL & Transaction monitoring
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
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
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.
Re: External URL & Transaction monitoring
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
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