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);
}
Weathermap - Cacti 1.x compatible release available for testing
Moderators: Developers, Moderators
Re: Weathermap - Cacti 1.x compatible release available for testing
- Attachments
-
- action failed.PNG (26.81 KiB) Viewed 71 times
Re: Weathermap - Cacti 1.x compatible release available for testing
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.
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
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
Re: Weathermap - Cacti 1.x compatible release available for testing
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
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 (15.57 KiB) Viewed 50 times
-
- no title.PNG (23.09 KiB) Viewed 50 times
Re: Weathermap - Cacti 1.x compatible release available for testing
Whats is the error on cacti.log ?
Are you sure about the right on the directory, to create a file ?
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
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
Re: Weathermap - Cacti 1.x compatible release available for testing
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?
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 (14.72 KiB) Viewed 46 times
-
- sample map.PNG (611.44 KiB) Viewed 46 times
-
- page not working.PNG (15.57 KiB) Viewed 46 times
-
- log weathermap issue.PNG (202.83 KiB) Viewed 46 times
Re: Weathermap - Cacti 1.x compatible release available for testing
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.
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
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
Re: Weathermap - Cacti 1.x compatible release available for testing
Still having issues editing on any of the maps.
I cannot find the editor.php file that directions say I need to enable the editor, see below;
Since version 0.97, you now also need to enable the editor. The reason is so that you can't have the editor enabled without knowing about it. The editor allows access to your config files without authentication, so you should consider using features in your webserver to limit who can access editor.php. For example, on an Apache server, something like:
<Directory /var/www/html/weathermap>
<Files editor.php>
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</FilesMatch>
</Directory>
When you are happy that the world can't edit your maps, then enable the editor. This is done by editing the top of editor.php and changing $ENABLED=false; to $ENABLED=true;
I cannot find the editor.php file that directions say I need to enable the editor, see below;
Since version 0.97, you now also need to enable the editor. The reason is so that you can't have the editor enabled without knowing about it. The editor allows access to your config files without authentication, so you should consider using features in your webserver to limit who can access editor.php. For example, on an Apache server, something like:
<Directory /var/www/html/weathermap>
<Files editor.php>
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</FilesMatch>
</Directory>
When you are happy that the world can't edit your maps, then enable the editor. This is done by editing the top of editor.php and changing $ENABLED=false; to $ENABLED=true;
- Attachments
-
- pre-install.PNG (57.93 KiB) Viewed 33 times
Who is online
Users browsing this forum: No registered users and 0 guests