Step by step procedure for adding a PLUGIN in Cacti.

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
subrun
Posts: 6
Joined: Fri Aug 20, 2010 7:15 am
Location: BD
Contact:

Step by step procedure for adding a PLUGIN in Cacti.

Post by subrun »

Dear ALL

Plz mention an example step by step procedure for adding a PLUGIN in Cacti.

And also plz mention what does a PLUGIN serve in Cacti ?


I am a newbie to cacti please consider my silly questions.



Waiting for reply.


Thanking You

Subrun
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Plz mention an example step by step procedure for adding a PLUGIN in Cacti.
1. Download plugin you wish you use
2. Extract this to your plugins directory.
3. Depending on the plugin style (old or new PIA), either

Go to Plugin Management, and then use the buttons to install and enable your plugin

If your plugin uses the old PIA, edit includes/config.php, and insert it into the array (shown in the file where you place the plugins)

4. Go into user management, and give yourself rights to access the plugin

This is a rough guide, but should get you started. Most of the plugins have a readme file as well, which show you how to install

And also plz mention what does a PLUGIN serve in Cacti ?
A plugin is designed to "hook" into Cacti's code, and provide an extended set of functionality without having to modify the core provided by Cacti.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
subrun
Posts: 6
Joined: Fri Aug 20, 2010 7:15 am
Location: BD
Contact:

Re: Step by step procedure for adding a PLUGIN in Cacti.

Post by subrun »

8) Thank You for reply.

But would you please make a difference between PLUGIN , TEMPLATE , SCRIPTS .

and use of thos in Cacti.

Again i am stating as new to Cacti please consider my silly questions.

Thank You
Subrun
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Re: Step by step procedure for adding a PLUGIN in Cacti.

Post by mcutting »

subrun wrote:8) Thank You for reply.

But would you please make a difference between PLUGIN , TEMPLATE , SCRIPTS .

and use of thos in Cacti.

Again i am stating as new to Cacti please consider my silly questions.

Thank You
Subrun
You really should read the documentation from http://docs.cacti.net

However:

I've already mentioned what a plugin does, so won't repeat it. A template is a collection of data sources, graphs etc that can be applied to a host all at the same time rather than choosing them all manually. A script is what Cacti will use to actually collect the data.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests