Citation :
# Service type: single disk
# output:DISK OK - free space: /tmp 663 MB (90%):
/output:DISK.*free space: (\S+) (\d+) MB \((\d+)\%\)/
and push @s, [ $1,
[ bytesfree, GAUGE, $2*1024**2 ],
[ bytesmax, GAUGE, $3 ? $2*1024**2/$3*100 : 'U' ],
[ pctfree, GAUGE, $3 ] ];
|