kmf / icingadroid

Automatically exported from code.google.com/p/icingadroid
0 stars 0 forks source link

Incorrect URL in host/services #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. open details on a service/host
2. open View Extended Information
3. url opens but point to invalid address

What is the expected output? What do you see instead?

1.The status of the selected service/host displayed in browser!
2. See attached images (done in Eclipse) for the results

What version of the product are you using? On what operating system?

1. (currently) LeeDrOiD 2.3d FroYo (Linux localhost 2.6.32.15-leedroid_2.3 #1 
PREEMPT Mon Dec 13 01:16:25 CET 2010 armv7l GNU/Linux) 
2. Eclipse using SDK

Please provide any additional information below.

For my instance of Icinga is using the latest git branch (commit 
f3acf86abfc933e7243cd0dfb0a97881e375f941) this is a public available instance 
and not hidden behind any firewall or NAT. 

Original issue reported on code.google.com by VK7HSE on 12 Jan 2011 at 10:24

Attachments:

GoogleCodeExporter commented 9 years ago
Hmm ok the files abolishment fail! here is a zip of the 10 images I took! 

Original comment by VK7HSE on 12 Jan 2011 at 10:26

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the Bug!

Could you perhaps give me the url that is launched in the browser, and the url 
that you are expecting with right output ? 

Is this for one host?

Have you tested it with 
"http://classic.demo.icinga.org/icinga/cgi-bin/status.cgi" u:guest / p:guest 

(I have tested on 2 other hosts and it seems to work there.)

Original comment by k...@fischer.org.za on 12 Jan 2011 at 11:11

GoogleCodeExporter commented 9 years ago
Hi Karl,

No I'm using my own instance. I've just done a test both on 3G and on my LAN 
and I'm still getting the same issue on both networks.

I've attached the urls that are opened within the default browser... Please 
note, I've yet to paste them into my desktop PC to see what happens! My gut 
feeling is that the first in both tests is certainly going to fail.

Original comment by VK7HSE on 12 Jan 2011 at 12:56

GoogleCodeExporter commented 9 years ago
ok attachment isn't working via my phone, I'll remedy that in the morning...

Original comment by VK7HSE on 12 Jan 2011 at 1:00

GoogleCodeExporter commented 9 years ago
All OK 3G
https://www.vk7hse.hobby-site.org/icinga/cgi-bin/extinfo.cgi?type=2&host=Everyth
ing%20is%20OK&service=Yay!!

Host 3G
https://www.vk7hse.hobby-site.org/icinga/cgi-bin/extinfo.cgi?type=2&host=compaq-
wl410&service=ping

All OK LAN
https://www.vk7hse.hobby-site.org/icinga/cgi-bin/extinfo.cgi?type=2&host=Everyth
ing%20is%20OK&service=Yay!!

Host LAN
https://www.vk7hse.hobby-site.org/icinga/cgi-bin/extinfo.cgi?type=2&host=compaq-
wl410&service=ping

Original comment by VK7HSE on 12 Jan 2011 at 10:31

GoogleCodeExporter commented 9 years ago
As I expected, the first url is simply invalid as it looks like it's inserting 
the comment that all is good.

below is the correct URL for the ping service on the device quoted above, note 
that the there is a difference in case, ping vs PING etc...

https://www.vk7hse.hobby-site.org/icinga/cgi-bin/extinfo.cgi?type=2&host=Compaq-
WL410&service=PING

Original comment by VK7HSE on 12 Jan 2011 at 10:35

GoogleCodeExporter commented 9 years ago
I think the problem is in Line : 360 in NagiosService.java

Original comment by k...@fischer.org.za on 18 Jan 2011 at 8:14

GoogleCodeExporter commented 9 years ago
Thanks for the hint, I'll take a look at the source code and have a play.... 
will let you know what gives ;-) 

Original comment by VK7HSE on 18 Jan 2011 at 8:24

GoogleCodeExporter commented 9 years ago
Any news on this ?

Original comment by k...@fischer.org.za on 6 Mar 2011 at 9:03