User-Permission on Tools (V0.2) Plugin?
Moderators: Developers, Moderators
User-Permission on Tools (V0.2) Plugin?
Hi all,
my question is, if it is possible to grant access on the 'Tools' plugin for users without console permissions. I didn´t find a way to assign the permissions within the user-management. Especially the manual SNMP-Walk would be great benfit for some network-admins within our organisation. Thanks in advance and greetings
Geo
my question is, if it is possible to grant access on the 'Tools' plugin for users without console permissions. I didn´t find a way to assign the permissions within the user-management. Especially the manual SNMP-Walk would be great benfit for some network-admins within our organisation. Thanks in advance and greetings
Geo
- chrisgapske
- Cacti User
- Posts: 278
- Joined: Tue May 22, 2007 7:56 am
- Location: Pensacola, Fl - Padacuh, Ky-Alpena, MI-Gulf Shores,AL
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
The permission it requires is #8, which is 'Console Access'...
In fact, if you take the tools.php, and use it as a SuperLinks content page, then it seems to nearly work OK. With a little tweaking it'd probably work, and you could give it to specific users then.
In fact, if you take the tools.php, and use it as a SuperLinks content page, then it seems to nearly work OK. With a little tweaking it'd probably work, and you could give it to specific users then.
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Here you go. This one works with SuperLinks, if you call it tools.php and put it in the content/ folder of superlinks.
Clearly I'm bored at work today
Clearly I'm bored at work today
- Attachments
-
- tools.php.txt
- (7.57 KiB) Downloaded 311 times
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!)
Great - Thanks a lot for the quick reply.
in general it works now, even if Superlinks is not working smoothly so far. I see only a broken tab and when trying to add the link the errors appear:
Warning: imagepng(): Unable to open 'C:\Inetpub\wwwroot\cacti\plugins\superlinks\tab_images\tab_17_-1757055399_a6ca715af12f4f060ceff669563569d0.png' for writing in C:\Inetpub\wwwroot\cacti\plugins\superlinks\superlinks-mgmt.php on line 546
Warning: imagepng(): Unable to open 'C:\Inetpub\wwwroot\cacti\plugins\superlinks\tab_images\red_17_-1757055399_a6ca715af12f4f060ceff669563569d0.png' for writing in C:\Inetpub\wwwroot\cacti\plugins\superlinks\superlinks-mgmt.php on line 552
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\cacti\plugins\superlinks\superlinks-mgmt.php:546) in C:\Inetpub\wwwroot\cacti\plugins\superlinks\superlinks-mgmt.php on line 131
By clicking the 'broken' tab, at least the tools-plugin starts...
Running cacti 0.8.6.h on a w2k3 server. PHP 4.3.11 (GD lib enabled with PNG and Freetype support). Any idea what went wrong?
Thanks again
Gr Geo
in general it works now, even if Superlinks is not working smoothly so far. I see only a broken tab and when trying to add the link the errors appear:
Warning: imagepng(): Unable to open 'C:\Inetpub\wwwroot\cacti\plugins\superlinks\tab_images\tab_17_-1757055399_a6ca715af12f4f060ceff669563569d0.png' for writing in C:\Inetpub\wwwroot\cacti\plugins\superlinks\superlinks-mgmt.php on line 546
Warning: imagepng(): Unable to open 'C:\Inetpub\wwwroot\cacti\plugins\superlinks\tab_images\red_17_-1757055399_a6ca715af12f4f060ceff669563569d0.png' for writing in C:\Inetpub\wwwroot\cacti\plugins\superlinks\superlinks-mgmt.php on line 552
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\cacti\plugins\superlinks\superlinks-mgmt.php:546) in C:\Inetpub\wwwroot\cacti\plugins\superlinks\superlinks-mgmt.php on line 131
By clicking the 'broken' tab, at least the tools-plugin starts...
Running cacti 0.8.6.h on a w2k3 server. PHP 4.3.11 (GD lib enabled with PNG and Freetype support). Any idea what went wrong?
Thanks again
Gr Geo
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Didn't you get a big red box warning you that the permissions were wrong on the tab_images directory? Hmm, that's a bug.Geotrupus wrote:Great - Thanks a lot for the quick reply.
in general it works now, even if Superlinks is not working smoothly so far. I see only a broken tab and when trying to add the link the errors appear:
Warning: imagepng(): Unable to open 'C:\Inetpub\wwwroot\cacti\plugins\superlinks\tab_images\tab_17_-1757055399_a6ca715af12f4f060ceff669563569d0.png' for writing in C:\Inetpub\wwwroot\cacti\plugins\superlinks\superlinks-mgmt.php on line 546
Warning: imagepng(): Unable to open 'C:\Inetpub\wwwroot\cacti\plugins\superlinks\tab_images\red_17_-1757055399_a6ca715af12f4f060ceff669563569d0.png' for writing in C:\Inetpub\wwwroot\cacti\plugins\superlinks\superlinks-mgmt.php on line 552
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\cacti\plugins\superlinks\superlinks-mgmt.php:546) in C:\Inetpub\wwwroot\cacti\plugins\superlinks\superlinks-mgmt.php on line 131
By clicking the 'broken' tab, at least the tools-plugin starts...
Running cacti 0.8.6.h on a w2k3 server. PHP 4.3.11 (GD lib enabled with PNG and Freetype support). Any idea what went wrong?
Thanks again
Gr Geo
Make sure that the webserver user (IWAM_blah? IUSR_blah? Been a while since I used IIS) can write to plugins/superlinks/tab_images/ so it can create the images for the tabs. Then edit the settings for the page you added and click save, just to make it generate a new image set.
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!)
Big thanks again - That´s it!
Working fine now. One slight issue left: when doing a SNMP-Walk as well as checking the services within the tools-plugin all results are fine but below the tabs a line with the following error-message appears:
Notice: Undefined index: superlinks.php:snmpwalk in C:\Inetpub\wwwroot\cacti\lib\functions.php on line 1357
or
Notice: Undefined index: superlinks.php:servicecheck in C:\Inetpub\wwwroot\cacti\lib\functions.php on line 1357
Any idea?
Thank you very much and regards
Geo
Working fine now. One slight issue left: when doing a SNMP-Walk as well as checking the services within the tools-plugin all results are fine but below the tabs a line with the following error-message appears:
Notice: Undefined index: superlinks.php:snmpwalk in C:\Inetpub\wwwroot\cacti\lib\functions.php on line 1357
or
Notice: Undefined index: superlinks.php:servicecheck in C:\Inetpub\wwwroot\cacti\lib\functions.php on line 1357
Any idea?
Thank you very much and regards
Geo
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
This is what you get for bending one thing into another unfortunately. That's cacti complaining that the 'action' parameters in the URL aren't known to it. I didn't get that, oddly. Anyway if you search & replace 'action' for 'fish' or something else in tools.php, then it should fix it (haven't tried that myself).
Edit: That search/replace worked for me.
Edit: That search/replace worked for me.
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 2 guests