Service Alert Response URL not found

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
stebbo
Posts: 75
Joined: Sat Aug 04, 2012 9:13 pm

Service Alert Response URL not found

Post by stebbo »

Hi All,

I've just recently activated email service alerts. When I click on the response url I get the following error message The requested URL /rr.php was not found on this server.

The response URL shows as http://203.113.211.168:8080/rr.php?uid=xxxxxxxxxxxxxx

Any ideas?

Cheers,
Chris.

System Profile:
System:
nagios.curric.lilydale-hs.wan 2.6.32-220.23.1.el6.x86_64 x86_64
CentOS release 6.2 (Final)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
Server Name: 203.113.211.168
Server Address: 10.174.64.188
Server Port: 8080
Date/Time
PHP Timezone: Australia/Melbourne
PHP Time: Fri, 17 May 2013 11:06:52 +1000
System Time: Fri, 17 May 2013 11:06:52 +1000
Nagios XI Data
nagios (pid 23271) is running...
NPCD running (pid 1656).
ndo2db (pid 1709) is running...
CPU Load 15: 0.99
Total Hosts: 22
Total Services: 158
Function 'get_base_uri' returns: http://203.113.211.168:8080/nagiosxi/
Function 'get_base_url' returns: http://203.113.211.168:8080/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: http://203.113.211.168:8080/nagiosxi/in ... rofile.php
Function 'get_backend_url(internal_call=true)' returns: http://localhost:8080/nagiosxi/backend/
Ping Test localhost
Running:

/bin/ping -c 3 localhost 2>&1

PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.056 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.075 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.030 ms

--- localhost ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.030/0.053/0.075/0.020 ms
Test wget To locahost
WGET From URL: http://localhost/nagiosql/index.php
Running:

/usr/bin/wget http://localhost/nagiosql/index.php

--2013-05-17 11:06:54-- http://localhost/nagiosql/index.php
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5259 (5.1K) [text/html]
Saving to: `/tmp/nagiosql_index.tmp'

0K ..... 100% 92.8M=0s
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Service Alert Response URL not found

Post by lmiltchev »

We do not officially support Nagios XI when you install and use proxy software...
We cannot guarantee that all features in XI will work when you use a proxy, however you can try following the steps outlined on our wiki page:
http://support.nagios.com/wiki/index.ph ... th_Proxies

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
stebbo
Posts: 75
Joined: Sat Aug 04, 2012 9:13 pm

Re: Service Alert Response URL not found

Post by stebbo »

Hi lmiltchev,

thanks for the reply. I'm not sure that this problem has anything to do with the proxy. It seems that the wrong URL is being sent. I can access the site externally without any hassles, it just seems as though there's no rr.php file in the location indicated by the response URL.

Cheers,
Chris.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Service Alert Response URL not found

Post by scottwilkerson »

Under Admin -> Manage System Config

Do the url's have the path ( /nagiosxi/ ) in them?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
stebbo
Posts: 75
Joined: Sat Aug 04, 2012 9:13 pm

Re: Service Alert Response URL not found

Post by stebbo »

HI Scott,

thanks for responding. Apologies for the delay in getting back to you, I've been swamped.

This is what I had in the field labelled "External URL"
I'll try adding the nagiosxi in there and see what happens.

Thanks,
Chris.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Service Alert Response URL not found

Post by slansing »

Let us know how things look once this change is made, thanks!
Locked