XI: Challenge with "disappearing Service definitions"
Posted: Wed Dec 04, 2019 3:04 pm
Ahoy folks,
FYI that my users are reporting an issue when attempting to leverage Service definitions & Service Templates via XI.
Generally speaking they are following the process discussed in this thread (https://support.nagios.com/forum/viewto ... =6&t=56528).
I have also detailed my steps to reproduce below.
NOTE: Any fields not detailed are either blank or go to default values.
0.) Service Template is created & applied (via CCM)
1.) Service definition is created & applied (via CCM)
NOTE: This is the step where the problem occurs!
NOTE: When I click "Apply Configuration", my new Service definition "disappears" from view, never to be found.
Also of note, if I "click away" (EG: go to another section of CCM and then return), my new Service definition "disappears" from view also.
A user with ADMIN permissions is able to see this Service definition however.
Also USERs with permissions that include "Can see all hosts and services" can see the new Service definition, however this is *undesirable* in our multi-tenant environment (we do not want everyone to see everything).
The problem with this, is the USERs are thus unable to modify their Service definitions (EG: in a self-serv capacity).
If we change the "Manage Host Groups" option at the Service definition step to use the wild-card ("*") instead of a targeted host group(s), this works (but then *every USER* sees it, regardless of tenant / security permissions).
If you would, please consider and advise how we might resolve this visibility issue?
Thank you for your time!
EDIT: Adding supplemental details below this line!
# ENV
# NCPA: NRDP rule
# XI: USER level permissions
FYI that my users are reporting an issue when attempting to leverage Service definitions & Service Templates via XI.
Generally speaking they are following the process discussed in this thread (https://support.nagios.com/forum/viewto ... =6&t=56528).
I have also detailed my steps to reproduce below.
NOTE: Any fields not detailed are either blank or go to default values.
0.) Service Template is created & applied (via CCM)
Code: Select all
# NAGIOS XI: Service Template is created & applied (via CCM)
## CCM: Create Service Template
XI: Configure > Core Config Manager
Templates > Service Templates
Add New
### Common Settings
Template Name: TEAM_CPU_Usage
Description: TEAM_CPU_Usage
Active: CHECKED
### Check Settings
Max check attempts: 1
Check period: 24x7
### Alert Settings
Manage Contacts: registered contact assigned
Notification period: 24x7
Notification options: Warning, Critical, Recovery
Notification enabled: Skip
### Misc Settings
Blank.
## CCM: Apply Configuration
Click the "Apply Configuration" button at bottom of *Service Templates* list.
Observe and check for positive result.
NOTE: This is the step where the problem occurs!
Code: Select all
# NAGIOS XI: Service definition is created & applied (via CCM)
## CCM: Create Service definition
XI: Configure > Core Config Manager
Monitoring > Services
Add New
### Common Settings
Template Name: TEAM_CPU_Usage
Description: TEAM_CPU_Usage
**NOTE: This must align with the defined rule name in the host-side *nrdp.cfg* file.**
Manage Templates: Associated with "TEAM_CPU_Usage" Service Template.
Manage Host Groups: Associated with pre-existing host group(s) which user has permissions for.
Active: CHECKED
Check command: check_dummy
$ARG1$: 0
$ARG2$: "No data received yet."
### Check Settings
Initial state: Ok
Max check attempts: 1
Active checks enabled: Off
Passive checks enabled: Skip
### Alert Settings
Notification enabled: Skip
### Misc Settings
Blank.
## CCM: Apply Configuration
Click the "Apply Configuration" button at bottom of *Service Templates* list.
Observe and check for positive result.
Also of note, if I "click away" (EG: go to another section of CCM and then return), my new Service definition "disappears" from view also.
A user with ADMIN permissions is able to see this Service definition however.
Also USERs with permissions that include "Can see all hosts and services" can see the new Service definition, however this is *undesirable* in our multi-tenant environment (we do not want everyone to see everything).
The problem with this, is the USERs are thus unable to modify their Service definitions (EG: in a self-serv capacity).
If we change the "Manage Host Groups" option at the Service definition step to use the wild-card ("*") instead of a targeted host group(s), this works (but then *every USER* sees it, regardless of tenant / security permissions).
If you would, please consider and advise how we might resolve this visibility issue?
Thank you for your time!
EDIT: Adding supplemental details below this line!
# ENV
Code: Select all
OS: RHEL 7.x (VMWare)
Nagios Core: 4.4.3
Nagios XI: 5.6.6
Code: Select all
%HOSTNAME%|TEAM_CPU_Usage|300 = cpu/percent --warning 95 --critical 98 --aggregate avg
Code: Select all
# XI: USER level permissions
## General Settings
Username: LDAP username
Email User New Password: unchecked
Name: Derived from LDAP entry.
Email Address: Derived from LDAP entry.
Phone Number: blank
Enable Notifications: checked
Account Enabled: checked
## Preferences
Languages: English (English)
Date Format: YYYY-MM-DD HH:MM:SS
Number Format: 1,000.00
Week Format: Sunday - Saturday
## Authentication Settings
Auth Type: Active Directory
AD Server: AD_server_IP,AD_server_IP,AD_server_IP
AD Username: Derived from LDAP entry.
Allow local login if auth server login fails: unchecked
## Security Settings
Authorization Level: User
Can see all hosts and services: unchecked
Can control all hosts and services: checked
Can configure hosts and services: checked
Can access advanced features: checked
Can access monitoring engine: unchecked
Read-only access: unchecked
API access: checked
Core Config Manager access: Limited
### Limited Access CCM Permissions
#### Group Permissions
Host Groups: unchecked
Service Groups: checked
#### Alerting Permissions
Contacts: checked
Contact Groups: unchecked
Time Periods: checked
Host Escalations: checked
Service Escalations: checked
#### Template Permissions
Host Templates: checked
Service Templates: checked
Contact Templates: unchecked
#### Command Permissions
Commands: checked
#### Advanced Permissions
Host Dependencies: checked
Service Dependencies: checked
#### Tool Permissions
Static Config Editor: unchecked
User Macros: unchecked
Import Config Files: unchecked
Config File Management: unchecked