[Solved] NCPA active disk check - The node (D:/) requested

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
User avatar
markbeaven
Posts: 3
Joined: Wed Oct 23, 2019 7:54 pm

[Solved] NCPA active disk check - The node (D:/) requested

Post 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
Last edited by markbeaven on Wed Oct 30, 2019 12:30 am, edited 1 time in total.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: NCPA active disk check - The node (D:/) requested does n

Post 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.
ncpa-api.png
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!
User avatar
markbeaven
Posts: 3
Joined: Wed Oct 23, 2019 7:54 pm

Re: NCPA active disk check - The node (D:/) requested does n

Post 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"
    }
}
User avatar
markbeaven
Posts: 3
Joined: Wed Oct 23, 2019 7:54 pm

Re: NCPA active disk check - The node (D:/) requested does n

Post 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 :oops:

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
scottwilkerson
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

Post by scottwilkerson »

Great!

Locking thread
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked