Duplicate Services across hosts
Posted: Tue Apr 24, 2018 9:02 am
I'm seeing duplicate services created across multiple hosts which were never configured for these services.
(Background info as requested in FAQ)
Linux Distribution and version? CentOS Linux release 7.4.1708
32 or 64bit? 64
VMware Image or Manual Install of XI? Manual install
Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? Using mod_gearman.
Nagios XI version: 5.4.13
Issue details:
I have configured a service on five hosts that is appearing multiple times in Nagios. There are no parent-child relationships among them nor among any on this server at all. These should appear once each, but Nagios shows the service repeated on multiple hosts:
Here is the config instances: Here is what each one looks like:
define service {
host_name {hostname}.vrst.local
service_description eth0 Bandwidth - Inbound on {hostname}.vrst.local
use xiwizard_ncpa_service
check_command check_xi_ncpa!-t '{token}' -P 5693 -M 'interface/eth0/bytes_recv' -d -u M -w 10 -c 100
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7
contact_groups oncall
_xiwizard ncpa
hostgroups aws-germany
register 1
}
So, 5 times, no inheritance.
Yet, the user interface shows it on all sorts of hosts it isn’t configured for: Can you shed any light as to why this might be happening?
Thanks,
Brian
(Background info as requested in FAQ)
Linux Distribution and version? CentOS Linux release 7.4.1708
32 or 64bit? 64
VMware Image or Manual Install of XI? Manual install
Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? Using mod_gearman.
Nagios XI version: 5.4.13
Issue details:
I have configured a service on five hosts that is appearing multiple times in Nagios. There are no parent-child relationships among them nor among any on this server at all. These should appear once each, but Nagios shows the service repeated on multiple hosts:
Here is the config instances: Here is what each one looks like:
define service {
host_name {hostname}.vrst.local
service_description eth0 Bandwidth - Inbound on {hostname}.vrst.local
use xiwizard_ncpa_service
check_command check_xi_ncpa!-t '{token}' -P 5693 -M 'interface/eth0/bytes_recv' -d -u M -w 10 -c 100
max_check_attempts 5
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7
contact_groups oncall
_xiwizard ncpa
hostgroups aws-germany
register 1
}
So, 5 times, no inheritance.
Yet, the user interface shows it on all sorts of hosts it isn’t configured for: Can you shed any light as to why this might be happening?
Thanks,
Brian