~ubuntu-dev/ubuntu/lucid/zabbix/lucid-201002110857

« back to all changes in this revision

Viewing changes to src/zabbix_agent/stats.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Ablassmeier
  • Date: 2007-07-02 09:06:51 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070702090651-8l6fl3fjw9rh6l2u
Tags: 1:1.4.1-2
Add patch from SVN in order to fix Incorrect processing of character '%'
in user parameters and remote commands.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef ZABBIX_STATS_H
21
21
#define ZABBIX_STATS_H
22
22
 
 
23
#include "threads.h"
 
24
#include "cpustat.h"
 
25
#include "perfstat.h"
23
26
#include "interfaces.h"
24
27
#include "diskdevices.h"
25
 
#include "cpustat.h"
26
 
 
27
 
void    collect_statistics();
 
28
 
 
29
typedef struct s_collector_data
 
30
{
 
31
        ZBX_CPUS_STAT_DATA      cpus;
 
32
        ZBX_INTERFACES_DATA     interfaces;
 
33
        ZBX_DISKDEVICES_DATA    diskdevices;
 
34
        ZBX_PERF_STAT_DATA      perfs;
 
35
} ZBX_COLLECTOR_DATA;
 
36
 
 
37
extern ZBX_COLLECTOR_DATA *collector;
 
38
 
 
39
ZBX_THREAD_ENTRY(collector_thread, pSemColectorStarted);
 
40
 
 
41
void    init_collector_data(void);
 
42
void    free_collector_data(void);
28
43
 
29
44
#endif