Archived community.zenoss.org | full text search
Skip navigation
Currently Being Moderated

Google Search Provider

VERSION 3  Click to view document history
Created on: Aug 23, 2010 6:35 PM by Matt Ray - Last Modified:  Aug 24, 2010 12:50 AM by Matt Ray

Submitted by: Zenoss Development


Description:

The ZenPack provides a Google search provider for allowing Zenoss users to search Google within the application.  Similar to the Global Device Search, this implementation is intended as an example for writing your own search extensions.

 

The source for this ZenPack is available for download from

http://zenpacks.zenoss.org/svn/zenpacks/ZenPacks.community.GoogleSearch/

 

Browsing through the source of the Google Search ZenPack (conveniently available at http://zenpacks.zenoss.org), there are essentially 3 files that provide the functionality.

 

ZenPacks/community/GoogleSearch/configure.zcml

points to the ".google" directory, which provides the 2 files for implementing search.

 

ZenPacks/community/GoogleSearch/google/configure.zcml

registers the GoogleSearchProvider in the UI.

 

ZenPacks/community/GoogleSearch/google/adapters.py

provides the implementation of the ISearchProvider and ISearchResult interfaces.  Note the method doMySearch, which provides the calls to the Google API and returns the populated GoogleSearchResults.

 

You can adapt these files to provide your own pluggable search implementations.


Screenshots:

GoogleSearch.png

GoogleSearch2.png


Installation Requirements:

  • Zenoss Versions Supported: 3.0
  • External Dependencies: Internet access to Google
  • ZenPack Dependencies: none
  • Installation Notes: zopectl restart after installing this ZenPack.
  • Configuration: none

History:

Change History:

  • 1.0 initial release

Tested: This ZenPack was tested with version 3.0.

Source: http://zenpacks.zenoss.org/svn/zenpacks/ZenPacks.community.GoogleSearch

Tagged Releases:


Known issues:

Attachments:
Note: binary attachments ending in .zip will need to be unzipped before use.
Comments (0)