Weathermap permnissions

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

squintero
Posts: 3
Joined: Sun Apr 23, 2017 2:17 am

Re: Weathermap permnissions

Post by squintero »

Howie wrote:Another way to check: do an 'ls -l' in the cacti rra directory. Whatever user owns that directory should also own the output directory. It is probably a user called 'cacti', but it can be different depending on the installation.
Hello Howie,

I executed the commands you told me.
I have Cacti installed on Ubuntu 16.04. How do I know the user that you ask me.
Attachments
Weathermap.png
Weathermap.png (179.06 KiB) Viewed 4956 times
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Weathermap permnissions

Post by Howie »

No, I mean:

Code: Select all

ls -ld /var/www/html/cacti/rra/
(or wherever your rra directory is - it seems like you installed Cacti using apt-get, so it might be somewhere different - maybe /usr/share/cacti/site/rra ?)
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!)
Rajkumarkv
Posts: 4
Joined: Wed May 24, 2017 1:31 am

Re: Weathermap permnissions

Post by Rajkumarkv »

Hi,

I also facing same permission issue.

Someone help me to reslove this.

Thanks
Attachments
Cacti.png
Cacti.png (23.55 KiB) Viewed 4708 times
Rajkumarkv
Posts: 4
Joined: Wed May 24, 2017 1:31 am

Re: Weathermap permnissions

Post by Rajkumarkv »

Howie wrote:No, I mean:

Code: Select all

ls -ld /var/www/html/cacti/rra/
(or wherever your rra directory is - it seems like you installed Cacti using apt-get, so it might be somewhere different - maybe /usr/share/cacti/site/rra ?)


root@cacti:/usr/share/cacti/site/plugins# ls -ld /usr/share/cacti/site/rra.php
-rw-r--r-- 1 root root 7576 Feb 14 2017 /usr/share/cacti/site/rra.php
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Weathermap permnissions

Post by Howie »

No, again, I mean the DIRECTORY called rra
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!)
netniV
Cacti Guru User
Posts: 3440
Joined: Sun Aug 27, 2017 12:05 am

Re: Weathermap permnissions

Post by netniV »

Run this:
ls -ld /usr/share/cacti/site/rra
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Rajkumarkv
Posts: 4
Joined: Wed May 24, 2017 1:31 am

Re: Weathermap permnissions

Post by Rajkumarkv »

Hi,

Thanks for your reply.

Please check below result.

root@cacti:/home/allnet# ls -ld /usr/share/cacti/site/rra
ls: cannot access /usr/share/cacti/site/rra: No such file or directory
netniV
Cacti Guru User
Posts: 3440
Joined: Sun Aug 27, 2017 12:05 am

Re: Weathermap permnissions

Post by netniV »

What is the RRA location within your settings?
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Rajkumarkv
Posts: 4
Joined: Wed May 24, 2017 1:31 am

Re: Weathermap permnissions

Post by Rajkumarkv »

Hi,

My RRA location in Cacti setting is "/usr/bin/rrdtool".

Thanks.
netniV
Cacti Guru User
Posts: 3440
Joined: Sun Aug 27, 2017 12:05 am

Re: Weathermap permnissions

Post by netniV »

What you have there is definitely not right. That is the location of your RRD Tool which should be a separate entry under paths. That would also explain why you are not getting anything because RRDTool is a program/utility not a directory.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
baracuda
Posts: 8
Joined: Wed May 06, 2020 2:11 am

Re: Weathermap permnissions

Post by baracuda »

Sr men,
i have a problem
Last Completed Run: Wed, 06 May 20 14:00:01 +0700: 0 maps were run in 0 seconds with 1 warnings. (Permissions problem prevents any maps running WMPOLL06)
i will check permission in rra
[root@localhost ~]# ls -ld /var/www/html/cacti/rra/
drwxrwxrwx 2 cactiuser hieu.le 180 May 6 13:40 /var/www/html/cacti/rra/

but that problem can't solved , May anyone help me :( ?
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Weathermap permnissions

Post by phalek »

you also need to check the permissions of the weathermap plugin and its configs as well as output directory
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
baracuda
Posts: 8
Joined: Wed May 06, 2020 2:11 am

Re: Weathermap permnissions

Post by baracuda »

I newbie this case so i checked:
drwxr-xr-x 2 apache apache 76 May 6 13:41 /var/www/html/cacti/plugins/weathermap/configs
have a problem , pls help me
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Weathermap permnissions

Post by phalek »

Do this:

Code: Select all

chown -R cactiuser.apache /var/www/html/cacti/plugins/weathermap/configs
chown -R cactiuser.apache /var/www/html/cacti/plugins/weathermap/output
chmod -R 774 /var/www/html/cacti/plugins/weathermap/configs
chmod -R 774 /var/www/html/cacti/plugins/weathermap/output
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
baracuda
Posts: 8
Joined: Wed May 06, 2020 2:11 am

Re: Weathermap permnissions

Post by baracuda »

Wow, my problem has solved .
Thank you so much.
How I can donate for team by method ?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests