I looked for the answer to this question on the forum but found nothing.
I have Nagios Core with big numbers of objects.
I need set user permissions to monitoring only a part of all objects.
I have 3 users:
- nagiosadmin - admin permissions
user1 - admin permissions
user2 - need not full access
I tried next:
In nagios/objects/contacts.cfg i create this blocks:
Code: Select all
define contact{
contact_name user2;
use generic-contact;
alias user2;
email user2@domain.com;
}
define contactgroup{
contactgroup_name user2
alias user2
members user2
}
Code: Select all
define host{
name generic-user2;
use generic-switch >;
contact_groups user2;
hostgroups user2_switches;
register 0;
}
I am totally confused.
What i'am forget to configure or modify.
Thanks for help