Manage Plugin 0.6.2 for monitoring networks, servers...

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

fabian, phantom_rgs :
i can't reproduce this
have you use the uninstall.sql file to properly uninstall manage ?
can you provide me a cacti.log file when you are installing manage ?
jkstraw
Posts: 34
Joined: Tue Aug 01, 2006 10:24 am
Contact:

Post by jkstraw »

I have installed the manage 0.5.2 plugin but don't see anything (no errors, no new realm permissions, no Plugin Management).

How can I go about troubleshooting this? I have reviewed some similar posts earlier in this thread and I see some SQL issues being mentioned but I don't see anything in the logs at all.

I have had a number of plugins working fine - manage is just the most recent. Here is the plugin section of my global.php

Code: Select all

$plugins = array();
$plugins[] = 'tools';
$plugins[] = 'settings';
$plugins[] = 'manage';
$plugins[] = 'discovery';
$plugins[] = 'thold';
$plugins[] = 'monitor';
$plugins[] = 'reportit';
$plugins[] = 'weathermap';
The name, ownership and permissions on the 'manage' folder in the plugins folder looks good as well.

Any hints on how to proceed would be greatly appreciated.

Cacti 8.7b
Spine 8.7a
PA 2.1
manage 0.5.2
RHEL ES 4
AMD Opteron 64 bit dual CPU
computer_guru
Cacti User
Posts: 141
Joined: Thu Apr 10, 2008 6:52 pm

Realm Permission Issues

Post by computer_guru »

When I install Manage (version 0.5.2) and click Console > User Management > admin

I don't see any check boxes for your plugin!

I added the config.php line ($plugins[] = 'manage';)

What did I do wrong???
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Take a look in plugin management - you will need to install and enable the plugin before you can use it.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
computer_guru
Cacti User
Posts: 141
Joined: Thu Apr 10, 2008 6:52 pm

Plugin Management?

Post by computer_guru »

How do I get to plugin Management?

Cacti Version - 0.8.7b
Plugin Architecture - 2.0
Poller Type - Cactid v
Server Info - Linux 2.6.15-51-server
Web Server - Apache/2.0.55 (Ubuntu) PHP/5.1.2
PHP - 5.1.2
PHP Extensions - xmlwriter, libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, soap, SPL, shmop, session, Reflection, posix, mime_magic, mbstring, iconv, hash, gettext, ftp, filepro, exif, dom, dba, date, ctype, calendar, bz2, bcmath, zlib, pcre, openssl, xmlreader, apache2handler, mysql, mysqli, gd, snmp
MySQL - 5.0.22-Debian_0ubuntu6.06.6-log
RRDTool - 1.2.15
SNMP - 5.2.1.2
Plugins
  • Global Plugin Settings (settings - v0.3)
    Thresholds (thold - v0.3.9)
    Device Monitoring (monitor - v0.8.2)
    Syslog Monitoring (syslog - v0.5.2)
    Network Tools (tools - v0.2)
    Host Info (hostinfo - v0.2)
    PHP Network Weathermap (weathermap - v0.95b)
    PHP Network Managing (PHP Network Managing - v0.5.2)
    SNMPTT viewer for cacti (snmptt - v0.0.16b)
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Should be under settings. Did you also install the PIA ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
computer_guru
Cacti User
Posts: 141
Joined: Thu Apr 10, 2008 6:52 pm

PIA?

Post by computer_guru »

PIA = Plug-in Architecture???
chimpooooo
Cacti User
Posts: 50
Joined: Sun Mar 09, 2008 3:57 pm

Post by chimpooooo »

Hello,

I just installed the manage version 0.5.2. I am at a roadblock. Kept on getting the following error everywhere

Notice: Undefined index: SERVER_ADDR in E:\inetpub\wwwroot\web\cacti\plugins\manage\setup.php on line 914

It wont let me save changes to realm permissions and consequently to sites/groups. I keep on getting the following

Notice: Undefined index: SERVER_ADDR in E:\inetpub\wwwroot\web\cacti\plugins\manage\setup.php on line 914

Warning: Cannot modify header information - headers already sent by (output started at E:\inetpub\wwwroot\web\cacti\plugins\manage\setup.php:914) in E:\inetpub\wwwroot\web\cacti\user_admin.php on line 465


I am not sure if i am supposed to get rid of the line from setup.php but i thought i'd give it a shot. Removed that line but then i started getting a wholebunch of other errors in cacti log file

04/13/2008 09:54:47 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1366', SQL:"INSERT INTO manage_sites ( id , name ) VALUES ('', 'labrv1')'

04/13/2008 09:52:12 PM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1366', SQL:"INSERT INTO manage_alerts ( idh , datetime , ids , message, ida, oid ) VALUES ('11', '2008/4/13, 21:52:12', '', 'up', '', '')'


Any help would be appreciated!
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

If you go into SETTINGS, then click the MANAGE tab, do you have a DEBUG link ? If you could paste the output of this, it would give an indication of what has happened.

Sounds very much like you are tables missing. Did you get any errors during the install process ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
chimpooooo
Cacti User
Posts: 50
Joined: Sun Mar 09, 2008 3:57 pm

Post by chimpooooo »

Yes there is a debug. Here are the ones that show an error

Plugin Thold : NOK Install Plugin Thold.

Concurrent Manage Pollers : OK
1 devices : NOK These hosts need to be associated to a site and a group : RV1LAB,

User settings : NOK Save your settings (0).

Note that i still cannot add site/groups because of the error i posted earlier
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

I would remove all references to manage_ tables in phpmyadmin (or something similar), and add them manually - you are definately tables missing.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
chimpooooo
Cacti User
Posts: 50
Joined: Sun Mar 09, 2008 3:57 pm

Post by chimpooooo »

Were we supposed to add some tables manually? Maybe i missed a step because all i did was copy the manage folder and add the plugin parameter in the php file

Additionally the only the thing i imported in sql was the "pa.sql" , for the plugin architecture
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

No - the plugin is supposed to setup all the tables for you. However, sometimes this doesn't happen. Gilles is aware of this.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
chimpooooo
Cacti User
Posts: 50
Joined: Sun Mar 09, 2008 3:57 pm

Post by chimpooooo »

in hope of fixing the tables i reinstalled the plugin arch and manage.

i see it under realm permission > Use PHP Network Managing but now i dont see it anymore under settings > manage :-?
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

for those who can't view tab, settings etc... please test version 0.6
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests