Official Weathermaps 1.0 for Cacti - Looking for beta testers

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

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

Re: Official Weathermaps 1.0 for Cacti

Post by TheWitness »

The new location should be:

Code: Select all

/var/www/html/cacti/plugins/weathermap/images/background
/var/www/html/cacti/plugins/weathermap/images/objects
/var/www/html/cacti/plugins/weathermap/images/icons
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?
bsinb03
Posts: 12
Joined: Mon Aug 14, 2006 7:22 am

Re: Official Weathermaps 1.0 for Cacti - Looking for beta testers

Post by bsinb03 »

Just want to say thank you. I have used this plugin for years. It does the job perfectly.

I have just installed the new plugin from a git clone to 1.2.23 and it is working well.

Cacti + Spine 1.2.23
Centos 7.
Php 7.4.33

Let me know if I can be of assistance.
Israbrag
Posts: 3
Joined: Thu May 04, 2023 8:19 am

Re: Official Weathermaps 1.0 for Cacti - Looking for beta testers

Post by Israbrag »

I am not able to create the second map in Weathermap.

It displays the following error:

Action failed

Sorry, we could not process your last action.

SQL Save on table 'weathermap_maps': Column 'debug' does not exist, unable to save!

I have Cacti in version 1.2.24, PHP Version 7.4.33 and Weathermap in 1.0

Can you help me?


Error below

02/Jun/2023 14:18:24 - CMDPHP SQL Backtrace: (/plugins/weathermap/weathermap-cacti-plugin-mgmt.php[296]:map_duplicate(), /plugins/weathermap/weathermap-cacti-plugin-mgmt.php[1420]:sql_save())
02/Jun/2023 14:18:24 - DBCALL ERROR: SQL Save on table 'weathermap_maps': Column 'debug' does not exist, unable to save!
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Official Weathermaps 1.0 for Cacti - Looking for beta testers

Post by TheWitness »

Post the output of

Code: Select all

SHOW CREATE TABLE weathermap_maps
It should look like this:

Code: Select all

CREATE TABLE `weathermap_maps` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `sortorder` int(11) NOT NULL DEFAULT 0,
  `group_id` int(11) NOT NULL DEFAULT 1,
  `active` set('on','off') NOT NULL DEFAULT 'on',
  `configfile` text NOT NULL,
  `imagefile` text NOT NULL,
  `htmlfile` text NOT NULL,
  `titlecache` text NOT NULL,
  `filehash` varchar(40) NOT NULL DEFAULT '',
  `warncount` int(11) NOT NULL DEFAULT 0,
  `debug` set('on','off','once') NOT NULL DEFAULT 'off',
  `config` text NOT NULL,
  `thumb_width` int(11) NOT NULL DEFAULT 0,
  `thumb_height` int(11) NOT NULL DEFAULT 0,
  `schedule` varchar(32) NOT NULL DEFAULT '*',
  `archiving` set('on','off') NOT NULL DEFAULT 'off',
  `duration` double NOT NULL DEFAULT 0,
  `last_runtime` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  UNIQUE KEY `configfile` (`configfile`) USING HASH
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
If not, use 'ALTER TABLE add|modify COLUMN blah blah blah' to resolve. Good training moment.
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?
Israbrag
Posts: 3
Joined: Thu May 04, 2023 8:19 am

Re: Official Weathermaps 1.0 for Cacti - Looking for beta testers

Post by Israbrag »

"Thank you, it worked perfectly!"

:D
ITMan8060
Posts: 11
Joined: Wed Jun 02, 2021 10:47 am

Re: Official Weathermaps 1.0 for Cacti - Looking for beta testers

Post by ITMan8060 »

The git link is 404, is it safe to assume the plugin is dead?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Official Weathermaps 1.0 for Cacti - Looking for beta testers

Post by TheWitness »

Which git link? Weathermap is fine. It's here: https://github.com/Cacti/plugin_weathermap It's currently at version 1.1 and not getting much attention as it's not broken. Yea, there are a number of things I would like to do, but that requires time, which is fleeting.
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?
ITMan8060
Posts: 11
Joined: Wed Jun 02, 2021 10:47 am

Re: Official Weathermaps 1.0 for Cacti - Looking for beta testers

Post by ITMan8060 »

going through the posts this was the only link I found.

https://github.com/TheWitness/plugin_weathermap

I am glad to see this is not dead. :)

Thank you for the work you do.

Paul
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests