On 7 July 2013 08:00, Tom Laermans tom.laermans@powersource.cx wrote:
Space looks OK to me, but I don't have large volumes (1.5TB is the largest) on my Windows machines.
Interestingly, it *seems* to be SNMP reporting an invalid valud.
From the debug output, I get this [snipped for brevity]
Array ( [hrstorage] => Array ( [2] => Array ( [hrStorageIndex] => 2 [hrStorageType] => hrStorageFixedDisk [hrStorageDescr] => D:\ Label:Data Serial Number 56547c7f [hrStorageAllocationUnits] => 4096 [hrStorageSize] => -17524993 [hrStorageUsed] => 1328911526 [hrStorageAllocationFailures] => 0
I sure as hell don't have -17 gigabytes of storage on this volume. And the used space isn't coming back right either.
I can send you the entire poller dump, if you like. It's just a bit large to paste into an email as text.
How are your other tools monitoring this? Can you perhaps post a debug poller log? (strip out the community) - I wonder if Windows is reporting it wrong or if we're doing it wrong.
NAGIOS seems to read it correctly, and it's only using SNMP V1
Output from Nagios' status shows
D:\ Drive Space OK 07-08-2013 07:41:59 131d 0h 26m 21s 1/3 d: - total: 16317.15 Gb - used: 5069.40 Gb (31%) - free 11247.75 Gb (69%)
Interestingly, Observium does report another volume with negative space, vis-a-vis
[5] => Array ( [hrStorageIndex] => 5 [hrStorageType] => hrStorageFixedDisk [hrStorageDescr] => G:\ Label:MPEGS Serial Number 28ba4922 [hrStorageAllocationUnits] => 1024 [hrStorageSize] => -1870052353 [hrStorageUsed] => 1885592566 [hrStorageAllocationFailures] => 0 )
and despite my earlier assertion that this one was reporting OK, it's wrong too - the graphs/status shows this volume as being 3.74 Tb, whereas it's really only 2.25 Tb.
As I said, I'm willing to email you the output of the poller debug (I just dumped it to a file) and the output of a raw snmpwalk as well.
Cheers.
DaZZa