Xymon Mailing List Archive search

User management for Xymon?!

list Vernon Everett
Thu, 8 Jul 2010 09:24:03 +0800
Message-Id: <user-e32a360a372a@xymon.invalid>

Check this thread out.
http://www.hswn.dk/hobbiton/2008/05/msg00098.html
It's what I used as a basis for doing what I needed.

You need a second hobbitserver.cfg and a second bb-hosts file, and it
will generate what you need in the specified directory.
Once it works, you can then add it as a menu option in the usual way.

I wish I could offer you more, but I did not take copies of the
scripts when I left and it was a long time ago.

Cheers
     Vernon


2010/7/8 Vernon Everett <user-b3f8dacb72c8@xymon.invalid>:
It can be done, but it's a bit of a hack, and requires running
additional instances of some of the Xymon daemons.
I have done it before in a previous contract, where we had separate
Wintel and Unix divisions, so it made sense to have 2 different
"non-green" views.

I also means you have to maintain or generate additional sets of
bb-hosts files, hobbitserver.cfg files and so forth.
It's tricky, but not difficult.
I was shown how to do it by a list member, so maybe they can repost
the original email - or I can see if I can dig it up.

Watch this space.

Regards
   Vernon


On Thu, Jul 8, 2010 at 8:53 AM, Maik Heinelt <user-4ab5eb34adb2@xymon.invalid> wrote:
 Well, that's what I said.
I already use mod_auth_mysql to ahndle with user logins,
but could you please explain, how to manage the all non-green function just
for one folder?
This would be a nice feature, to make it possible, a user can see only all
non-green machines for his folder.

I had the menu on Xymon only visible for local, just to avoid, a standard
user can click on the "Show all non-green" link in there.


Heinelt Maik
Status: Software Developer
ハイネルト マイク
愛知県一宮市富士2−2−22
株式会社 ベガシステムズ
TEL 0586−71−3903
FAX 0586−71−4071
http://www.vegasystems.com
Skype ID: daliose

On 2010/07/08 9:40, Jerald Sheets wrote:
Thing is, Maik, that there are so many options via Apache modules (LDAP,
MySQL, etc.) and you can even connect right into your AD, that it seems
there shouldn't be a huge amount of time with something of such an "add-on"
feel about it.

What I mean by that is, that Apache alone can make your life very simple
with mod_auth_ldap, mod_auth_mysql, etc.  A few directives, point at the
right database, and voila!  There are plenty of GUI clients already out
there, and there are plenty of cool ways to handle User access/management,
that I'd rather the dev team work on making Xymon do what it does best *even
better*, and that's monitoring things.

Maybe that can be in the roadmap at some point, but I'm just not sure I
agree very strongly with you that this would be as pressing a need as some
other things in the project.

I'm willing to be shouted down on that, by the way.  Just my two cents...


--J


On Jul 7, 2010, at 7:26 PM, Maik Heinelt wrote:
As we are talking about new features/function for Xymon,
I would like to bring in one more idea.

Cause we are monitoring several server from my companies costumer,
we have set several user for our costumer, to see their server status.
For this, we just use a simple .htaccess connected with a MySQL db.

It would be very handy, if there would be such a user/permission
management in Xymon as default.

Just to setup a new user and select the view/folder/sub-folder, where the
user has permissions to.


Maik