CactiPhone: iPhone/Android Web Interface (free)

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

bastiancontrario
Posts: 13
Joined: Mon Feb 20, 2012 11:45 am

CactiPhone: iPhone/Android Web Interface (free)

Post by bastiancontrario »

NOTE: A newer version of this code is now available at https://github.com/netniV/cactiphone where you can download a 1.x compatible version. The repo is provided merely as a simplified location for source control and downloading. All changes were made by bastiancontrario and depe and no audit has been made of the changes.

Hi guys, I've made a little addon written in php/javascript to bring the experience of cacti into your smartphones.

You can find the code here https://sourceforge.net/projects/cactiphone/ all you have to do is to download the cactihone directory and put into your cacti root directory.

This is a first release, the code is very poor there is someone that can help me to improve the code?

For the original cacti developers (owners) I don't know nothing about license (GPL, GNU, Apache or whatever), I've pubblicate my code under GPL3 it's right? If I've to change something please contact me, I'll be proud to accept your knowledge.

Let me know impressions, bug or all what you want!

Enjoy!
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Re: CactiPhone: iPhone/Android Web Interface (free)

Post by Linegod »

Any of the code that you copied from Cacti must be licensed under the GPL v2.
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
bastiancontrario
Posts: 13
Joined: Mon Feb 20, 2012 11:45 am

Re: CactiPhone: iPhone/Android Web Interface (free)

Post by bastiancontrario »

Thank you Linegod I've changed the license!

Did you saw the addon? Did you like it? It can be a good idea?
Let me know some opinion about I need it to know if I've to continue on improving the code and the GUI.
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Re: CactiPhone: iPhone/Android Web Interface (free)

Post by zoemu »

Hi I have copied the folder cactiphone under cacti. When I type Htpp://cactiserver/cacti/cactiphone... I do get the login and the menu items but no graphs ? Am i Missing something ???

LA
bastiancontrario
Posts: 13
Joined: Mon Feb 20, 2012 11:45 am

Re: CactiPhone: iPhone/Android Web Interface (free)

Post by bastiancontrario »

Hi,
can you watch into apache error.log and past here some error code?

Thank you!
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Re: CactiPhone: iPhone/Android Web Interface (free)

Post by zoemu »

do not use apache, my cacti is setup on a windows Server 2008 IIS 6
bastiancontrario
Posts: 13
Joined: Mon Feb 20, 2012 11:45 am

Re: CactiPhone: iPhone/Android Web Interface (free)

Post by bastiancontrario »

Ok, may I have some error string from IIS error log?

The error log file is located in systemroot\System32\LogFiles\HTTPERR.
User avatar
zoemu
Cacti User
Posts: 287
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Re: CactiPhone: iPhone/Android Web Interface (free)

Post by zoemu »

this is the only thing I get in the log files

#Software: Microsoft HTTP API 2.0
#Version: 1.0
#Date: 2012-06-27 19:13:34
#Fields: date time c-ip c-port s-ip s-port cs-version cs-method cs-uri sc-status s-siteid s-reason s-queuename
2012-06-27 19:13:34 10.1.140.215 50456 10.1.142.7 80 HTTP/1.1 GET /cacti/cactiphone/index.php - 1 Connection_Abandoned_By_ReqQueue DefaultAppPool
bastiancontrario
Posts: 13
Joined: Mon Feb 20, 2012 11:45 am

Re: CactiPhone: iPhone/Android Web Interface (free)

Post by bastiancontrario »

I've fixed the code, please download again the tar.gz pack and enjoy!
bastiancontrario
Posts: 13
Joined: Mon Feb 20, 2012 11:45 am

Re: CactiPhone: iPhone/Android Web Interface (free)

Post by bastiancontrario »

You can find also a little demo of CactiPhone here http://ghm.dreamhosters.com/cacti/cactiphone/index.php

Username: cactiphone
Password: cactiphone
huntx
Posts: 4
Joined: Fri Jul 06, 2012 2:13 am

Re: CactiPhone: iPhone/Android Web Interface (free)

Post by huntx »

Awesome work out there.

But, if there are host under a tree, we unable to view the hosts' graphs ?
bastiancontrario
Posts: 13
Joined: Mon Feb 20, 2012 11:45 am

Re: CactiPhone: iPhone/Android Web Interface (free)

Post by bastiancontrario »

huntx wrote:Awesome work out there.

But, if there are host under a tree, we unable to view the hosts' graphs ?


Thank you for your report, I'm working to solve this issue very soon!
I'll reply here, bye ;)
huntx
Posts: 4
Joined: Fri Jul 06, 2012 2:13 am

Re: CactiPhone: iPhone/Android Web Interface (free)

Post by huntx »

Thanks for your effort. Waiting for ya update. :D
bastiancontrario
Posts: 13
Joined: Mon Feb 20, 2012 11:45 am

Re: CactiPhone: iPhone/Android Web Interface (free)

Post by bastiancontrario »

Hello,
I've fixed the code, now you can view Hosts under the trees and the associated graphs.
You can download the archive here https://sourceforge.net/projects/cactiphone/files/ or you can grab the code via svn repos!

Next step is to rewrite the code because is very messy.


Let me know if there are problem or something else.

Ciao ;)
huntx
Posts: 4
Joined: Fri Jul 06, 2012 2:13 am

Re: CactiPhone: iPhone/Android Web Interface (free)

Post by huntx »

Tested out the code, and it's working fine.

Thanks bro !! :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest