NSClient++ Help (#1) - Network Drive Size (#54) - Message List

Network Drive Size

Can’t determine network drive size. It checks only local disks and ignores network drives. I added FilterType?=REMOTE, and it say’s UNKNOWN: Could not get free space for: s: "s:" reason: 3

Someone can help?

  • Message #74

    What kind of drive is "s" and is it accessible? (3 means "Not found")

    When I do the same here it works splendidly on a network drive:

    ./check_nrpe -H 192.168.0.154 -c checkDriveSize -a FilterType=REMOTE ShowAll CheckAll
    OK: X:\: 3.14G
    
    • Message #75

      S: is a network drive that is accessible. Can you post line about checkDriveSize from your NSC.ini file?

      • Message #76

        The command I used was:

        ./check_nrpe -H 192.168.0.154 -c checkDriveSize -a FilterType=REMOTE ShowAll CheckAll
        
        • Message #77

          Here what I have in .ini file:

          check_disk=inject CheckDriveSize MinCritFree?=$ARG1$ Drive=$ARG2$ check_net_disk=inject CheckDriveSize FilterType?=REMOTE MinCritFree?=$ARG1$ Drive=$ARG2$

          The check_disk is working grate for all local disks, but "reason 3" for network disk. Check_net_disk returns me "UNKNOWN: Drive does not match the current filter: s: (it is a: 1)"

          • Message #81

            Humm...

            Have checked this and your command works splendidly here.

            ./check_nrpe -H 192.168.0.147 -c check_disk -a 3g x
            UNKNOWN: Drive is not a fixed drive: x: (it is a remote drive)
            ./check_nrpe -H 192.168.0.147 -c check_net_disk -a 3g x
            OK: All drives within bounds.|'x:'=3436044288;14757395258967641292;0;
            

            Could yopu try the "next" nightly (it has a bit better error messages here, but all in all I would try to see if there might be some other issues, like wrong path, access, etc etc)

            MickeM

Subscriptions