Page 1 of 1
[Solved] NCPA active disk check - The node (D:/) requested
Posted: Wed Oct 23, 2019 8:13 pm
by markbeaven
I am running active checks to a Windows server and most work but the disk checks only work on half the disks (C: and G:), D: and E: return "The node (D:/) requested does not exist." Is there a permissions problem on the drives?
check_command check_ncpa!-t 'mytoken' -P 5693 -M 'disk/logical/D:|' -w 80 -c 90
Nagios® Core⢠Version 4.4.5
ncpa-2.1.9
Thanks for your help
Re: NCPA active disk check - The node (D:/) requested does n
Posted: Thu Oct 24, 2019 2:36 pm
by benjaminsmith
Hi Mark,
If you log into the web interface for NCPA, are you seeing any difference between the API and your check commands from Nagios? In other words, are the nodes available directly from the API. Please let me know.
Re: NCPA active disk check - The node (D:/) requested does n
Posted: Tue Oct 29, 2019 5:57 pm
by markbeaven
Thanks for your reply
https://localhost:5693/api/disk/logical/E:|
Code: Select all
{
"E:|": {
"used_percent": [
17.6,
"%"
],
"used": [
57.1,
"GiB"
],
"opts": "rw,fixed",
"total": [
325.26,
"GiB"
],
"device_name": [
"E:\\"
],
"free": [
268.16,
"GiB"
],
"fstype": "NTFS"
}
}
Appears to be the same as
https://localhost:5693/api/disk/logical/C:|
Code: Select all
{
"C:|": {
"used_percent": [
70.9,
"%"
],
"used": [
28.33,
"GiB"
],
"opts": "rw,fixed",
"total": [
39.99,
"GiB"
],
"device_name": [
"C:\\"
],
"free": [
11.66,
"GiB"
],
"fstype": "NTFS"
}
}
Re: NCPA active disk check - The node (D:/) requested does n
Posted: Wed Oct 30, 2019 12:28 am
by markbeaven
I have found my problem!
It's a real silly mistake ... when copying/pasting from the first server's configuration file, I changed everything except the IP address of the server I was poling
The first server had fewer drives to check, so, naturally, the D:\ and G:\ the new config file was trying to poll there were no nodes on the original server!
Thanks so much for your help and apologies for wasting your time
Re: [Solved] NCPA active disk check - The node (D:/) request
Posted: Wed Oct 30, 2019 8:10 am
by scottwilkerson
Great!
Locking thread