ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/rrdgraphing/watch.pl
(Generate patch)

Comparing projects/cms/source/reports/rrdgraphing/watch.pl (file contents):
Revision 1.3 by tdb, Tue May 21 15:01:43 2002 UTC vs.
Revision 1.5 by tdb, Mon Oct 21 13:02:58 2002 UTC

# Line 2 | Line 2
2  
3   #
4   # i-scream central monitoring system
5 + # http://www.i-scream.org.uk
6   # Copyright (C) 2000-2002 i-scream
7   #
8   # This program is free software; you can redistribute it and/or
# Line 287 | Line 288 | sub processdata() {
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"}) {
# Line 296 | Line 303 | sub processdata() {
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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines