User creation based on hostgroups

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
venkitesh
Posts: 67
Joined: Tue Jan 27, 2015 12:34 am

User creation based on hostgroups

Post by venkitesh »

Hi All,

Is it possible to create a nagios xi user who should be able to view/write only to a particular hostgroup/servicegroup.

Suppose i have a hostgroup and servicegroup called windows-hosts and windows-services.

so a windows admin should only see these hostgroups/servicegroups which is related to windows.

rest all hosts/services should be hideen.

Anyways to do this
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: User creation based on hostgroups

Post by jdalrymple »

The workflow would be such:

Hostgroups are a construct designed to help aggregate hosts that have similar monitoring characteristics
Templates are the construct designed to help organize what hosts and services should be notified on, to whom and how.

For all of your hosts in question, apply a template - say "windows server" (this can have child templates such as "windows-web, windows-db, etc" and put the appropriate contactgroups in your template. You just have to be careful, templates are cumulative, so if you have nested templates and one of the parents has additional contactgroups they will get notified also. This can be both of benefit and detriment so it's important you understand the flow.

Here is some reading:

http://assets.nagios.com/downloads/nagi ... gement.pdf
http://nagios.sourceforge.net/docs/3_0/ ... tance.html
venkitesh
Posts: 67
Joined: Tue Jan 27, 2015 12:34 am

Re: User creation based on hostgroups

Post by venkitesh »

hi,

thanks for your reply.

i am not bothered about the alerting mechianism.

in the nagiosxi web ui , if a windows admin logins he should be able to see only windows hosts and services. linux admins should use linux hosts/services.

PLease advise.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: User creation based on hostgroups

Post by scottwilkerson »

For regular users without special permissions, this is how iit would work, actually a user can only see hosts/services they are contact for or are members of a contact group that is assigned to the host/service.

If they are admins, then they can see everything, but can create custom dashboard to focus on what is important to them.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked