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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
[email protected]
Posts: 2
Joined: Thu Feb 19, 2015 8:37 am

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

Post by [email protected] »

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.
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

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

Post 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?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
[email protected]
Posts: 2
Joined: Thu Feb 19, 2015 8:37 am

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

Post by [email protected] »

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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

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

Post by mcapra »

Is it alright if we lock this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
Locked