Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun May 28, 2017 1:21 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Cacti Client for Android
PostPosted: Mon Jul 18, 2011 5:10 am 
Offline

Joined: Mon Jul 18, 2011 4:49 am
Posts: 7
Location: Germany
Hi,

I spent the last few weeks on writing an Cacti client for Android phones. The reason for that is that I found it really hard to browse the graphs on my Android's small screen.
At this time the App is not very feature rich, but you can browse the graph tree and look at the graphs. Last night I released the initial 1.0 version to the market.
The problem is that I have only access to 2 Cacti instances for testing, both version 0.8.7g. So if you think that this is a useful App, it would be nice if you could have a look at it and tell me what you think. Any feedback is highly appreciated!

You can find it here: https://market.android.com/details?id=de.fabworxs.cactiviewer
Or search the market on your Phone for "CactiViewer".
Supported languages are English and German. It needs at lease Android 2.2.

Thanks in advance, I'm looking forward to your feedback.

(Sorry for the bad english)


Top
 Profile  
 
 Post subject: Re: Cacti Client for Android
PostPosted: Fri Aug 05, 2011 7:59 am 
Offline
Cacti User

Joined: Wed Aug 30, 2006 8:45 pm
Posts: 95
Nice job on this app. Works great! :D


Top
 Profile  
 
 Post subject: Re: Cacti Client for Android
PostPosted: Thu Aug 11, 2011 7:22 am 
Offline
Cacti User

Joined: Wed Jun 18, 2008 10:21 am
Posts: 111
Location: France
Nice app.

It seems the graphs never get cached? Wouldn't this be desirable to reduce traffic ?

A "home" or "go back to host selection" button is missing as well.

_________________
Cedric Girard


Top
 Profile  
 
 Post subject: Re: Cacti Client for Android
PostPosted: Thu Aug 11, 2011 7:33 am 
Offline

Joined: Mon Jul 18, 2011 4:49 am
Posts: 7
Location: Germany
Thanks for your feedback!

Quote:
It seems the graphs never get cached? Wouldn't this be desirable to reduce traffic ?

Yes, you're totally right. Later on, there must be something like caching.
For the moment, I'm trying to get it stable, without touching basicly working parts :D

Quote:
A "home" or "go back to host selection" button is missing as well.

That's a good idea. Thanks for the hint. The next version will have that button.


Top
 Profile  
 
 Post subject: Re: Cacti Client for Android
PostPosted: Thu Aug 11, 2011 8:13 am 
Offline
Cacti User

Joined: Wed Jun 18, 2008 10:21 am
Posts: 111
Location: France
FabianCV wrote:
Yes, you're totally right. Later on, there must be something like caching.

Note that it might become complicated because you don't really know when the graph need to be updated and not loaded from cache.

_________________
Cedric Girard


Top
 Profile  
 
 Post subject: Re: Cacti Client for Android
PostPosted: Thu Aug 11, 2011 8:37 am 
Offline

Joined: Mon Jul 18, 2011 4:49 am
Posts: 7
Location: Germany
Yep, that's the problem. I think I will only cache the preview images with a default cache time of 5 minutes. If the user wants to see the last (nearly) 5 minutes that might be lost due to the cache, he can hit a "force reload" button. At least this is the first idea that came to my mind.

Another improvement could be made by caching the tree structure and the image links in the leaves, once I have fetched them. It would save a lot traffic and time, but how to check if the graph arrangement has changed? Letting the user press a "clear tree cache" button when they know something has changed in their cacti instance seems not to be a good solution. Any ideas to this?


Top
 Profile  
 
 Post subject: Re: Cacti Client for Android
PostPosted: Thu Aug 11, 2011 11:11 am 
Offline
Cacti User

Joined: Wed Jun 18, 2008 10:21 am
Posts: 111
Location: France
FabianCV wrote:
Yep, that's the problem. I think I will only cache the preview images with a default cache time of 5 minutes. If the user wants to see the last (nearly) 5 minutes that might be lost due to the cache, he can hit a "force reload" button. At least this is the first idea that came to my mind.

