|
|
| Author |
Message |
gascione
Joined: 02 Jun 2003 Posts: 15 Location: Princeton
|
Posted: Mon Jan 11, 2010 9:03 am Post subject: Re: Blank Screen |
|
|
| gascione wrote: | Not sure what I am doing wrong. Even finally upgraded to 0.8.7e. Installed app just fine. Entered my URL, username and password. Press the instance to log on and the little icon spins, stops spinning and I get nothing. No error, blank screen. Is there something in cacti to enable or is it just using the regular browsing features?
GA
Here is what comes into the apache log file when I select the instance:
XX.XX.XX.XX - - [10/Jan/2010:13:04:33 -0500] "POST / HTTP/1.1" 302 - "-" "iCacti 1.2 (iPhone; iPhone OS 3.1.2; en_US)"
XX.XX.XX.XX - - [10/Jan/2010:13:04:34 -0500] "GET /graph_view.php HTTP/1.1" 302 - "-" "iCacti 1.2 (iPhone; iPhone OS 3.1.2; en_US)"
XX.XX.XX.XX - - [10/Jan/2010:13:04:34 -0500] "GET /graph_view.php?action=tree&tree_id=10&select_first=true HTTP/1.1" 200 80572 "-" "iCacti 1.2 (iPhone; iPhone OS 3.1.2; en_US)"
XX.XX.XX.XX - - [10/Jan/2010:13:04:34 -0500] "GET /host.php?host_status=-1&host_template_id=-1&host_rows=5000&filter= HTTP/1.1" 200 750 "-" "iCacti 1.2 (iPhone; iPhone OS 3.1.2; en_US)" |
Any help with my post? It's not going to break the bank but I hate to think I spent $1.99 for nothing I would really love to be able to use this app.
Thanks
GA |
|
| Back to top |
|
 |
gascione
Joined: 02 Jun 2003 Posts: 15 Location: Princeton
|
Posted: Mon Jan 11, 2010 6:11 pm Post subject: Re: Blank Screen |
|
|
| gascione wrote: | | gascione wrote: | Not sure what I am doing wrong. Even finally upgraded to 0.8.7e. Installed app just fine. Entered my URL, username and password. Press the instance to log on and the little icon spins, stops spinning and I get nothing. No error, blank screen. Is there something in cacti to enable or is it just using the regular browsing features?
GA
Here is what comes into the apache log file when I select the instance:
XX.XX.XX.XX - - [10/Jan/2010:13:04:33 -0500] "POST / HTTP/1.1" 302 - "-" "iCacti 1.2 (iPhone; iPhone OS 3.1.2; en_US)"
XX.XX.XX.XX - - [10/Jan/2010:13:04:34 -0500] "GET /graph_view.php HTTP/1.1" 302 - "-" "iCacti 1.2 (iPhone; iPhone OS 3.1.2; en_US)"
XX.XX.XX.XX - - [10/Jan/2010:13:04:34 -0500] "GET /graph_view.php?action=tree&tree_id=10&select_first=true HTTP/1.1" 200 80572 "-" "iCacti 1.2 (iPhone; iPhone OS 3.1.2; en_US)"
XX.XX.XX.XX - - [10/Jan/2010:13:04:34 -0500] "GET /host.php?host_status=-1&host_template_id=-1&host_rows=5000&filter= HTTP/1.1" 200 750 "-" "iCacti 1.2 (iPhone; iPhone OS 3.1.2; en_US)" |
Any help with my post? It's not going to break the bank but I hate to think I spent $1.99 for nothing I would really love to be able to use this app.
Thanks
GA |
Just in case anyone is listening out of frustration I set up Cacti on a Linux machine inside my home network. Same version, same Linux OS and rev, fairly identical machines. I added a few monitors to the new install of cacti and pointed Icacti to the home server and it gives me the menus and the graphs. Works like a charm
Same cacti installation at the work network, same rev and patches, just lots more monitors, nothing at all, no response from ICacti. No menus no graphs, no errors. Just connects and spins the wheel for about 10 seconds then shows a blank screen. Not a firewall issue either, VPN into the network so I am working on the same LAN. Am I missing some apache setting or something? |
|
| Back to top |
|
 |
phalek Cacti Pro User
Joined: 31 Jan 2008 Posts: 558 Location: Kressbronn, Germany
|
Posted: Mon Jan 11, 2010 6:28 pm Post subject: |
|
|
| just my 2cents, but that sounds like a time-out issue where icacti is waiting for a response from the server and then ust silently fails .... |
|
| Back to top |
|
 |
gascione
Joined: 02 Jun 2003 Posts: 15 Location: Princeton
|
Posted: Mon Jan 11, 2010 6:32 pm Post subject: |
|
|
| Could be but no way of doing anything about it. |
|
| Back to top |
|
 |
