Hi guys,
Since my post is touching different areas, honestly, I didn't know where to add it.
I'll try to keep it short, though.
After a few years(2-3) of absence I've returned to Cacti since the environment I manage now is quite suitable.
The current infrastructure I would like to build graphs for, roughly contains the following:
- About 10 Fortinet firewalls D generation.(200D to 70D')
- Cisco switches(2950, 2960)
- HP 2530 switches
- A bunch of linux servers running different services
- Windows Servers running an AD Infrastructure, mostly 2012R2
- Mikrotik Routers
- Synology NAS
- SuperMicro based ESXi(v6) Hosts including vCenter
- Last but not least a bunch of IPsec VPN site-to-site tunnels.
Now, I've deployed a linux 16.04 and I've deployed cacti using the distro packages and I'm using spine with the mention that the mysql version is 5.6 and weathermap 0.98.
Cacti is clean with no other plugin, I was sure if the plugin architecture is still required.
Issues:
- Although the weather-map deployment went smooth I can't add any map.
Errors:
Browser:
The 192.168.102.15 page isn’t working
192.168.102.15 is currently unable to handle this request.
HTTP ERROR 500
Ubuntu Apache log:
[Mon Jun 13 23:15:09.735642 2016] [:error] [pid 23189] [client 192.168.250.1:51563] PHP Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php:837\nStack trace:\n#0 /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php(274): add_config('asg-network.con...')\n#1 {main}\n thrown in /usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php on line 837, referer: http://192.168.102.15/cacti/plugins/wea ... map_picker
Presuming that we're going to fix this one quite quick would you guys recommend any other plugin, just by looking at my environment ?
Much appreciated any feedback.
Cheers,
Tony
Back to Cacti, Start with Ubuntu 16.04 & Weathermap.
Moderators: Developers, Moderators
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Back to Cacti, Start with Ubuntu 16.04 & Weathermap.
What PHP version are you using ? It may be "too new" ....
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 : CereusReporting
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 : CereusReporting
Re: Back to Cacti, Start with Ubuntu 16.04 & Weathermap.
Hi,
Below is my php --version output:
php --version
PHP 7.0.4-7ubuntu2.1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
Cheers,
Tony
Below is my php --version output:
php --version
PHP 7.0.4-7ubuntu2.1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
Cheers,
Tony
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Back to Cacti, Start with Ubuntu 16.04 & Weathermap.
Too new. You have to go back to php 5.6
Several tried that route btw. but it looks like other issues may come along that route ( search for Ubuntu 16.04 in the forum )
Several tried that route btw. but it looks like other issues may come along that route ( search for Ubuntu 16.04 in the forum )
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 : CereusReporting
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 : CereusReporting
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Back to Cacti, Start with Ubuntu 16.04 & Weathermap.
Weathermap itself actually does work with PHP 7 (the latest release does anyway), as long as you have the mysql extension installed and enabled with PHP (which is deprecated these days). I think the missing extension is the cause of that specific error message.
But Cacti doesn't work with PHP 7, so 5.x is the right solution here - you will have other problems.
But Cacti doesn't work with PHP 7, so 5.x is the right solution here - you will have other problems.
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!)
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!)
Who is online
Users browsing this forum: No registered users and 1 guest