I am trying to figure out using a probe for HDD_USAGE. I have seen a previous post regarding this and it suggested doing the following:
Create a new probe:
Type: function
Available: if(hdd_usage()>0, 1, -1)
Error: if(hdd_usage()<90, "", "Disk usage > 89%")
Value: hdd_usage()
Unit: %
Rate: none
Note: this probe uses the built in hdd_usage function, so for devices with multiple hard disks it looks at the average disk space usage. Of course, the above example is easily adapted for a specific hard drive. Just replace 'hdd_usage' with the appropriate oid("xxxxx") call.
This has worked ok except it looks like the probes are still working for HDD average. I have created 3 separate probes for 3 different disks. I then replaced the HDD_USAGE parameter with the Value parameter for the hard drive e.g: ‘C:\ Label:Oracle Serial Number 47565f0’ this works ok except when I replace the HDD_USAGE parameter in the error section. When I do this I get a notification that says ‘(parse failed)’.
What exactly is it that I have to do?