Plugin keeps disabling self

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
Jestt
Posts: 14
Joined: Mon Nov 20, 2023 10:19 am

Plugin keeps disabling self

Post by Jestt »

Hello, I have installed the weathermap 1.1 plugin on cacti 1.2.25.

I have a couple issues, one being unable to actually modify or make any maps, it just shows a broken image icon which can be seen here: https://imgur.com/a/U6EA9CY

Secondly, the plugin seems to disable itself after 30 seconds to a minute, which is just weird and I have no idea what it could be.

Any help would be appreciated, thank you.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Plugin keeps disabling self

Post by Howie »

What do the logs say?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Jestt
Posts: 14
Joined: Mon Nov 20, 2023 10:19 am

Re: Plugin keeps disabling self

Post by Jestt »

From cacti.log:

2023/11/22 12:06:02 - SPINE: Poller[1] Device[56] ERROR: Problems parsing Multi SNMP OID! (oid: ), Set MAX_OIDS to 1 for this host to isolate bad OID
2023/11/22 12:06:27 - SYSTEM STATS: Time:25.6693 Method:spine Processes:5 Threads:5 Hosts:36 HostsPerProcess:8 DataSources:4154 RRDsProcessed:0
2023/11/22 12:06:27 - SNMPAGENT WARNING: No notification receivers configured for event: cactiNotifyDeviceFailedPoll (CACTI-MIB), severity: medium
2023/11/22 12:06:29 - SYSTEM MAINT STATS: Time:0.01

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

Re: Plugin keeps disabling self

Post by TheWitness »

Grep for "DISABLING" in all your Cacti logs. When you find the file, then open it, search for the text and post the errors just around "DISABLING". You might want to disable the SNMP Agent since you are not using it. You can find it in Console > Configuration > Settings > Poller.
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?
Jestt
Posts: 14
Joined: Mon Nov 20, 2023 10:19 am

Re: Plugin keeps disabling self

Post by Jestt »

Thanks, this is the contents:

2023/11/20 15:05:42 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'
2023/11/20 15:05:42 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'
2023/11/21 10:18:53 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'
2023/11/21 10:18:55 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'
2023/11/21 10:49:16 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'
2023/11/21 10:49:16 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'

Is this some kind of error related to version of php?
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Plugin keeps disabling self

Post by Osiris »

We need to see the error. Follow TheWitnesses instructions more accurately.
Before history, there was a paradise, now dust.
Jestt
Posts: 14
Joined: Mon Nov 20, 2023 10:19 am

Re: Plugin keeps disabling self

Post by Jestt »

Apologies, this is the proper output:

https://pastebin.com/J9bbXNvc
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Plugin keeps disabling self

Post by Howie »

What version of PHP do you have?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Jestt
Posts: 14
Joined: Mon Nov 20, 2023 10:19 am

Re: Plugin keeps disabling self

Post by Jestt »

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

Re: Plugin keeps disabling self

Post by TheWitness »

You have to install php-intl and then restart apache/nginx.
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?
Jestt
Posts: 14
Joined: Mon Nov 20, 2023 10:19 am

Re: Plugin keeps disabling self

Post by Jestt »

That worked perfectly, thanks for all the replies guys, appreciate the help.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests