Error message mURLin installation

Discussions on developing plugins for the Cacti Plugin Architecture

Moderators: Developers, Moderators

hradi
Posts: 21
Joined: Wed Mar 02, 2022 12:45 am

Error message mURLin installation

Post by hradi »

Hello,

Whenever I am trying to install mURLin plugin I am receiving below error message. how to fix it.


mURLLin-error.JPG
mURLLin-error.JPG (49.91 KiB) Viewed 1323 times
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Error message mURLin installation

Post by TheWitness »

I don't use this plugin, best to read the readme though.
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?
hradi
Posts: 21
Joined: Wed Mar 02, 2022 12:45 am

Re: Error message mURLin installation

Post by hradi »

Nothing n readme. you can check in github.

anyway, do you have an idea how to monitor website url. site is down? ping delay, download delay and so on.

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

Re: Error message mURLin installation

Post by TheWitness »

Sure, there is a plugin called webseer that does this pretty well. It's not a parallel check, so it may be limited to only a few hundred websites in it's current form.
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?
hradi
Posts: 21
Joined: Wed Mar 02, 2022 12:45 am

Re: Error message mURLin installation

Post by hradi »

Thanks for note, Actually I tried webseer several time. I noticed it keeps going down by itself. is this a bug? cacti Version 1.2.21
webseer.jpg
webseer.jpg (23.09 KiB) Viewed 1294 times
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Error message mURLin installation

Post by TheWitness »

Yea, you need to look for errors in the cacti.lo and open a ticket.
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?
hradi
Posts: 21
Joined: Wed Mar 02, 2022 12:45 am

Re: Error message mURLin installation

Post by hradi »

I got below error

2022-08-02 15:40:04 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
2022-08-02 15:40:04 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'webseer'
2022-08-02 15:40:04 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-08-02 15:40:04 - ERROR PHP ERROR in Plugin 'webseer': Uncaught Error: Call to undefined function curl_init() in /var/www/html/cacti/plugins/webseer/classes/cURL.php:112 Stack trace: #0 /var/www/html/cacti/plugins/webseer/webseer_process.php(153): cURL->get() #1 {main} thrown in file: /var/www/html/cacti/plugins/webseer/classes/cURL.php on line: 112
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Error message mURLin installation

Post by TheWitness »

You don't have the php-curl module installed. Once you have it installed, the plugin should work.
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?
hradi
Posts: 21
Joined: Wed Mar 02, 2022 12:45 am

Re: Error message mURLin installation

Post by hradi »

same error again even after the installation

2022-08-03 16:10:04 - SYSTEM WARNING: Primary Admin account notifications disabled! Unable to send administrative Email.
2022-08-03 16:10:04 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'webseer'
2022-08-03 16:10:04 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2022-08-03 16:10:04 - ERROR PHP ERROR in Plugin 'webseer': Uncaught Error: Call to undefined function curl_init() in /var/www/html/cacti/plugins/webseer/classes/cURL.php:112 Stack trace: #0 /var/www/html/cacti/plugins/webseer/webseer_process.php(153): cURL->get() #1 {main} thrown in file: /var/www/html/cacti/plugins/webseer/classes/cURL.php on line: 112
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Error message mURLin installation

Post by TheWitness »

Run the php -m
command and post the output. Likely it's not enabled still. I've heard rumors that Debian is no longer making available. Surprised though. Sad if true.
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?
hradi
Posts: 21
Joined: Wed Mar 02, 2022 12:45 am

Re: Error message mURLin installation

Post by hradi »

below is the output:

[PHP Modules]
calendar
Core
ctype
date
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
json
ldap
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
snmp
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zlib

[Zend Modules]
Zend OPcache
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Error message mURLin installation

Post by TheWitness »

Yea, note no curl. Could be that it's installed but disabled in one of the php.conf.d directories or in the various ini files.

How did you install it? Is this Umbuntu or Debian?
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
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Error message mURLin installation

Post by 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?
hradi
Posts: 21
Joined: Wed Mar 02, 2022 12:45 am

Re: Error message mURLin installation

Post by hradi »

ubuntu-20.04.3

I followed the steps as in this url : https://www.geeksforgeeks.org/how-to-in ... in-ubuntu/
hradi
Posts: 21
Joined: Wed Mar 02, 2022 12:45 am

Re: Error message mURLin installation

Post by hradi »

Now it is there

[PHP Modules]
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp

I installed for version 7.4

sudo apt-get install php7.4-curl

will monitor and see.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests