C and D drive reporting unknown
-
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
C and D drive reporting unknown
I have configured the service to monitor the c drive and d drive but nothing but I just see unknown using these parameters
define service{
use generic-service
host_name remote-windows-host
service_description C:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
}
define service{
use generic-service
host_name remote-windows-host
service_description D:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l d -w 80 -c 90
I am using version NSClient++ 0.4.1.73 Version and the service is only reporting on one system the other 4 systems report unknown.
}
define service{
use generic-service
host_name remote-windows-host
service_description C:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
}
define service{
use generic-service
host_name remote-windows-host
service_description D:\ Drive Space
check_command check_nt!USEDDISKSPACE!-l d -w 80 -c 90
I am using version NSClient++ 0.4.1.73 Version and the service is only reporting on one system the other 4 systems report unknown.
}
Re: C and D drive reporting unknown
Can you show us a screenshot of what the full status is reporting as?
This could be anything from a simple timeout, all the way to NSClient++ not listening properly. It's hard to say without knowing.
This could be anything from a simple timeout, all the way to NSClient++ not listening properly. It's hard to say without knowing.
Former Nagios Employee
-
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: C and D drive reporting unknown
Sure, I thought having different versions were the reason but it isn't. I made sure the service has log on to the local system
-
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: C and D drive reporting unknown
Your first screenshot seems to look proper, but the second one is definitely showing the errors.
For the host / service that is showing errors, what is the result if you attempt to run the check_nt check over the CLI? Does it come back with a successful output?
For the host / service that is showing errors, what is the result if you attempt to run the check_nt check over the CLI? Does it come back with a successful output?
Former Nagios Employee
-
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: C and D drive reporting unknown
Can you tell me the command syntax for that please
Re: C and D drive reporting unknown
You should be able to run something like this -
Code: Select all
[root@localhost libexec]# ./check_nt -H 192.168.47.8 -p 12489 -v USEDDISKSPACE -l c -w 80 -c 90
c:\ - total: 24.90 Gb - used: 18.18 Gb (73%) - free 6.72 Gb (27%) | 'c:\ Used Space'=18.18Gb;19.92;22.41;0.00;24.90
Former Nagios Employee
-
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: C and D drive reporting unknown
yes that worked from the command line
-
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: C and D drive reporting unknown
I tried it with several vms and the command line worked on several of them
Re: C and D drive reporting unknown
Could you show us the full input / output, and also a copy of your /usr/local/nagios/var/objects.cache file?
What is the host / service name that is failing?
What is the host / service name that is failing?
Former Nagios Employee