Weathermap - Cacti 1.x compatible release available for testing

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

tfrench01
Posts: 17
Joined: Fri Dec 06, 2024 4:31 pm

Re: Weathermap - Cacti 1.x compatible release available for testing

Post by tfrench01 »

Getting so close, When I tried to "Install the Plugin" I got this message. See attachement.

Not sure how to proceed. need some help. The error says to rename the config.php.dist file, what do I name it?
This is what the config.php.dist file shows, not sure where to put the required info for a Windows distro.
/**
* These two settings need to be defined per your Cacti install. In legacy
* versions of weathermap, these two files were located in the plugin
* directory. However, in Cacti 1.3, the archive function will interfere
* in that locations setting. So, pick a location that is owned by
* the apache user, but is not in the Cacti base path. Ensure that
* the path's end with a '/'.
*/
$configdir = '/usr/share/cacti/site/weathermap/configs/';
$outputdir = '/usr/share/cacti/site/weathermap/output/';

/* we will define them here */
if (!defined('WM_CONFIGDIR')) {
define('WM_CONFIGDIR', $configdir);
}

if (!defined('WM_OUTPUTDIR')) {
define('WM_OUTPUTDIR', $outputdir);
}
Attachments
action failed.PNG
action failed.PNG (26.81 KiB) Viewed 36 times
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: Weathermap - Cacti 1.x compatible release available for testing

Post by Rno »

the name should be config.php

And if you confdir and outputdir are not the same, you have to change it to where it's pointing.
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
tfrench01
Posts: 17
Joined: Fri Dec 06, 2024 4:31 pm

Re: Weathermap - Cacti 1.x compatible release available for testing

Post by tfrench01 »

Rno,

Perfect, now that I changed the name it shows up, and lets me create a map.
Of course I still have an issue, if you have time.
I went to create the map, and clicked add map to weathermap.
When I select to change the title, I get the following error - see attached. Page not working

Thanks
Attachments
page not working.PNG
page not working.PNG (15.57 KiB) Viewed 15 times
no title.PNG
no title.PNG (23.09 KiB) Viewed 15 times
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: Weathermap - Cacti 1.x compatible release available for testing

Post by Rno »

Whats is the error on cacti.log ?
Are you sure about the right on the directory, to create a file ?
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
tfrench01
Posts: 17
Joined: Fri Dec 06, 2024 4:31 pm

Re: Weathermap - Cacti 1.x compatible release available for testing

Post by tfrench01 »

I thank you for the help.
I am a novice user of this setup. It appears, I need to change the folder permissions for the lib directory.
Finally the Cacti has shown the sample map.
Do you agree?
Attachments
lib folder.PNG
lib folder.PNG (14.72 KiB) Viewed 11 times
sample map.PNG
sample map.PNG (611.44 KiB) Viewed 11 times
page not working.PNG
page not working.PNG (15.57 KiB) Viewed 11 times
log weathermap issue.PNG
log weathermap issue.PNG (202.83 KiB) Viewed 11 times
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: Weathermap - Cacti 1.x compatible release available for testing

Post by Rno »

I'm not a windows expert
So I'm not sure about your path
For sure the process that run the web server, need to have read/write access.
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests