'K' Drive Invalid but No 'K' drive configured
-
[email protected]
- Posts: 2
- Joined: Thu Feb 19, 2015 8:37 am
'K' Drive Invalid but No 'K' drive configured
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.
- 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
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:
Does this help?
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/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
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
Thanks!
Jeff Allen
Re: 'K' Drive Invalid but No 'K' drive configured
Is it alright if we lock this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/