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
[Solved] NCPA active disk check - The node (D:/) requested
- markbeaven
- Posts: 3
- Joined: Wed Oct 23, 2019 7:54 pm
[Solved] NCPA active disk check - The node (D:/) requested
Last edited by markbeaven on Wed Oct 30, 2019 12:30 am, edited 1 time in total.
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: NCPA active disk check - The node (D:/) requested does n
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.
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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
- markbeaven
- Posts: 3
- Joined: Wed Oct 23, 2019 7:54 pm
Re: NCPA active disk check - The node (D:/) requested does n
Thanks for your reply
https://localhost:5693/api/disk/logical/E:|
Appears to be the same as https://localhost:5693/api/disk/logical/C:|
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"
}
}
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"
}
}
- markbeaven
- Posts: 3
- Joined: Wed Oct 23, 2019 7:54 pm
Re: NCPA active disk check - The node (D:/) requested does n
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
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
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: [Solved] NCPA active disk check - The node (D:/) request
Great!
Locking thread
Locking thread