62 |
|
information. As such, a packet will be rejected by the |
63 |
|
server if it does not specify the machine_name, its |
64 |
|
I.P. address (ip), a packet sequence number (seq_no) |
65 |
< |
and a date. Note that the data is a long integer |
65 |
> |
and a date. Note that the date is a long integer |
66 |
|
representing the number of seconds since the epoch. |
67 |
|
All of these are expected to be specified as an attribute |
68 |
|
of the packet tag. If they are not specified here, then |
126 |
|
load * |
127 |
|
memory * |
128 |
|
swap * |
129 |
< |
disk_free * |
130 |
< |
disk_total * |
129 |
> |
disk * |
130 |
|
users (attribute) |
131 |
|
|
132 |
|
* - These parameters are specified with tags of the same |
168 |
|
<load> |
169 |
|
<load1><load1> |
170 |
|
<load5><load5> |
171 |
< |
<load10><load10> |
171 |
> |
<load15><load15> |
172 |
|
</load> |
173 |
|
<memory> |
174 |
|
<free></free> |
178 |
|
<free></free> |
179 |
|
<total></total> |
180 |
|
</swap> |
181 |
< |
<disk_free> |
182 |
< |
<p1></p1> |
183 |
< |
<p2></p2> |
184 |
< |
<p3></p3> |
185 |
< |
</disk_free> |
186 |
< |
<disk_total> |
187 |
< |
<p1></p1> |
188 |
< |
<p2></p2> |
189 |
< |
<p3></p3> |
190 |
< |
</disk_total> |
181 |
> |
<disk> |
182 |
> |
<p0> |
183 |
> |
<free></free> |
184 |
> |
<total></total> |
185 |
> |
<mounted></mounted> |
186 |
> |
<label></label> |
187 |
> |
</p0> |
188 |
> |
<p1> |
189 |
> |
<free></free> |
190 |
> |
<total></total> |
191 |
> |
<mount></mount> |
192 |
> |
<label></label> |
193 |
> |
</p1> |
194 |
> |
</disk> |
195 |
|
</packet> |
196 |
|
|
197 |
|
Note that linefeeds and spaces would normally not be present. |
208 |
|
|
209 |
|
The <load> tag begins a list of system load information. |
210 |
|
The load tag is only expected to contain 3 subtags, named |
211 |
< |
"load1", "load5" and "load10". These represent the average |
212 |
< |
load 1 minutes ago, 5 minutes ago and 10 minutes ago |
211 |
> |
"load1", "load5" and "load15". These represent the average |
212 |
> |
load 1 minute ago, 5 minutes ago and 15 minutes ago |
213 |
|
respectively. |
214 |
|
|
215 |
|
The <memory> tag begins a list of system memory information. |
220 |
|
|
221 |
|
The <swap> tag is identical in nature to the <memory> tag. |
222 |
|
|
223 |
< |
The <disk_free> tag begins a list of free disk space |
224 |
< |
information. Each subtag must be of the form px, where |
225 |
< |
x is the number of the disk partition that is unique for |
226 |
< |
that particular system. The value represents how much |
227 |
< |
space is free on that partition. Note that px numbering |
228 |
< |
starts from zero. |
223 |
> |
The <disk> tag begins a list of partition information. |
224 |
> |
Each subtag must be of the form px, where x is the number |
225 |
> |
of the disk partition that is unique for that particular |
226 |
> |
system. Note that the numbering of px is expected to |
227 |
> |
start from zero. Each <px> tag contains the following |
228 |
> |
subtags: - |
229 |
> |
<free> - the free partition space in bytes. |
230 |
> |
<total> - the total partition size in bytes. |
231 |
> |
<mount> - the mount point, eg, "/var". |
232 |
> |
<label> - the label of the physical disk. |
233 |
|
|
234 |
|
The <disk_total> tag begins a list of total disk space, |
235 |
|
similar in implementation to the <disk_free> tag. |