Seems good to me.

FabianCV wrote:
Another improvement could be made by caching the tree structure and the image links in the leaves, once I have fetched them. It would save a lot traffic and time, but how to check if the graph arrangement has changed? Letting the user press a "clear tree cache" button when they know something has changed in their cacti instance seems not to be a good solution. Any ideas to this?

Not sure about this. Cacti tree management is a PITA anyway (improved in 0.8.8).

Maybe you could do this as a configurable settings. Either cache the tree and manually reload it or always reload.

_________________
Cedric Girard


Top
 Profile  
 
 Post subject: Re: Cacti Client for Android
PostPosted: Wed Oct 19, 2011 3:48 pm 
Offline

Joined: Thu Oct 06, 2011 2:12 pm
Posts: 1
Cool app, much helpful! Thanks for creating it and sharing the link. Hope for more improvements in future.


Top
 Profile  
 
 Post subject: Re: Cacti Client for Android
PostPosted: Mon Nov 14, 2011 4:40 pm 
Offline

Joined: Mon Nov 14, 2011 4:35 pm
Posts: 1
Works well on Android 2.3.3 on an Evo 4G.

I am running Cacti 0.8.7h as well.

One thing I did notice is that on the preview graph screen my menu option for changing the settings is called "Settings" but if I click on a graph to see the details and press the menu button again my option is now named "Preferences". It has the same options as the "Settings" menu option. Just seems like an inconsistency between the two screens. Other than that it looks good so far.


Top
 Profile  
 
 Post subject: Re: Cacti Client for Android
PostPosted: Fri Nov 25, 2011 11:19 am 
Offline

Joined: Mon Jul 18, 2011 4:49 am
Posts: 7
Location: Germany
Quote:
Just seems like an inconsistency between the two screens.
Yes, that's not really nice. I will fix that.
Thanks for the feedback!


Top
 Profile  
 
 Post subject: Re: Cacti Client for Android
PostPosted: Wed Dec 21, 2011 9:49 am 
Offline

Joined: Wed Dec 21, 2011 9:35 am
Posts: 1
Quote:
Just seems like an inconsistency between the two screens.

Apart from that the client works fine so far 8)


Top
 Profile  
 
 Post subject: Re: Cacti Client for Android
PostPosted: Wed Dec 21, 2011 10:06 am 
Offline

Joined: Mon Jul 18, 2011 4:49 am
Posts: 7
Location: Germany
Huh, I thought that was fixed in 1.0.9 (beginning of December).
Can you please check if you are using the latest version (1.0.10)?


Top
 Profile  
 
 Post subject: Re: Cacti Client for Android
PostPosted: Tue Dec 27, 2011 3:03 pm 
Offline
Developer

Joined: Thu Apr 07, 2005 3:29 pm
Posts: 2535
Location: B/CS Texas
BTW, just thought I would drop a note that I am currently using your app, and I think its great! I have been wanting to write one myself for a good while, just never got around to it.

_________________
CactiEZ CD


Top
 Profile  
 
 Post subject: Re: Cacti Client for Android
PostPosted: Sun Jul 08, 2012 11:01 pm 
Offline

Joined: Fri Feb 18, 2011 7:20 am
Posts: 24
Why do not I get when I connect through the mobile Internet. And if you use WiFi then the program connects to my cacti server.


Top
 Profile  
 
 Post subject: Re: Cacti Client for Android
PostPosted: Tue Dec 11, 2012 1:13 am 
Offline

Joined: Thu Nov 22, 2012 1:24 am
Posts: 10
mirage wrote:
Why do not I get when I connect through the mobile Internet. And if you use WiFi then the program connects to my cacti server.


I am just trying to imagine your situation..
When you connect to the WiFi you are connecting to your internal LAN which will resolve / connect to all local servers without any issues
I think you need to forward the traffic from the Internet to your Cacti server through your firewall using a public ip and port. This will enable the connectivity from outside your network as well.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group