NPC Plugin For Cacti

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
aamibashir1
Posts: 4
Joined: Mon Aug 09, 2021 6:30 pm

NPC Plugin For Cacti

Post by aamibashir1 »

I have installed the Cacti, Nagios, NPC and ndoutils.
Everionments:

OS: Ubuntu 64 bit
Cacti-1.2.27
nagios-4.4.6
npc-2.0.4
ndoutils-2.1.3
When click on NPC tab showing blank screen. While Facing these error in error log
Please help me to resolve this issue

Regards

2024-05-26 18:48:41 - CMDPHP PHP ERROR Backtrace: (/plugins/npc/npc.php[23]:include(), /plugins/npc/config.php[17]:Doctrine_Manager::connection(), /plugins/npc/lib/Doctrine/Manager.php[176]:Doctrine_Manager->openConnection(), /plugins/npc/lib/Doctrine/Manager.php[260]:Doctrine::autoload(), /plugins/npc/lib/Doctrine.php[952]:require(), /plugins/npc/lib/Doctrine/Connection/Mysql.php[34]:CactiErrorHandler())
2024-05-26 18:48:41 - ERROR PHP DEPRECATED in Plugin 'npc': Doctrine_Connection_Mysql implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in file: /var/www/html/cacti/plugins/npc/lib/Doctrine/Connection/Mysql.php on line: 34
2024-05-26 18:48:41 - CMDPHP PHP ERROR Backtrace: (/plugins/npc/npc.php[23]:include(), /plugins/npc/config.php[17]:Doctrine_Manager::connection(), /plugins/npc/lib/Doctrine/Manager.php[176]:Doctrine_Manager->openConnection(), /plugins/npc/lib/Doctrine/Manager.php[260]:Doctrine::autoload(), /plugins/npc/lib/Doctrine.php[952]:require(), /plugins/npc/lib/Doctrine/Connection/Mysql.php[34]:Doctrine::autoload(), /plugins/npc/lib/Doctrine.php[952]:require(), /plugins/npc/lib/Doctrine/Connection/Common.php[33]:CactiErrorHandler())
Attachments
error.jpg
error.jpg (541.05 KiB) Viewed 3066 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: NPC Plugin For Cacti

Post by TheWitness »

What PHP version? Log this on GitHub.
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?
aamibashir1
Posts: 4
Joined: Mon Aug 09, 2021 6:30 pm

Re: NPC Plugin For Cacti

Post by aamibashir1 »

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

Re: NPC Plugin For Cacti

Post by TheWitness »

Did you log the bug?
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