NSClient++ Help (#1) - Network Drive Size (#54) - Message List
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
mickem10/29/07 21:27:17 (6 years ago)-
Message #75
S: is a network drive that is accessible. Can you post line about checkDriveSize from your NSC.ini file?
anonymous10/30/07 10:05:37 (6 years ago)-
Message #76
The command I used was:
./check_nrpe -H 192.168.0.154 -c checkDriveSize -a FilterType=REMOTE ShowAll CheckAll
anonymous10/30/07 10:16:31 (6 years ago)-
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)"
Iriy10/30/07 11:46:28 (6 years ago)-
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
mickem11/03/07 16:43:54 (6 years ago)
-
-
-
-








