plugin discover ... No tab!!!

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

driden91
Cacti User
Posts: 52
Joined: Fri Jan 20, 2006 10:38 am

plugin discover ... No tab!!!

Post by driden91 »

I'have intalled cacti with the plugin discovery

I added the following line to cacti/include/config.php
$plugins[] = 'discovery';

and dropped the files in /cacti/plugins/discovery and imported the discover.sql file into the cacti db

I checked for rights, etc, but I do not see anywhere to add and it doesn't appear available as a tab

help me please ?
Allen K
Posts: 25
Joined: Sat Oct 15, 2005 9:34 pm

Post by Allen K »

There was an answer on this just recently in the forum.. You might want to search for topics in the last couple weeks for discovery issues, but it is a simple character that needs to be changed for the plugin-name
lanyao
Posts: 8
Joined: Wed Dec 14, 2005 9:37 pm

Post by lanyao »

try to run "php findhosts.php" under command line.
driden91
Cacti User
Posts: 52
Joined: Fri Jan 20, 2006 10:38 am

Post by driden91 »

that's the result to the command 'php findhost.php'

Code: Select all

discovery $ php findhosts.php
02/14/2006 09:08:52 AM - POLLER: Poller[0] Network Discover is now running
02/14/2006 09:08:52 AM - POLLER: Poller[0] ERROR: Network Discover subnet setting is not set!
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

did you set the subnet to scan in Settings -> Misc ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
driden91
Cacti User
Posts: 52
Joined: Fri Jan 20, 2006 10:38 am

Post by driden91 »

i haven't this option in 'setting'
driden91
Cacti User
Posts: 52
Joined: Fri Jan 20, 2006 10:38 am

Post by driden91 »

any idea ?
User avatar
AndyStewart
Cacti User
Posts: 102
Joined: Thu Sep 29, 2005 5:21 am
Location: Edinburgh, Scotland

Post by AndyStewart »

In plugins folder, is the sub folder called "discover" or "discovery" - should be "discovery"

...and the file config.php in include should have the line:

$plugins[] = 'discovery';
I don't care if the glass is half full or half empty, i want to know, who's been drinking my pint!!!

[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
driden91
Cacti User
Posts: 52
Joined: Fri Jan 20, 2006 10:38 am

Post by driden91 »

my config :

Code: Select all

cacti@*** /export/home/www/cacti/plugins $ ls -al
total 20
drwxr-xr-x   4 cacti apache 4096 Feb 14 11:48 .
drwxrwxr-x  14 cacti apache 4096 Feb 14 09:42 ..
drwxrwxrwx   3 cacti apache 4096 Jan 27 14:27 cycle
drwxr-xr-x   3 cacti apache 4096 Feb 14 09:42 discovery
-rwxrwxrwx   1 cacti apache   44 Feb 10 15:49 index.php

Code: Select all

$plugins = array();
$plugins[] = 'discovery';
driden91
Cacti User
Posts: 52
Joined: Fri Jan 20, 2006 10:38 am

Post by driden91 »

any idea ?
Allen K
Posts: 25
Joined: Sat Oct 15, 2005 9:34 pm

Post by Allen K »

try changing to "discover" for both the config.php and the folder name.
driden91
Cacti User
Posts: 52
Joined: Fri Jan 20, 2006 10:38 am

Post by driden91 »

i'have rename the folder to discover and discover into config.php --> same result

And i have installed another plugin 'cycle' it's the same result, no tab ... anything with different plugins

help me please !! :cry: :cry:
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Best bet is to try reinstalling the Plugin Architecture, that is more than likely where your problem is.
anuraganuj
Cacti User
Posts: 70
Joined: Tue Feb 21, 2006 9:50 am

no discovery tab

Post by anuraganuj »

I did the same settings tried settings folder and plugin to both Discover and discovery but no tab. i have other plugins working fine.pls help
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Have you also imported the database file, and gave the user permissions in Cacti to view the tab?

Also, for the record, the directory should be called "discovery" in all lower case.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest