Ad Widget

Collapse

Zabbix as a module in a php framework

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johdah
    Junior Member
    • Jul 2005
    • 2

    #1

    Zabbix as a module in a php framework

    It would be nice to see zabbix as a module in for example Seagull PHP Framework. seagull.phpkitchen.com

    Seagull is an OO PHP framework with the core modules licensed under BSD, and has the following design goals:

    * independence of data, logic & presentation layers
    * extensible component architecture
    * reduction of repetitive programming tasks
    * simplifying data access
    * comprehensive error handling
    * action request workflow
    * simplified form handling
    * component reuse
    * authentication management
    * integration with PEAR libraries
    * PHP coding standards
    * platform/PHP version/browser independence
    * self-generating documentation
    * quality end user docs

    What do you think?
  • cooper
    Senior Member
    • Sep 2004
    • 110

    #2
    Originally posted by johdah
    It would be nice to see zabbix as a module in for example Seagull PHP Framework. seagull.phpkitchen.com

    What do you think?
    This is an interesting idea. As an internal IT department, i dont see how it would add much value. Having zabbix as a 'module' running in your company's intranet isnt much different than having a zabbix page.

    Now, where something like this really pays off is for service providers. Being able to add zabbix and 'network monitoring' as a module to you public website that is built on a content manager would be very valuable. It allows you to retain branding, and a consistant look/feel for your customers.

    Its probably not something i would vote for now as it would more than likely just be a distraction to feature development. And, that is what is most important at this time.

    cooper.

    Comment

    • Neo
      Member
      • Jun 2005
      • 59

      #3
      Yup! In fact it would be good if someone could start working on the presentation logic part (web frontend), someone with good web development skills.
      While the actual "backend" work could be concentrated on by the Zabbix developers.
      I think no one would like a bulky frontend but I am sure we would appreciate an easier to use interface to Zabbix.
      What do you think?

      Comment

      • johdah
        Junior Member
        • Jul 2005
        • 2

        #4
        Originally posted by cooper
        Its probably not something i would vote for now as it would more than likely just be a distraction to feature development. And, that is what is most important at this time.
        I don't think it would be a distraction to feature development. The result of building Zabbix upon Seagull framework is that 10–20% of the total code for the project will be Zabbix specific giving a huge reduction in code size, and improving readability and maintainability considerably. The code base is scrutinised by many eyes so bugs are fixed more quickly and new features developed rapidly and the Seagull framework aims to be developer and designer friendly.
        Last edited by johdah; 26-07-2005, 18:56.

        Comment

        • Neo
          Member
          • Jun 2005
          • 59

          #5
          What is this seagull thing anyway?

          Comment

          • rdg
            Junior Member
            • Jun 2005
            • 20

            #6
            This is the way to go! I found out that MySql, Oracle and Postgres are supported by seagull so if we decide to go with Seagull we will get database support in the framework. I guess this is only one of many reasons to go for it. Take a look yourself at http://seagull.phpkitchen.com/docs/w...wakka=HomePage

            /Robert

            Comment

            • cooper
              Senior Member
              • Sep 2004
              • 110

              #7
              Originally posted by johdah
              I don't think it would be a distraction to feature development. The result of building Zabbix upon Seagull framework is that 10–20% of the total code for the project will be Zabbix specific giving a huge reduction in code size, and improving readability and maintainability considerably. The code base is scrutinised by many eyes so bugs are fixed more quickly and new features developed rapidly and the Seagull framework aims to be developer and designer friendly.
              I'll start with this:
              http://www.zabbix.com/contribute.php

              Unless alexei has changed his position on this, 'porting' the zabbix frontend to seagull, or any other CMS framework, would be a distraction, as it would create a lot of work for him. Yes, down the road i can see it reducing some of the frontend development load, but untill the full 'port' to a module occurs, it would be a distraction.

              However, i am still not sold on the value/benifit of this for an average IT dept. or net admin that is running zabbix. No doubt it is there for a service provider, but thats not me. In fact if i didnt already run seagull and had to install it to run zabbix, that would be a negative in my book.

              cooper

              Comment

              • Alexei
                Founder, CEO
                Zabbix Certified Trainer
                Zabbix Certified SpecialistZabbix Certified Professional
                • Sep 2004
                • 5654

                #8
                The Contribute policy has changed a bit. I accept patches and new code provided it is well documented, tested, made in sync with current coding standards (yet to be defined), and has no licensing issues.

                Anyway, I do not want to introduce extra dependencies on third party tools unless it's absolutely necessary. Look at problems an average ZABBIX user has. Most of them are related to configuration of PHP, GD, Apache+PHP, whatever. I do not want to add Seagull to the list.

                That's why I do not use Pear or any other frameworks. I hope it makes sense.
                Alexei Vladishev
                Creator of Zabbix, Product manager
                New York | Tokyo | Riga
                My Twitter

                Comment

                • charles
                  Member
                  • Sep 2004
                  • 54

                  #9
                  Alexei, I understand your viewpoint, but I think its not a good policy in all cases. Pear for example is something you should be taking advantage of, and I don't believe would cause any compatability. Bundle a copy with zabbix if you want. Using things like Pear could/should help improve zabbix and speed up the development.

                  I do agree that you should not need to base it on a framework like seagull, but making zabbix modular so components could be used in other tools would be very useful. A simple example is I'd like to have my own customer portal, but use a few lines of code to plug in a zabbix graphing module and give my customers access to certain graphs I have defined.

                  What do you think of that?

                  charles

                  Comment

                  • Alexei
                    Founder, CEO
                    Zabbix Certified Trainer
                    Zabbix Certified SpecialistZabbix Certified Professional
                    • Sep 2004
                    • 5654

                    #10
                    Hi Charles! Well, Pear (which is quite mature framework, well-supported, etc) wasn't good example to demonstrate my position. Generally I agree with you. I just want to avoid situations when immediate benefits of a third-party module would not turn into maintanance and configuration nightmare in long term perspective.
                    Alexei Vladishev
                    Creator of Zabbix, Product manager
                    New York | Tokyo | Riga
                    My Twitter

                    Comment

                    • charles
                      Member
                      • Sep 2004
                      • 54

                      #11
                      Originally posted by Alexei
                      Hi Charles! Well, Pear (which is quite mature framework, well-supported, etc) wasn't good example to demonstrate my position. Generally I agree with you. I just want to avoid situations when immediate benefits of a third-party module would not turn into maintanance and configuration nightmare in long term perspective.
                      Understood

                      charles

                      Comment

                      • ajt
                        Junior Member
                        • Jun 2006
                        • 1

                        #12
                        Already been done

                        Hi Everyone,

                        I'm one of the core developer of Seagull and to my knowledge this has already been done by a user in the Seagull community. If you would like to take a look the url is https://portal.getproactivenow.com/ - username: demo / password: demo

                        I'm not sure if it will be contributed back or not. However, If someone is interested in developing a module that wraps Zabbix do not hesitate to contact me at aj AT seagullproject DOT org or send an email to the Mailing List. Personally I think something like this would be a great for both communities.

                        Best Regards,
                        AJ Tarachanowicz II

                        Comment

                        • Samirdash

                          #13
                          Facing problems in installation of Seagull Framework

                          Hi although i have completed all the 5 stages of installation still i am stopped there in the 6th stage.. its onl showing "loading custom data". and i am unable to jump to any further step as i cannt install it properly. i have tried it in windows 7 as well as in Ubuntu.. i am facing the same problem in both the OS. please help me.. it is urgent for me to install and to start work...
                          Thanks & Regards
                          Samir

                          Comment

                          Working...