Xymon Mailing List Archive search

Custom web pages based on user?

7 messages in this thread

list Ricardo Stella · Mon, 07 Jul 2008 17:20:41 -0400 ·
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...

-- 

°(((=((===°°°(((===========================================
list Josh Luthman · Tue, 8 Jul 2008 15:18:40 -0400 ·
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
quoted from Ricardo Stella

On Mon, Jul 7, 2008 at 5:20 PM, Ricardo Stella <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...

--

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

list Ricardo Stella · Wed, 09 Jul 2008 09:42:55 -0400 ·
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...
quoted from Josh Luthman

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>> 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...

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

-- 

°(((=((===°°°(((===========================================
list Josh Luthman · Wed, 9 Jul 2008 09:52:50 -0400 ·
quoted from Ricardo Stella
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
quoted from Ricardo Stella
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 =(
signature

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

quoted from Ricardo Stella
On Wed, Jul 9, 2008 at 9:42 AM, Ricardo Stella <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:
quoted from Ricardo Stella
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...

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

--

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

list Ricardo Stella · Wed, 09 Jul 2008 10:14:57 -0400 ·
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...
quoted from Josh Luthman

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...

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


    -- 

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

-- 

°(((=((===°°°(((===========================================
list Ricardo Stella · Thu, 10 Jul 2008 17:49:20 -0400 ·
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...
quoted from Ricardo Stella


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...

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


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

-- 

°(((=((===°°°(((===========================================
list Martin Flemming · Fri, 11 Jul 2008 00:01:47 +0200 (CEST) ·
Take insteed ..

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


page UserA Help Desk Only
group-only http|imap|mailq|smtp
0.0.0.0 NAME1 # noconn cpu disk hardware http imap mailq memory msgs procs raid smtp ssh
0.0.0.0 NAME2 # noconn cpu disk hardware http memory msgs procs raid ssh

cheers,
 	martin
quoted from Ricardo Stella


On Thu, 10 Jul 2008, Ricardo Stella wrote:
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...

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


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

-- 

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

Gruss

        Martin Flemming


Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : XXX - XXXX - XXXX
22603 Hamburg      mail   : user-f286aaa49a76@xymon.invalid