CactiPhone: iPhone/Android Web Interface (free)

Addons for Cacti and discussion about those addons

Moderators: Moderators, Developers

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

CactiPhone: iPhone/Android Web Interface (free)

#1 Post by bastiancontrario » Mon Feb 20, 2012 11:56 am

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: 1630
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

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

#2 Post by Linegod » Tue Feb 21, 2012 7:35 pm

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)

#3 Post by bastiancontrario » Thu Feb 23, 2012 3:19 am

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: 281
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

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

#4 Post by zoemu » Wed Jun 27, 2012 12:34 pm

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)

#5 Post by bastiancontrario » Wed Jun 27, 2012 1:08 pm

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

Thank you!

User avatar
zoemu
Cacti User
Posts: 281
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

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

#6 Post by zoemu » Wed Jun 27, 2012 1:17 pm

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)

#7 Post by bastiancontrario » Wed Jun 27, 2012 1:21 pm

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: 281
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

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

#8 Post by zoemu » Wed Jun 27, 2012 2:19 pm

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)

#9 Post by bastiancontrario » Wed Jun 27, 2012 3:38 pm

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)

#10 Post by bastiancontrario » Wed Jun 27, 2012 3:50 pm

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)

#11 Post by huntx » Fri Jul 06, 2012 2:15 am

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)

#12 Post by bastiancontrario » Mon Jul 16, 2012 7:37 am

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)

#13 Post by huntx » Sun Jul 29, 2012 9:24 pm

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)

#14 Post by bastiancontrario » Mon Jul 30, 2012 7:58 am

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)

#15 Post by huntx » Mon Jul 30, 2012 8:55 pm

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

Thanks bro !! :)

Post Reply