Page 1 of 2

Warning: Duplicate definition found for service 'Drive C:

Posted: Thu May 25, 2017 12:12 pm
by benningtonr
Warning: Duplicate definition found for service 'Drive C: Disk Usage' on host 'Williamsburg DC' (config file '/usr/local/nagios/etc/services/DCW1.cfg', starting on line 16)
Warning: Duplicate definition found for service 'Ping' on host 'Williamsburg DC' (config file '/usr/local/nagios/etc/services/DCW1.cfg', starting on line 33)
Warning: Duplicate definition found for service 'Uptime' on host 'Williamsburg DC' (config file '/usr/local/nagios/etc/services/DCW1.cfg', starting on line 49)
Warning: Duplicate definition found for service 'Ping' on host 'Brocade 1600' (config file '/usr/local/nagios/etc/services/Brocade 1600.cfg', starting on line 146)

Now if I open config manager, and I do a search for ping, there is only one, same goes for uptime and drive C:

I looked in the cfg, same thing there, only one entry

Re: Warning: Duplicate definition found for service 'Drive C

Posted: Thu May 25, 2017 2:43 pm
by dwhitfield
Usually this is due to hostgroups being set up incorrectly. Are Williamsburg DC and Brocade 1600 in any of the same host groups?

Did you recently import configs from another system?

Can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.

After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.

Re: Warning: Duplicate definition found for service 'Drive C

Posted: Thu May 25, 2017 2:44 pm
by avandemore
What is the output from:

Code: Select all

/usr/local/nagios/bin/nagios -vvv /usr/local/nagios/etc/nagios.cfg

Re: Warning: Duplicate definition found for service 'Drive C

Posted: Mon Jun 05, 2017 1:55 pm
by benningtonr
avandemore wrote:What is the output from:

Code: Select all

