Coder Social home page Coder Social logo

gggeek / ggsysinfo Goto Github PK

View Code? Open in Web Editor NEW
13.0 5.0 9.0 686 KB

Extension for eZ Publish Legacy allowing administrators and developers to have better insight into their working installation.

License: GNU General Public License v2.0

PHP 77.55% Shell 1.66% CSS 2.48% JavaScript 0.26% Smarty 18.05%
ezpublish introspection development system-administration

ggsysinfo's Introduction

Extension ggsysinfo for eZ publish

Goals

Allow eZ Publish administrators and developers to have better insight into their working installation.

For example:

  • have the complete information from the installed php accelerator within the eZ Publish admin interface, and, in case, allow to clear its cache
  • have a more detailed view on eZ Publish cache files, allowing to grep through them and delete them if needed
  • have a more detailed view on eZ Publish log files, allowing to grep through them
  • have a stats page with all types of content in the db listed
  • have a page with more detailed status tests than ezinfo/isalive
  • have the complete information from the phpinfo() page within the eZ Publish admin interface
  • and more... new information panels are added periodically to the extension

Some pages that can be of help to developers too:

  • all available modules
  • all available module views with their parameters
  • all available fetch functions
  • all available policy functions
  • all available policy module operations
  • all available template operators (eZ4 templates)
  • all available workflow event types

Requirements

  • php 5.3 or later
  • eZ Publish 4.0 or later (tested all the way to eZ Platform 2.5)
  • eZ Publish cluster mode is only partially supported for the cache info part
  • the GD extension to php plus the Zeta Components library are needed to produce graphs (eg. in the storage churn page)
  • the ezgeshi extension ver. 1.3 or later is an optional add-on that will add some functionality

Installation

  • As per standard eZ Publish extensions: drop in extension dir, activate in site.ini override file or via gui

  • fix the autoload config: if not activated via the admin interface, run the ezpgenerateautoloads.php script

  • to have the connecting-to-the-web and connecting-to-email-server tests activated, go edit sysinfo.ini.append.php. By default, these tests are deactivated since they involve active probing of external resources

  • Access to all views of this module is regulated by granting access to the "setup/system_info" policy. NB: this is the same policy that governs access to the "System information" page in the admin interface, not a new policy defined by this extension. To allow anonymous access to a single view, the ini setting PolicyOmitList can be also used.

  • Make sure that users can access image files stored in var/$sitename/cache/sysinfo for the storage churn graph to work (this means properly configuring .htaccess file or vhost configuration usually)

  • For setting up the extension properly in cluster mode, read the details in settings/sysinfo.ini, [ClusterSettings] section

  • If the ezgeshi extension ver. 1.3 or later is also installed, on the pages listing views and fetch functions a link to the source code will be available. To be able to see the source listing, permission to the policy geshi/view_ezpublish_source must be granted for the desired users.

New modules/views

All the functionality is available in a new top-level tab in the administration interface, named "System Information". A somewhat-detailed description of all available information pages is given there. If some of the items in the menu are greyed out, it is because the corresponding item does not work / apply to your eZ Publish setup.

The systemstatus view can be used for systematic monitoring of the status of the eZ Publish installation by external tools such as Nagios, OpenNMS, Zenoss etc... For such configurations, it is recommended to use the json output, activated by appending 'json' to the url (after of course, giving correct access permissions): http://my.ezpublish.site/index.php//sysinfo/systemstatus/(view)/json

ggsysinfo's People

Contributors

alexsebbane avatar gggeek avatar informagar avatar sbressey avatar tomahoax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ggsysinfo's Issues

pb with attribute hidden and disabled

hello,

i have a problem in the menu and in the index page, with the properties disabled and hidden :

Error: eZTemplate @ extension/ggsysinfo/design/standard/templates/parts/sysinfo/menu.tpl:16[8] Apr 01 2012 23:07:16

No such attribute for array(5): hidden
Choose one of following: script, default_navigation_part, params, name,
description

alex

PS: a pull request should be send soon...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.