Xymon Mailing List Archive search

Custom web pages based on user?

list Ricardo Stella
Thu, 10 Jul 2008 17:49:20 -0400
Message-Id: <user-cc669ebbddee@xymon.invalid>

List, I guess I need a bit more help.  The following works, except 
bbtest complains that there are duplicate entries:

page AllServers All Servers
192.168.0.10 conn cpu disk hardware http imap mailq memory msgs procs 
raid smtp ssh
192.168.0.11 conn cpu disk hardware http memory msgs procs raid ssh
192.168.0.12 conn cpu disk hardware http memory msgs procs raid ssh

page UserA Help Desk Only
group-only http|imap|mailq|smtp
192.168.0.10 conn cpu disk hardware http imap mailq memory msgs procs 
raid smtp ssh
192.168.0.11 conn cpu disk hardware http memory msgs procs raid ssh

The idea here is that UserA would have access to 
http://site/UserA/index.html and nothing else... 

Thanks in advance...


Ricardo Stella wrote:
Just tried a few things after re-reading the man pages.  Duplicating 
the entries and grouping them to only include what I want seemed to do 
the trick.

Only concern I would have is would hobbit (specially bbnet) duplicate 
the tests ?  We just moved from bigbrother...

Josh Luthman wrote:
However I'm still not clear on the hobbit end of things.  I mean, I 
need to figure out how to generate the pages themselves in the sub 
directories (or is it based on 'page' in bb-hosts)?
It is
Also, would this mean that for every user I would have multiple 
entries for the same host in bb-hosts with only the necessary checks 
to do? Would hobbit attempt to do these checks twice though?
I would assume you put the host on there twice, that's all I could 
tell you.

I was just pointing you in a direction which you could look.  I have 
no experience to tell you any more information, sorry =(

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

On Wed, Jul 9, 2008 at 9:42 AM, Ricardo Stella <user-a9f2fdfdbc44@xymon.invalid 
<mailto:user-a9f2fdfdbc44@xymon.invalid>> wrote:

    Thanks Josh for your suggestions...

    However I'm still not clear on the hobbit end of things.  I mean,
    I need to figure out how to generate the pages themselves in the
    sub directories (or is it based on 'page' in bb-hosts)?

    Also, would this mean that for every user I would have multiple
    entries for the same host in bb-hosts with only the necessary
    checks to do? Would hobbit attempt to do these checks twice though?

    And finally, how about for tests that are generated from the hosts
    themselves (ie disk, cpu, etc)? How can these be adjusted to
    display on some pages and not others? I guess 'group-only
    COLUMN1|COLUMN2...' would help me establish only the ones I want,
    right?

    Any examples out there? TIA...

    Josh Luthman wrote:

        http://myhost.com/hobbit/radios58/radios58.html
        http://myhost.com/hobbit/radios24/radios24.html

        When you use page in bb-host you get this.  I would look to
        making pages for each section of hosts you want for each group
        and then user names for each directory (in the example it's
        radios58 and radios24).

        Josh Luthman
        Office: XXX-XXX-XXXX
        Direct: XXX-XXX-XXXX
        XXXX Wayne St
        Suite XXXX
        Troy, OH XXXXX

        Those who don't understand UNIX are condemned to reinvent it,
        poorly.
        --- Henry Spencer

        On Mon, Jul 7, 2008 at 5:20 PM, Ricardo Stella
        <user-a9f2fdfdbc44@xymon.invalid <mailto:user-a9f2fdfdbc44@xymon.invalid>
        <mailto:user-a9f2fdfdbc44@xymon.invalid <mailto:user-a9f2fdfdbc44@xymon.invalid>>> wrote:


           Hello list,

           We have a need to have certain services and hosts monitored
        by our
           help desk, however still have some additional services
        monitored
           and available by other staff members.  For example, for userA
           would have a display page with all services (with or without
           grouping), however userB would have certain services.
         Something like:

           userA:
           hostA - conn cpu disk hardware http imap mailq memory msgs
        procs
           raid smtp ssh
           hostB - conn cpu disk hardware http memory msgs procs raid 
ssh
           hostC - conn cpu disk hardware http memory msgs procs raid 
ssh

           userB:
           hostA - conn http imap smtp
           hostB - conn http

           User's would authenticate so the web server would restrict
        access
           to those pages.

           Thanks in advance...

           --
           °(((=((===°°°(((===========================================


    --
    °(((=((===°°°(((===========================================

-- 

°(((=((===°°°(((===========================================