/usr/local/nagios/bin/nagios -vvv /usr/local/nagios/etc/nagios.cfg

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2017.06.05 14:54:18 =~=~=~=~=~=~=~=~=~=~=~=
/usr/local/nagios/bin/nagios -vvv /usr/local/nagios/etc/nagios.cfg

Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/etc/hosttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicetemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicedependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostdependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/hostescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
Processing object config directory '/usr/local/nagios/etc/hosts'...
Processing object config file '/usr/local/nagios/etc/hosts/Emporia ASA.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/staging.emediava.org.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/luna.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Tape Library Printer.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Kiwi.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Radio3.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/emediava.org.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/ftp1.whro.net.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/CDE ASA5505.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/git.whro.org.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/SkillsOnLine.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/radio2.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Eastville ASA.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/faxserver.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/analogvdc1.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Cisco Fabric Interconnect A.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/www.emediava.org.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/web5.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/analogvdc2.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/warehouse.emediava.org.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/intranet.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Virtual Backup.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/stream1.whro.net.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Production Printer.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/NLS0.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/flipfactory.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Team Approach RedHat.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/raptor.whro.net.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Border Router.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/TTAC_Moodle.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/helpdesk.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/web3.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Shoutcast.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/pledgeadmin.whro.org.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Raptor3.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/repeater.emediava.org.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Williamsburg DC.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Membership Scanner.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Education Printer.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/sms.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Brocade fcx648.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/VNS2.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/members.whro.org.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/cms1.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Radio Lib Printer.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/web1.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/www.whro.org.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Upstairs Copy Rm Scanner.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/VM-DC2-Digital.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/moodle.hrvlc.org.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Williamsburg DDR.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/atem.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/lenel-lnvr.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Radio HP Printer.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/vmpro1.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Brocade 1600.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/TTAC_Adobeconnect.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/skillsonline.org.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/web4.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Team Approach Solaris.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Protrack.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/moodle3.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Cisco Fabric Interconnect B.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Morehouse Printer.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Engineering Printer.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/vns1.whro.net.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Master Control Printer.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/digitalav1.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/ttac.odu.edu.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Member Web.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Accomack ASA.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Woden3.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/print1.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/mail.whro.net.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/gateway.sagepayments.net.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/exchange.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/WHRO ASA.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Business Office Printer.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/ts1.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Executive Ricoh Printer.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/vdc1.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/VM-DC1-Digital.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/LNLServer.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Brocade 1600 All.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Barracuda.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Accomack Gateway.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/analogav1.analog.local.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/rdserver1.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Emporia ASA Outside.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Main Copier Scanner.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/HRVLC Ricoh Printer.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/localhost.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Membership Printer.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Williamsburg ASA.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/192.168.99.50.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Emporia ASA.cfg'...
Processing object config file '/usr/local/nagios/etc/services/staging.emediava.org.cfg'...
Processing object config file '/usr/local/nagios/etc/services/luna.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Tape Library Printer.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Kiwi.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Radio3.cfg'...
Processing object config file '/usr/local/nagios/etc/services/emediava.org.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web4_IIS_Server.cfg'...
Processing object config file '/usr/local/nagios/etc/services/ftp1.whro.net.cfg'...
Processing object config file '/usr/local/nagios/etc/services/CDE ASA5505.cfg'...
Processing object config file '/usr/local/nagios/etc/services/git.whro.org.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.99.35.cfg'...
Processing object config file '/usr/local/nagios/etc/services/SkillsOnLine.cfg'...
Processing object config file '/usr/local/nagios/etc/services/radio2.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/services/UCS FIA Temp.cfg'...
Processing object config file '/usr/local/nagios/etc/services/VPN_Emporia.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web4_FTP_Service.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Virtual Backup Server.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Eastville ASA.cfg'...
Processing object config file '/usr/local/nagios/etc/services/64.5.130.5.cfg'...
Processing object config file '/usr/local/nagios/etc/services/faxserver.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/services/analogav1.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web3_Page_File_Usage.cfg'...
Processing object config file '/usr/local/nagios/etc/services/BGP_COX.cfg'...
Processing object config file '/usr/local/nagios/etc/services/analogvdc1.cfg'...
Processing object config file '/usr/local/nagios/etc/services/NLSO.cfg'...
Processing object config file '/usr/local/nagios/etc/services/lnlserver.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/services/UCS FIB Fans.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web1_Ping.cfg'...
Processing object config file '/usr/local/nagios/etc/services/www.emediava.org.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web3_Ping.cfg'...
Processing object config file '/usr/local/nagios/etc/services/analogvdc2.cfg'...
Processing object config file '/usr/local/nagios/etc/services/VPN_Eastville.cfg'...
Processing object config file '/usr/local/nagios/etc/services/warehouse.emediava.org.cfg'...
Processing object config file '/usr/local/nagios/etc/services/intranet.cfg'...
Processing object config file '/usr/local/nagios/etc/services/UCS FIB IO Card.cfg'...
Processing object config file '/usr/local/nagios/etc/services/stream1.whro.net.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.99.49.cfg'...
Processing object config file '/usr/local/nagios/etc/services/NLS0.cfg'...
Processing object config file '/usr/local/nagios/etc/services/flipfactory.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/services/UCS FIB Temp.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Team Approach RedHat.cfg'...
Processing object config file '/usr/local/nagios/etc/services/raptor.whro.net.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Border Router.cfg'...
Processing object config file '/usr/local/nagios/etc/services/DCW1.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Check Helpdesk Acct .cfg'...
Processing object config file '/usr/local/nagios/etc/services/TTAC_Moodle.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web5_IIS_Service.cfg'...
Processing object config file '/usr/local/nagios/etc/services/helpdesk.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web5_Uptime.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Shoutcast.cfg'...
Processing object config file '/usr/local/nagios/etc/services/pledgeadmin.whro.org.cfg'...
Processing object config file '/usr/local/nagios/etc/services/digitalav1.cfg'...
Processing object config file '/usr/local/nagios/etc/services/VPN_Williamsburg.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Raptor3.cfg'...
Processing object config file '/usr/local/nagios/etc/services/repeater.emediava.org.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Williamsburg DC.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web1_Uptime.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web4_Ping.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Brocade fcx648.cfg'...
Processing object config file '/usr/local/nagios/etc/services/UCS FIA IO Card.cfg'...
Processing object config file '/usr/local/nagios/etc/services/VNS2.cfg'...
Processing object config file '/usr/local/nagios/etc/services/members.whro.org.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web1_IIS_Service.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web5_Disk_Usage_C:.cfg'...
Processing object config file '/usr/local/nagios/etc/services/UCS FIA Fans.cfg'...
Processing object config file '/usr/local/nagios/etc/services/cms1.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.99.42.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.99.31.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web4_Disk_Usage_C:.cfg'...
Processing object config file '/usr/local/nagios/etc/services/VM-DC2-Digital.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.99.44.cfg'...
Processing object config file '/usr/local/nagios/etc/services/moodle.hrvlc.org.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web5_Ping.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Williamsburg DDR.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web3_Uptime.cfg'...
Processing object config file '/usr/local/nagios/etc/services/atem.cfg'...
Processing object config file '/usr/local/nagios/etc/services/lenel-lnvr.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/services/vmpro1.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web3_Disk_Usage_E:.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Brocade 1600.cfg'...
Processing object config file '/usr/local/nagios/etc/services/TTAC_Adobeconnect.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.99.41.cfg'...
Processing object config file '/usr/local/nagios/etc/services/skillsonline.org.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Team Approach Solaris.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.99.39.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Protrack.cfg'...
Processing object config file '/usr/local/nagios/etc/services/moodle3.cfg'...
Processing object config file '/usr/local/nagios/etc/services/SX1600 Checks.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Morehouse Printer.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Border Router Checks.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web3_IIS_Server.cfg'...
Processing object config file '/usr/local/nagios/etc/services/vns1.whro.net.cfg'...
Processing object config file '/usr/local/nagios/etc/services/12.160.89.97.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web4_Disk_Usage_E:.cfg'...
Processing object config file '/usr/local/nagios/etc/services/ttac.odu.edu.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Check_ASA MEM.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Member Web.cfg'...
Processing object config file '/usr/local/nagios/etc/services/FSX648 Checks.cfg'...
Processing object config file '/usr/local/nagios/etc/services/BGP_COGENT.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Accomack ASA.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Woden3.cfg'...
Processing object config file '/usr/local/nagios/etc/services/print1.cfg'...
Processing object config file '/usr/local/nagios/etc/services/exchange.cfg'...
Processing object config file '/usr/local/nagios/etc/services/mail.whro.net.cfg'...
Processing object config file '/usr/local/nagios/etc/services/gateway.sagepayments.net.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.99.32.cfg'...
Processing object config file '/usr/local/nagios/etc/services/exchange.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/services/WHRO ASA.cfg'...
Processing object config file '/usr/local/nagios/etc/services/ts1.whro.local.cfg'...
Processing object config file '/usr/local/nagios/etc/services/CPU Utilization.cfg'...
Processing object config file '/usr/local/nagios/etc/services/UCS FIA PSU Operation Status.cfg'...
Processing object config file '/usr/local/nagios/etc/services/sgichk_cuda_queues.pl.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.99.48.cfg'...
Processing object config file '/usr/local/nagios/etc/services/VM-DC1-Digital.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Brocade 1600 All.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.99.46.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Barracuda.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.99.34.cfg'...
Processing object config file '/usr/local/nagios/etc/services/rdserver1.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web4_Uptime.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web1_Disk_Usage_C:.cfg'...
Processing object config file '/usr/local/nagios/etc/services/VPN_Accomack.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.99.52.cfg'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Williamsburg ASA.cfg'...
Processing object config file '/usr/local/nagios/etc/services/UCS FIB PSU Operation Status.cfg'...
Processing object config file '/usr/local/nagios/etc/services/web3_Disk_Usage_C:.cfg'...
Warning: Duplicate definition found for service 'Ping' on host 'Brocade 1600' (config file '/usr/local/nagios/etc/services/Brocade 1600.cfg', starting on line 146)
Warning: Duplicate definition found for service 'Uptime' on host 'Williamsburg DC' (config file '/usr/local/nagios/etc/services/DCW1.cfg', starting on line 49)
Warning: Duplicate definition found for service 'Ping' on host 'Williamsburg DC' (config file '/usr/local/nagios/etc/services/DCW1.cfg', starting on line 33)
Warning: Duplicate definition found for service 'Drive C: Disk Usage' on host 'Williamsburg DC' (config file '/usr/local/nagios/etc/services/DCW1.cfg', starting on line 16)
Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
Checked 799 services.
Warning: Host 'Emporia ASA Outside' has no services associated with it!
Warning: Host 'sms.whro.local' has no services associated with it!
Warning: Host 'vdc1.whro.local' has no services associated with it!
Warning: Host 'www.whro.org' has no services associated with it!
Checked 94 hosts.
Checked 5 host groups.
Checked 6 service groups.
Checked 21 contacts.
Checked 2 contact groups.
Checked 148 commands.
Checked 24 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 94 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 24 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 4
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check
]0;root@nagios:~[root@nagios ~]#

