Manage Plugin 0.6.2 for monitoring networks, servers...

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
torstentfk
Cacti User
Posts: 367
Joined: Tue Apr 05, 2005 9:52 am
Location: Munich, Germany

Post by torstentfk »

joshm wrote:Sweet that did it, now I still have some of the flashing and different colors though.... Any fixes for that?
pherhaps a check of the default-values of thold could help: do not use defaults in your singe thold instead enter the defaults into the each thold.
phpmyadmin is here your friend for mass changes. :-)

Torsten
phantom_rgs
Posts: 41
Joined: Mon Jan 16, 2006 7:44 am
Location: Brasil
Contact:

Alphabetic

Post by phantom_rgs »

Hi! Can i configure manage to alphabetically order hosts?

thanks
Flavio Humberto Barcellos Dietze
MCP - MCDST - MCTS:SQL 2005 - CCA - MCSA - MCSE: Messaging & Security
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Once Cacti 0.8.6i is released, all the plugin developers will have the capability to build in sorting.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

In next version of Plugin Manage (0.4.3), i have separate TCP port testing from the dashboard.

Before, it was harcoded, the others queries (services and process) use a template.

The TCP Port Template can be found here.

Starting with 0.4.3, you must convert all your tested ports to real Data Sources.

Data Sources and Graphs can be automatically create with next version.

----[ Changelog
--- 0.4.3 ---
ADDONS
- use AJAX (no more full page reload), thanks Matt Emerick-Law, author of Cycle Plugin
- now, use TCP Port Template, no more hardcoded code
- you can choose between SNMP and WMI Vbs or WMI Perl (added "Manage performance" view in tab manage)

Image
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Where can I get the new copy, or is it still in the works. I'd like to talk specifically of Ajax and where Xajax is going to/should live if you haven't released it yet.

Larry
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
c7borg
Posts: 11
Joined: Mon Mar 13, 2006 9:39 am

Post by c7borg »

Would there be any chance of a hieracal/tree view with containers..

so for instance I could have two sites as the top view and when a child of one of the sites fail it would show up at the top level, then be able to drill down to the device at fault, ie.. Site container> Switch Container> Actual Switches.

***********SiteA**************************SiteB
***********!***!**************************!***!
*****Switches****Servers*************Switches***Servers
*****!******!****!*****!*************!******!***!******!
Switch1*switch2*Server1*Server2**Switch1*switch2*Server1*Server2

Hope this makes sense


cheers
Andrew
User avatar
twelzy
Cacti User
Posts: 83
Joined: Wed Mar 30, 2005 6:48 pm
Location: BRAZIL/Brasilia

Post by twelzy »

I have the following errors in a Cacti/Windows environment:

Full View:
- Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\apache2\htdocs\cacti\plugins\manage\manage.php on line 753

List View:
- Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\apache2\htdocs\cacti\plugins\manage\manage.php on line 290
- Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\apache2\htdocs\cacti\plugins\manage\manage.php on line 753

Anyone have any idea how to resolve this issue?!?!

Thanks in advance!
(And sorry for my poor English...)
Thanks in advance!
(And sorry for my poor English...)
_______________________________________
twelzy (Enio Sanches)
brick37
Posts: 1
Joined: Fri Feb 03, 2006 2:25 am

Post by brick37 »

I have the same error.

Running Cacti Version 0.8.6h on FreeBSD and mysql ver 5.

I installed the manage plugin and configured the 2 device you can see in the picture. I checked the mysql db and it seems fine, the items loaded from the setup.php are in the db.

Edit:
Hmm looked in the cacti log

---
10/12/2006 05:20:37 PM - MANAGE: Poller[0] Checking Manage
10/12/2006 05:20:37 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "SELECT * FROM manage_host_services where id='8'"
10/12/2006 05:20:37 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "SELECT * FROM manage_host_services where id='9'"
---
Attachments
manage-error.png
manage-error.png (34.49 KiB) Viewed 4059 times
torstentfk
Cacti User
Posts: 367
Joined: Tue Apr 05, 2005 9:52 am
Location: Munich, Germany

Post by torstentfk »

Hi,

some points on the handling version 0.42:

ERROR on the device page at the Service selection
"Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/html/cacti/plugins/manage/list.php on line 967"
Line 967:
966: // $fg=0;
967: while ($row3 = mysql_fetch_array($result3, MYSQL_ASSOC)) {
968: ?>


Scenario:
1. New device
-> device ist not in the manage devide list, no manage icon

2. creating one graph
-> device is on the device mange list
with no uptime showing
no polling of device
3. changing the setting "Force ping or SNMP" from the setting "Default" to check-uptime
->immediately the device appears on the mange tab.

4. deleting the graph made in step 3.
-> device stays managed on the managed screen

Seems that the default settings are not used.

Feature request:
- Sorting of columns on click of headings
- manage-page: which sort algorithm is used?
- search possibility for hostnames in the device-list-view
- Configurable retry counter (in polling intervals) if a device is not reachable.

Torsten
Xumet
Posts: 18
Joined: Thu Mar 16, 2006 12:02 pm

Post by Xumet »

brick37 wrote:I have the same error.

Running Cacti Version 0.8.6h on FreeBSD and mysql ver 5.

I installed the manage plugin and configured the 2 device you can see in the picture. I checked the mysql db and it seems fine, the items loaded from the setup.php are in the db.

Edit:
Hmm looked in the cacti log

---
10/12/2006 05:20:37 PM - MANAGE: Poller[0] Checking Manage
10/12/2006 05:20:37 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "SELECT * FROM manage_host_services where id='8'"
10/12/2006 05:20:37 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "SELECT * FROM manage_host_services where id='9'"
---
Maybe you don't have Thold installed.
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Re: Manage Tables Deleted..

Post by gilles »

scottsta wrote:Whats the best way to resetup manage, and to get the tables to re-create ?
with phpmyadmin :
- delete all tables with name 'manage_*'
- in table settings, delete all values with name 'manage_*'

or else you can try to run uninstall.sql too
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

Feature request:

hooks to be checked by update plugin
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

egarnel,

Are you saying that this plugin needs to check the latest plugin architecture and use more of the newer hook's available in it to minimize impact to the installer?

Thanks,

Larry
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

hmm.... yes. but also have the update plugin check it for updates as well, unless of course manage becomes part of the core program.


PS. I am eagerly awaiting the 4.3 release. Once the release is stable and I have it configured, I am turning off Big Brother and using Cacti as the sole monitoring utility.
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I received a preview. Gosh, I am so confused. There is so much I want to work on. I have to pick one.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest