CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

Announcements concerning Plugins for Cacti

Moderators: Moderators, Developers

Post Reply
Author
Message
Alexs
Posts: 10
Joined: Thu Nov 29, 2018 4:34 am

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

#976 Post by Alexs » Thu Nov 29, 2018 5:23 am

Hi!
Help me please!
I`ve installed CereusReporting Standard Version 3.01.32 how it is described in
https://www.urban-software.com/wp-conte ... _6and7.pdf

But when I`m trying to install it in the cacti plugin management I`m getting "Action failed" 500 Internal Server error.

CentOS 7 x64
Cacti 1.1.38
PHP 7.0
Attachments
Cacti_Cereus _Error2 .PNG
Cacti_Cereus _Error2 .PNG (7.43 KiB) Viewed 579 times
Cacti_Cereus _Error .PNG
Cacti_Cereus _Error .PNG (33.47 KiB) Viewed 579 times

netniV
Cacti Guru User
Posts: 2872
Joined: Sun Aug 27, 2017 12:05 am

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

#977 Post by netniV » Thu Nov 29, 2018 6:25 am

Check your Apache log as that would have recorded the 500 error. Cacti's own log may have also captured information about it. Post the results.

User avatar
phalek
Cacti Guru User
Posts: 2711
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

#978 Post by phalek » Thu Nov 29, 2018 6:54 am

Hi,

Please make sure you downloaded the version for PHP 7 from this page:
https://www.urban-software.com/products ... downloads/

Also, you will have to install the ioncube loaders ( https://www.ioncube.com/loaders.php )

Can you confirm that you have installed the correct version by executing

Code: Select all

php -m
Last, enable your php error_log in php.ini (i.e. error_log = syslog ) to see the specific php error messages.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061
[/size]

Alexs
Posts: 10
Joined: Thu Nov 29, 2018 4:34 am

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

#979 Post by Alexs » Thu Nov 29, 2018 7:07 am

I don't have records in Apache log. In Cacti's own log I have:

2018/11/29 13:37:43 - ERROR PHP CORE_ERROR: <br>The encoded file <b>/mnt/data_volume/cacti/cacti-1.1.38/plugins/CereusReporting/setup.php</b> is corrupt. in file: Unknown on line: 0
2018/11/29 13:37:43 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2018/11/29 13:37:52 - ERROR PHP CORE_ERROR: <br>The encoded file <b>/mnt/data_volume/cacti/cacti-1.1.38/plugins/CereusReporting/setup.php</b> is corrupt. in file: Unknown on line: 0
2018/11/29 13:37:52 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2018/11/29 13:37:43 - ERROR PHP CORE_ERROR: <br>The encoded file <b>/mnt/data_volume/cacti/cacti-1.1.38/plugins/CereusReporting/setup.php</b> is corrupt. in file: Unknown on line: 0
2018/11/29 13:37:43 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)
2018/11/29 13:37:52 - ERROR PHP CORE_ERROR: <br>The encoded file <b>/mnt/data_volume/cacti/cacti-1.1.38/plugins/CereusReporting/setup.php</b> is corrupt. in file: Unknown on line: 0
2018/11/29 13:37:52 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler)(/lib/functions.php: 4628 cacti_debug_backtrace)

User avatar
phalek
Cacti Guru User
Posts: 2711
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

#980 Post by phalek » Thu Nov 29, 2018 7:23 am

As mentioned earlier. Please check that you have the latest ioncube loader version installed.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061
[/size]

Alexs
Posts: 10
Joined: Thu Nov 29, 2018 4:34 am

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

#981 Post by Alexs » Thu Nov 29, 2018 7:40 am

Please make sure you downloaded the version for PHP 7 from this page:
https://www.urban-software.com/products ... downloads/

Also, you will have to install the ioncube loaders ( https://www.ioncube.com/loaders.php )

YES

Alexs
Posts: 10
Joined: Thu Nov 29, 2018 4:34 am

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

#982 Post by Alexs » Thu Nov 29, 2018 7:41 am

php -v

PHP 7.0.32 (cli) (built: Sep 11 2018 13:20:19) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v10.2.7, Copyright (c) 2002-2018, by ionCube Ltd.

Alexs
Posts: 10
Joined: Thu Nov 29, 2018 4:34 am

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

#983 Post by Alexs » Thu Nov 29, 2018 7:41 am

php -m

[PHP Modules]
bz2
calendar
ChartDirector PHP API
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
ionCube Loader
json
ldap
libxml
mbstring
mcrypt
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
shmop
SimpleXML
snmp
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
zip
zlib

[Zend Modules]
the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured)

Alexs
Posts: 10
Joined: Thu Nov 29, 2018 4:34 am

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

#984 Post by Alexs » Thu Nov 29, 2018 7:44 am

With ioncube loader-wizard:
Attachments
Cacti_Cereus _Error3 .PNG
Cacti_Cereus _Error3 .PNG (34.54 KiB) Viewed 575 times

Alexs
Posts: 10
Joined: Thu Nov 29, 2018 4:34 am

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

#985 Post by Alexs » Thu Nov 29, 2018 7:48 am

I have already enabled php error_log in php.ini (i.e. error_log = syslog ).

User avatar
phalek
Cacti Guru User
Posts: 2711
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

#986 Post by phalek » Fri Nov 30, 2018 4:24 am

Download this archive and replace all files within the CereusReporting directory:
https://www.urban-software.com/wp-conte ... orting.zip
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061
[/size]

Alexs
Posts: 10
Joined: Thu Nov 29, 2018 4:34 am

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

#987 Post by Alexs » Fri Nov 30, 2018 5:16 am

Hi!
I did exactly as you recomend.
Nothing changed.
When I'm trying to install it in the cacti plugin management I`m getting "Action failed" 500 Internal Server error.
In logs file I got the same reports.

Where should be the license key file stored?
Which permissions (owner) should be at folder and files CereusReporting?

User avatar
phalek
Cacti Guru User
Posts: 2711
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

#988 Post by phalek » Fri Nov 30, 2018 5:45 am

Where should be the license key file stored? -> config directory
Which permissions (owner) should be at folder and files CereusReporting? -> cacti/apache, archive,images and server with write permissions, all other read.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061
[/size]

User avatar
phalek
Cacti Guru User
Posts: 2711
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

#989 Post by phalek » Fri Nov 30, 2018 5:46 am

I'll re-test it with Centos7 and PHP7.

Did you use the remi repository for PHP7 ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061
[/size]

Alexs
Posts: 10
Joined: Thu Nov 29, 2018 4:34 am

Re: CereusReporting - PDF Reports - 3.01 for Cacti 1.x out!

#990 Post by Alexs » Fri Nov 30, 2018 5:57 am

Yes, I did. I used the remi repository for PHP7.
Attachments
Cacti_Cereus _Error 5 .PNG
Cacti_Cereus _Error 5 .PNG (30.91 KiB) Viewed 550 times

Post Reply