| 288 |
|
@data = ( "packet.users.count:count:GAUGE", |
| 289 |
|
); |
| 290 |
|
&updaterrd($machine, "users", $date, $rrdstep, \%xmlhash, @data); |
| 291 |
< |
|
| 291 |
> |
|
| 292 |
> |
# paging |
| 293 |
> |
@data = ( "packet.pages.swapins:swapins:GAUGE", |
| 294 |
> |
"packet.pages.swapouts:swapouts:GAUGE", |
| 295 |
> |
); |
| 296 |
> |
&updaterrd($machine, "paging", $date, $rrdstep, \%xmlhash, @data); |
| 297 |
> |
|
| 298 |
|
# disk |
| 299 |
|
my($i) = 0; |
| 300 |
|
while(defined $xmlhash{"packet.disk.p$i.attributes.mount"}) { |
| 303 |
|
$mount =~ s/\//$hex_slash/g; |
| 304 |
|
@data = ( "packet.disk.p$i.attributes.kbytes:kbytes:GAUGE", |
| 305 |
|
"packet.disk.p$i.attributes.used:used:GAUGE", |
| 306 |
+ |
"packet.disk.p$i.attributes.totalinodes:totalinodes:GAUGE", |
| 307 |
+ |
"packet.disk.p$i.attributes.freeinodes:freeinodes:GAUGE", |
| 308 |
|
); |
| 309 |
|
&updaterrd($machine, "disk-$mount", $date, $rrdstep, \%xmlhash, @data); |
| 310 |
|
++$i; |