diff options
| author | guliver <guliver@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-02-01 15:06:08 +0000 |
|---|---|---|
| committer | guliver <guliver@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-02-01 15:06:08 +0000 |
| commit | bd1cb1231bdabecb7f96cfa3f51ad147bf07f2a1 (patch) | |
| tree | 8209f3655a40b64a5e07ba0e152ac82eda64c76d /include | |
| parent | c516c57fc707c8078edc2938b35e1bc5934637d3 (diff) | |
* added new metric: "system.boottime" to zabbix_agent
* added getPROC2() function (retrieve value from /proc file system by name)
git-svn-id: svn://svn.zabbix.com/trunk@3785 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include')
| -rw-r--r-- | include/sysinfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h index cd14b328..3de8519b 100644 --- a/include/sysinfo.h +++ b/include/sysinfo.h @@ -60,6 +60,7 @@ int get_stat(const char *key, unsigned flags, AGENT_RESULT *result); #ifdef HAVE_PROC int getPROC(char *file, int lineno, int fieldno, unsigned flags, AGENT_RESULT *result); +int getPROC2(char *file, char *param, int fieldno, unsigned flags, int type, AGENT_RESULT *result); #endif /* external system functions */ @@ -91,6 +92,7 @@ int SYSTEM_SWAP_SIZE(const char *cmd, const char *param, unsigned flags, AGE int SYSTEM_UNAME(const char *cmd, const char *param, unsigned flags, AGENT_RESULT *result); int SYSTEM_UNUM(const char *cmd, const char *param, unsigned flags, AGENT_RESULT *result); int SYSTEM_UPTIME(const char *cmd, const char *param, unsigned flags, AGENT_RESULT *result); +int SYSTEM_BOOTTIME(const char *cmd, const char *param, unsigned flags, AGENT_RESULT *result); int VFS_DEV_READ(const char *cmd, const char *param, unsigned flags, AGENT_RESULT *result); int VFS_DEV_WRITE(const char *cmd, const char *param, unsigned flags, AGENT_RESULT *result); int VFS_FILE_CKSUM(const char *cmd, const char *param, unsigned flags, AGENT_RESULT *result); |
