diff options
Diffstat (limited to 'plugin/nfs.php')
-rw-r--r-- | plugin/nfs.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugin/nfs.php b/plugin/nfs.php index be131c2..24a61a8 100644 --- a/plugin/nfs.php +++ b/plugin/nfs.php | |||
@@ -17,23 +17,20 @@ $obj->data_sources = array('value'); | |||
17 | switch($obj->args['pinstance']) { | 17 | switch($obj->args['pinstance']) { |
18 | case 'v2client': | 18 | case 'v2client': |
19 | $obj->order = array('create', 'fsstat', 'getattr', 'link', 'lookup', 'mkdir', 'null', 'readdir', 'readlink', 'read', 'remove', 'rename', 'rmdir', 'root', 'setattr', 'symlink', 'wrcache', 'write'); | 19 | $obj->order = array('create', 'fsstat', 'getattr', 'link', 'lookup', 'mkdir', 'null', 'readdir', 'readlink', 'read', 'remove', 'rename', 'rmdir', 'root', 'setattr', 'symlink', 'wrcache', 'write'); |
20 | $obj->generate_colors(); | ||
21 | break; | 20 | break; |
22 | 21 | ||
23 | case 'v3client': | 22 | case 'v3client': |
24 | $obj->order = array('access', 'commit', 'create', 'fsinfo', 'fsstat', 'getattr', 'link', 'lookup', 'mkdir', 'mknod', 'null', 'pathconf', 'read', 'readdir', 'readdirplus', 'readlink', 'remove', 'rename', 'rmdir', 'setattr', 'symlink', 'write'); | 23 | $obj->order = array('access', 'commit', 'create', 'fsinfo', 'fsstat', 'getattr', 'link', 'lookup', 'mkdir', 'mknod', 'null', 'pathconf', 'read', 'readdir', 'readdirplus', 'readlink', 'remove', 'rename', 'rmdir', 'setattr', 'symlink', 'write'); |
25 | $obj->generate_colors(); | ||
26 | |||
27 | break; | 24 | break; |
28 | |||
29 | |||
30 | } | 25 | } |
26 | |||
31 | $obj->width = $width; | 27 | $obj->width = $width; |
32 | $obj->heigth = $heigth; | 28 | $obj->heigth = $heigth; |
33 | 29 | ||
34 | $obj->rrd_title = sprintf('NFS-%s Procedures', $obj->args['pinstance']); | 30 | $obj->rrd_title = sprintf('NFS-%s Procedures', $obj->args['pinstance']); |
35 | $obj->rrd_vertical = 'Procedures'; | 31 | $obj->rrd_vertical = 'Procedures'; |
36 | $obj->rrd_format = '%5.2lf'; | 32 | $obj->rrd_format = '%5.2lf'; |
33 | $obj->generate_colors(); | ||
37 | 34 | ||
38 | collectd_flush($obj->identifiers); | 35 | collectd_flush($obj->identifiers); |
39 | $obj->rrd_graph(); | 36 | $obj->rrd_graph(); |