iPhone client

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

FYI....

Need to support web basic authentication...

Need to support alternate URL formats with port designations.

Example: https://cacti.mydomain.com:447/

Neither of these work and I get no error message on the above example URL.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Also, why does the user need all those permissions?

The user should and only need graph view permissions. I see NO reason for update datasource and update graphs, that is only a recipe for disaster. Let me know what your issues are and I can give you alternate solutions.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
wdylag
Posts: 1
Joined: Tue Jan 05, 2010 6:47 am

Post by wdylag »

del
vbali
Posts: 33
Joined: Wed Dec 02, 2009 6:04 am

Post by vbali »

rony wrote:FYI....

Need to support web basic authentication...

Need to support alternate URL formats with port designations.

Example: https://cacti.mydomain.com:447/

Neither of these work and I get no error message on the above example URL.
Thanks, I've added both of them (basic authentication, alternate urls) to my todo list. I will implement them soon.
vbali
Posts: 33
Joined: Wed Dec 02, 2009 6:04 am

Post by vbali »

rony wrote:Also, why does the user need all those permissions?

The user should and only need graph view permissions. I see NO reason for update datasource and update graphs, that is only a recipe for disaster. Let me know what your issues are and I can give you alternate solutions.
iCacti downloads device information from Devices list and graph information from the Graph management list of console. That's why the user should have the specified permissions. Is it possible to catch the same info without these rights?
vbali
Posts: 33
Joined: Wed Dec 02, 2009 6:04 am

iCacti 1.2 now available

Post by vbali »

iCacti 1.2 hotfix release now available in AppStore. Feel free to contact me if you have any issue.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Not available yet.. :P
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
dhoffryn
Posts: 3
Joined: Fri Jan 01, 2010 2:35 pm

Post by dhoffryn »

Got it, works for me now. Had one initial error about connecting to the instance and one crash where it exited completely during the same session, but its been stable since.
Thanks for the quick updates.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

vbali wrote:iCacti 1.2 hotfix release now available in AppStore. Feel free to contact me if you have any issue.
"There was an error while connecting the instance" on both my instances, one of which used to work with 1.1 :(
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
vbali
Posts: 33
Joined: Wed Dec 02, 2009 6:04 am

Post by vbali »

Howie wrote:"There was an error while connecting the instance" on both my instances, one of which used to work with 1.1 :(
Does these instances uses SSL?
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

vbali wrote:
Howie wrote:"There was an error while connecting the instance" on both my instances, one of which used to work with 1.1 :(
Does these instances uses SSL?
One does. That one was the one that gave no graphs (but did have host lists and graph titles) in 1.1.

One doesn't. That worked fully before.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

vbali wrote: iCacti downloads device information from Devices list and graph information from the Graph management list of console. That's why the user should have the specified permissions. Is it possible to catch the same info without these rights?
Hi Vbali,

I'm not sure if the iPhone is capable of using webservices, but I'm working on an update to my nmidWebService plugin ( which ich GPL ). As this one is accessing the cacti data via the DB i can implemnt those 2 functions.

Look here for info on what I already implemented:
http://forums.cacti.net/viewtopic.php?t=35682

The updated webservice plugin isn't published yet, but I can give you a current working version if you like ...
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

phalek wrote:
Hi Vbali,

I'm not sure if the iPhone is capable of using webservices, but I'm working on an update to my nmidWebService plugin ( which ich GPL ). As this one is accessing the cacti data via the DB i can implemnt those 2 functions.

Look here for info on what I already implemented:
http://forums.cacti.net/viewtopic.php?t=35682

The updated webservice plugin isn't published yet, but I can give you a current working version if you like ...
I feel like a proud father like many of the dev's do relative to these types of things.

Larry
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
gascione
Posts: 15
Joined: Mon Jun 02, 2003 5:04 pm
Location: Princeton
Contact:

Blank Screen

Post by gascione »

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)"
Maerstrom
Posts: 1
Joined: Mon Jan 11, 2010 6:03 am

Post by Maerstrom »

Hey, I've been looking for an iPhone-cacti solution for a while now, and I have even been tempted to create something similar, but obviously you beat me to it. ;)

I only notice that it's only available for iPhone OS 3.1.2.
Are you using any 3.1.2 specific features?
The reason why I'm asking is because I'm still on 3.0 (yup tethering is too precious for me).
If you're not using any specific features from 3.1.2, could you make the app available for 3.0 as well?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests