Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: steve288 on June 16, 2011, 04:13:48 PM
-
I have installed Sarg which as you know Sarg "provides comprehensive reporting on the Squid web proxy usage."
It appears that when you install sarg it is also available at
https://192.168.1.1/squid/daily/index.html
for example
I would like to remove the (albiet nicely done) menu item in the Server-Manager panel listing "SARG reports" so that it's not listed there so that I access it from the link for example like above https://192.168.1.1/squid/daily/index.html instead.
I have read some of the documents on the server-manager regarding creating it etc. But It has not really helped me.
I dont know if I can simply by hand remove a line of code that would prevent it from being loaded into the panel, or even I was thinking of simply changing the colour to the colour of the menu so its hidden. For privacy reasons I have been asked by managment to do something about this. They like the fact that if they need to they can easily look at the data but want to help reduce snooping. Sometimes others need to do things in the server-manger, they dont need to know about this ability.
I know that frankly you can simply look at the text files, but most if any will not go to the trouble or know where to look.
Sarg is a nice little add on but for use makes it too easy.
-
steve288
You can install the user manager contrib, and this will allow you to configure access rights for users to panels in server manager, ie when accessed using user-manager instead of server manager.
yum install --enablerepo=smecontribs smeserver-userpanel
Then follow the instructions.
-
I have installed Sarg which as you know Sarg "provides comprehensive reporting on the Squid web proxy usage."
It appears that when you install sarg it is also available at
https://192.168.1.1/squid/daily/index.html
for example
I would like to remove the (albiet nicely done) menu item in the Server-Manager panel listing "SARG reports" so that it's not listed there so that I access it from the link for example like above https://192.168.1.1/squid/daily/index.html instead.
Why do you need to remove it? As I understand it you can already access it at the alternative address or am I reading that wrong?
Most off the time the server-manager menu is there to implement things on SME Server easily as the default URLs from a package might not factor in the configuration system and the internal database. I do not use SARG so I am not sure if that is the case for SARG.
-
Thanks mary for that. I do have that installed but was hoping not to go that way.
Cactus, your right it is accessable via the address I provided, if I understand the comment you are making. Its not that they want to stop people from looking at it, they are not paranoid (yet) They just dont want to make it obvious. People here are not linux users and would not take the time to research or SARG and certainly if it was not listed in the menu would not even know it is there to do any research on. We just wanted to make it a little more obscure so it was not obvious. The sarg does a nice job of making it very nice and obvious in the menu. We are just oddballs cause we want to not make it that obvious.
I was hoping that there was a simple place I could look to make a change to hide it. Perhaps not? And changes might make it a house of cards.
-
Why do you want to hide it fron the admin (as the server manager is for the admin) ?
SARG is like some of other old contribs that are still using httpd-auth to gain access, it is probable that in a near future they will use the same session as server manager, by doing so the second way to access it might disappear.
In fact you are making a feature from a bug.
By the way if you are sure you do not want to see the menu of sarg in your server manager you can simply move out the file for sarg from the directory /etc/e-smith/web/panels/manager/cgi-bin
(i do not know the exact name of the file corresponding to Sarg but it shall be obvious)
then you do
/etc/e-smith/events/actions/navigation-conf
It will disappear until the next update of sarg
-
I see your point on possible future updates.
Thanks, I may set up a separate machine and test it out.
At least I have learned something.
Regards
-
Hi, while on the SARG issue, I want to delete the reports or log files SARG crates on a weekly basis - Very interesting feature indeed, just feel it is missing a button with the function: "CLEAR". Any suggestions?