Page 1 of 1

'K' Drive Invalid but No 'K' drive configured

Posted: Fri Jul 01, 2016 11:34 am
I've had a new drive appear for many of my monitored hosts, but the drive isn't present on the Windows boxes, nor in their respective service configurations. I can't remove the 'K' drive from the host using CCM because it doesn't appear in the list. I've checked drive mappings, and there is no 'K' drive mapped on the involved hosts. See attached screenshots for reference.

Re: 'K' Drive Invalid but No 'K' drive configured

Posted: Mon Jul 04, 2016 12:02 am
by Box293
You have an existing host that has a K: drive service.

I suspect that service has been assigned to multiple hosts (usually using a hostgroup).

You can go into CCM and under services search for all the Drive K: services. Edit one of them and click the "Manage Hosts" or "Manage Hostgroups" buttons to check what the service has been assigned to. Repeat until you find the offending service.

If it's not defined this way, the Hostgroups may be inherited by a template the service uses (or a template the template uses).

This command will give you a hint as to which file might be the cause of the issue:

Code: Select all

grep -B 2 -A 2 -R 'Drive K:' /usr/local/nagios/etc/services/
Does this help?

Re: 'K' Drive Invalid but No 'K' drive configured

Posted: Tue Jul 05, 2016 10:00 am
Your answer worked! I found one host with the 'drive k:' service configured. I removed it from the hostgroup, added it to a newly created hostgroup and all the 'unknowns' disappeared from the hostgroup summary view.

Thanks!

Jeff Allen

Re: 'K' Drive Invalid but No 'K' drive configured

Posted: Tue Jul 05, 2016 10:19 am
by mcapra
Is it alright if we lock this thread and mark the issue as resolved?