Re: Warning: Duplicate definition found for service 'Drive C

Posted: Mon Jun 05, 2017 1:59 pm
by benningtonr
dwhitfield wrote:Usually this is due to hostgroups being set up incorrectly. Are Williamsburg DC and Brocade 1600 in any of the same host groups?

Did you recently import configs from another system?

Can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.

After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.

Profile sent, williamsburg is in a server host group and brocade is in a switch host group

Re: Warning: Duplicate definition found for service 'Drive C

Posted: Mon Jun 05, 2017 3:25 pm
by avandemore
Can you send your profile to me as well?

Re: Warning: Duplicate definition found for service 'Drive C

Posted: Tue Jun 06, 2017 10:24 am
by benningtonr
avandemore wrote:Can you send your profile to me as well?
PM sent

Re: Warning: Duplicate definition found for service 'Drive C

Posted: Tue Jun 06, 2017 12:41 pm
by avandemore
Let's start with host/service Brocade 1600/Ping, you have it defined as the host check via template and as a seperate object. Is this the same for your others?

Re: Warning: Duplicate definition found for service 'Drive C

Posted: Tue Jun 06, 2017 1:03 pm
by benningtonr
I would be willing to say yes, but I am not sure, i set this up many years ago and only dive into it when there is an update. Where would I go look?
When I saw the error or warning I went to the cfg file it referenced I i only saw one instance of the service it said was a duplicate.
Thanks for the assistance.

Re: Warning: Duplicate definition found for service 'Drive C

Posted: Tue Jun 06, 2017 1:39 pm
by tgriep
Just to let you know, Duplicates are just warnings and can be ignored if you like.
The duplicate for the Brocade 1600 is in this Service called

Code: Select all

WHRO ASA
Go in to the Core Config Manager > Service menu, find that service and remove the ping service.

The other 3 duplicates, are in a service config called

Code: Select all

DCW1
remove those, and the duplicates should be gone.