diff options
author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-03-26 19:43:40 +0000 |
---|---|---|
committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2003-03-26 19:43:40 +0000 |
commit | 0ee0d67fc9452eabf2a82ce87e10bc40c95f5216 (patch) | |
tree | 6657a90beba9e6c22bee8d59d4108f18a34ea0ca /src/zabbix_agent/diskdevices.h | |
parent | b8395b9b5ffbe0dcd2f25c395068f4c4e2617188 (diff) | |
download | zabbix-0ee0d67fc9452eabf2a82ce87e10bc40c95f5216.tar.gz zabbix-0ee0d67fc9452eabf2a82ce87e10bc40c95f5216.tar.xz zabbix-0ee0d67fc9452eabf2a82ce87e10bc40c95f5216.zip |
- added basice support of monitoring of disk stats (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@725 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_agent/diskdevices.h')
-rw-r--r-- | src/zabbix_agent/diskdevices.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/zabbix_agent/diskdevices.h b/src/zabbix_agent/diskdevices.h new file mode 100644 index 00000000..bc483fdd --- /dev/null +++ b/src/zabbix_agent/diskdevices.h @@ -0,0 +1,38 @@ +/* +** Zabbix +** Copyright (C) 2000,2001,2002,2003 Alexei Vladishev +** +** This program is free software; you can redistribute it and/or modify +** it under the terms of the GNU General Public License as published by +** the Free Software Foundation; either version 2 of the License, or +** (at your option) any later version. +** +** This program is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +** GNU General Public License for more details. +** +** You should have received a copy of the GNU General Public License +** along with this program; if not, write to the Free Software +** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +**/ + +#ifndef ZABBIX_DISKDEVICES_H +#define ZABBIX_DISKDEVICES_H + +#define MAX_DISKDEVICES 8 + +#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_stats_diskdevices(FILE *outfile); + +#endif |