summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-03-26 16:13:21 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-03-26 16:13:21 +0000
commitb8395b9b5ffbe0dcd2f25c395068f4c4e2617188 (patch)
treeba895356ae231095943cf05c28b67975f44bf7a8 /src
parent10831062796a1cd5534717d989337f9c3059ce22 (diff)
downloadzabbix-b8395b9b5ffbe0dcd2f25c395068f4c4e2617188.tar.gz
zabbix-b8395b9b5ffbe0dcd2f25c395068f4c4e2617188.tar.xz
zabbix-b8395b9b5ffbe0dcd2f25c395068f4c4e2617188.zip
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@724 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src')
-rw-r--r--src/zabbix_agent/stats.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/zabbix_agent/stats.h b/src/zabbix_agent/stats.h
index 57fb9f92..fa912dc8 100644
--- a/src/zabbix_agent/stats.h
+++ b/src/zabbix_agent/stats.h
@@ -21,6 +21,7 @@
#define ZABBIX_STATS_H
#define MAX_INTERFACE 8
+#define MAX_DISKDEVICES 8
#define INTERFACE struct interface_type
INTERFACE
@@ -31,6 +32,17 @@ INTERFACE
float received[60*15];
};
+#define DISKDEVICE struct diskdevice_type
+DISKDEVICE
+{
+ char *device;
+ int clock[60*15];
+ float read_io_ops[60*15];
+ float blks_read[60*15];
+ float write_io_ops[60*15];
+ float blks_write[60*15];
+};
+
void collect_statistics();
#endif