gascione
Joined: 02 Jun 2003 Posts: 15 Location: Princeton
|
Posted: Mon Jan 11, 2010 7:20 pm Post subject: Re: Blank Screen |
|
|
| gascione wrote: | | gascione wrote: | | gascione wrote: | Not sure what I am doing wrong. Even finally upgraded to 0.8.7e. Installed app just fine. Entered my URL, username and password. Press the instance to log on and the little icon spins, stops spinning and I get nothing. No error, blank screen. Is there something in cacti to enable or is it just using the regular browsing features?
GA
Here is what comes into the apache log file when I select the instance:
XX.XX.XX.XX - - [10/Jan/2010:13:04:33 -0500] "POST / HTTP/1.1" 302 - "-" "iCacti 1.2 (iPhone; iPhone OS 3.1.2; en_US)"
XX.XX.XX.XX - - [10/Jan/2010:13:04:34 -0500] "GET /graph_view.php HTTP/1.1" 302 - "-" "iCacti 1.2 (iPhone; iPhone OS 3.1.2; en_US)"
XX.XX.XX.XX - - [10/Jan/2010:13:04:34 -0500] "GET /graph_view.php?action=tree&tree_id=10&select_first=true HTTP/1.1" 200 80572 "-" "iCacti 1.2 (iPhone; iPhone OS 3.1.2; en_US)"
XX.XX.XX.XX - - [10/Jan/2010:13:04:34 -0500] "GET /host.php?host_status=-1&host_template_id=-1&host_rows=5000&filter= HTTP/1.1" 200 750 "-" "iCacti 1.2 (iPhone; iPhone OS 3.1.2; en_US)" |
Any help with my post? It's not going to break the bank but I hate to think I spent $1.99 for nothing I would really love to be able to use this app.
Thanks
GA |
Just in case anyone is listening out of frustration I set up Cacti on a Linux machine inside my home network. Same version, same Linux OS and rev, fairly identical machines. I added a few monitors to the new install of cacti and pointed Icacti to the home server and it gives me the menus and the graphs. Works like a charm
Same cacti installation at the work network, same rev and patches, just lots more monitors, nothing at all, no response from ICacti. No menus no graphs, no errors. Just connects and spins the wheel for about 10 seconds then shows a blank screen. Not a firewall issue either, VPN into the network so I am working on the same LAN. Am I missing some apache setting or something? |
In case the developers read this here is some information that may help debug the app. There has to be a problem with it, it just doesn't work. The installation of Cacti that produces nothing has:
A total of 45 Graph Trees
14 Primary trees
31 Sub Trees (only 1 level deep)
56 Devices Active on the system
191 Data Sources
113 Total active graphs
Running on CentOS, Dell 1750 Server. Only site on the server is Cacti. Polls all devices in less than 6 seconds. Error logs completely clean. Here is one of the polling messages:
01/11/2010 07:15:07 PM - SYSTEM STATS: Time:5.7113 Method:cmd.php Processes:15 Threads:N/A Hosts:56 HostsPerProcess:4 DataSources:191 RRDsProcessed:132
Web based interface works fine, no errors all graphs display perfectly. Works in IPhone Safari browser if you have a magnifying glass or the patience to play with the screen.
Both Cacti installations are identical except for the number of devices. The second system that works, from the logs:
01/11/2010 07:15:05 PM - SYSTEM STATS: Time:4.1438 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:9 RRDsProcessed:7
This one only has three graph trees and only a few graphs.
I'm done beating my head against the wall. Please let me know if anything else is needed to figure this out, until then its $2 for a dead app. No big deal, won't break me but seriously sad, really wanted this app to work. I'm not an Iphone developer so sorry I can't help out any further.
GA |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 11821 Location: MI, USA
|
Posted: Mon Jan 11, 2010 7:37 pm Post subject: |
|
|
I feel your frustration. However, I don't own one of these things. So, I can't help.
TheWitness |
|
| Back to top |
|
 |
TheWitness Developer
Joined: 14 May 2002 Posts: 11821 Location: MI, USA
|
Posted: Mon Jan 11, 2010 7:38 pm Post subject: |
|
|
IMHO, the developer should require a Cacti Plugin to coincide with the Application. That would make this "much" easier.
TheWitness |
|
| Back to top |
|
 |
gascione
Joined: 02 Jun 2003 Posts: 15 Location: Princeton
|
Posted: Mon Jan 11, 2010 7:43 pm Post subject: |
|
|
| It's a young app, hopefully it will grow and mature. |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 3437 Location: United Kingdom
|
Posted: Tue Jan 12, 2010 3:45 am Post subject: |
|
|
| TheWitness wrote: | IMHO, the developer should require a Cacti Plugin to coincide with the Application. That would make this "much" easier.
TheWitness |
Agreed. I did volunteer for that part, but actually it looks like nmidWebServer would do it. |
|
| Back to top |
|
 |
