Cacti (home)ForumsDocumentation

plgexample

type:
userplugin
userplugin:
plgexample
author:
Jean-Michel Pepin
description:
a reference/canvas plugin to create quickly your how plugin, copy it, replace "plgexample" with the name of your plugin (ex myown) everywhere you can see it (folder, filename, in the files itself) and your have your new plugin ready to be installed.
version:
0.2
pia:
2.x
cacti:
0.8.7e,0.8.7g
date:
2008-01-01

Download

This plugin can be download here: plgexamplev0.2.zip

Purpose

a reference/canvas plugin to create quickly your how plugin, copy it, replace “plgexample” with the name of your plugin (ex myown) everywhere you can see it (folder, filename, in the files itself) and your have your new plugin ready to be installed.

You can install it itself.

Features

Prerequisites

Installation

not needed, but you will create your own …

(later all the next steps will be automatised)

For example your new pluginname is myown

  1. unzip and copy plgexample
  2. rename the folder plgexample in myown
  3. rename the file plgexample.php in myown.php
  4. rename (if you will a poller function) the file poller_plgexample.php into poller_myown.php
  5. open setup.php and replace all times you see 'plgexample' with 'myown' / or use sed 's/plgexample/myown/g' setup.php
  6. check/modify (like above) also myown.php and poller_myown.php
  7. change/create your menu in setup.php function myown_config_arrays () , if your setup.php is growing a lot use the include subfolder
  8. change your tab images. Use the *.psd example in the folder 'images' to create yours (with f.ex gimp)
  9. install/enable in cacti your new plugin
  10. create your needs …

Usage

Additional Help?

If you need additional help, please go to

Possible Bugs?

Screenshots






Personal Tools