phalek Cacti Pro User
Joined: 31 Jan 2008 Posts: 558 Location: Kressbronn, Germany
|
Posted: Tue Jan 12, 2010 4:39 pm Post subject: |
|
|
Hi guys,
I just published a development release for playing around with the webservice stuff. It's a long way until production release, but will show the possibilities of a webservice.
http://forums.cacti.net/viewtopic.php?p=180283#180283 |
|
| Back to top |
|
 |
waverate
Joined: 12 Jan 2010 Posts: 3
|
Posted: Tue Jan 12, 2010 5:23 pm Post subject: Re: Blank Screen |
|
|
gascione,
I feel your pain. I have the same problem.
I noticed in my access_log:
10.2.1.1 - - [12/Jan/2010:16:43:21 -0500] "POST / HTTP/1.1" 200 750 "-" "iCacti 1.2 (iPhone; iPhone OS 3.1.2; en_CA)"
10.2.1.1 - - [12/Jan/2010:16:43:21 -0500] "GET /host.php?host_status=-1&host_template_id=-1&host_rows=5000&filter= HTTP/1.1" 200 750 "-" "iCacti 1.2 (iPhone; iPhone OS 3.1.2; en_CA)"
There are no errors in the error_log.
When I put the GET request into the address line for my Cacti installation, I notice that it brings up the devices (host.php) page filtered on the term HTTP/1.1. For my installation, this returns a table of no devices.
I wonder if this is the problem?
So, I tried to be smarter than the average bear and added HTTP /1.1 to the description of my devices. Sure enough, the URL now returns a list of devices.
BUT .. still no response from the iPhone App.
I am not monitoring as many devices as you:
Date Tue, 12 Jan 2010 17:10:29 -0500
Cacti Version 0.8.7e
Cacti OS unix
SNMP Version NET-SNMP version: 5.3.2.2
RRDTool Version RRDTool 1.3.x
Hosts 7
Graphs 19
Data Sources Script/Command: 16
SNMP Query: 2
Script Query: 2
Total: 20
Finally, like you I am behind a work firewall. I took a look at the firewall logs and I could not find any other packets that were part of the stream that were being dropped.
Considering that there is no documentation about what we need to do to get this to work, I am assuming that it works out of the box.
I give up. |
|
| Back to top |
|
 |
waverate
Joined: 12 Jan 2010 Posts: 3
|
Posted: Tue Jan 12, 2010 5:55 pm Post subject: Re: Blank Screen |
|
|
SUCCESS!
I tried using my admin user and password and it works. It looks like it has something to do with the permissions. My guess is that the user that I was using only has permissions to view graphs. After looking at the GET request, I think I may have to give him permissions for the devices table.
Getting closer. |
|
| Back to top |
|
 |
waverate
Joined: 12 Jan 2010 Posts: 3
|
Posted: Tue Jan 12, 2010 7:05 pm Post subject: Re: Blank Screen |
|
|
Solved!
The final step for my non-admin user to gain access to the graphs was to give him the following permissions:
- console access,
- view graphs,
- update data sources,
- update graphs,
- and graph level permissions
This is from the iCacti page in the Apple Apps Store. I never noticed it before.
Everything looks great. The only issue I have is that there is no text on the on the bottom of the graphs showing the values. It would be nice to see current, min, max depending what the graph template says. |
|
| Back to top |
|
 |
gascione
Joined: 02 Jun 2003 Posts: 15 Location: Princeton
|
Posted: Thu Jan 14, 2010 5:06 pm Post subject: Re: Blank Screen |
|
|
| waverate wrote: | Solved!
The final step for my non-admin user to gain access to the graphs was to give him the following permissions:
- console access,
- view graphs,
- update data sources,
- update graphs,
- and graph level permissions
This is from the iCacti page in the Apple Apps Store. I never noticed it before.
Everything looks great. The only issue I have is that there is no text on the on the bottom of the graphs showing the values. It would be nice to see current, min, max depending what the graph template says. |
!!! Thank you, very much. I gave up on responses because I didn't get an Email that I requested to notify me whan a post came in. By chance I logged in today and saw your solution. And yes, that made it work!!
Nice to get my buck 99 working. I agree, would like to see the data at the bottom of the graph. But what I see is still nice.
GA |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5676 Location: Michigan, USA
|
Posted: Sun Jan 24, 2010 5:29 pm Post subject: |
|
|
| How's development going? |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|