40-zabbix.html
23.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>4. zabbix监测系统 — watchmen 1.0 documentation</title>
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="5. 修订历史" href="99-history.html" />
<link rel="prev" title="3. elk日志系统" href="30-elk.html" />
<script src="_static/js/modernizr.min.js"></script>
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">
<a href="index.html" class="icon icon-home"> watchmen
</a>
<div class="version">
1.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<p class="caption"><span class="caption-text">Contents:</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="10-summary.html">1. 概述</a></li>
<li class="toctree-l1"><a class="reference internal" href="20-ansible.html">2. ansible集群管理工具</a></li>
<li class="toctree-l1"><a class="reference internal" href="30-elk.html">3. elk日志系统</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">4. zabbix监测系统</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#id1">4.1. 安装</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#docker">4.1.1. 使用docker安装/运行方式(建议使用此方式)</a></li>
<li class="toctree-l3"><a class="reference internal" href="#id2">4.1.2. 本地安装/运行方式(坑多)</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#id5">4.2. 配置</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#zabbix-agent">4.2.1. zabbix_agent配置</a></li>
<li class="toctree-l3"><a class="reference internal" href="#zabbix-proxy">4.2.2. zabbix_proxy配置</a></li>
<li class="toctree-l3"><a class="reference internal" href="#zabbix-server">4.2.3. zabbix_server配置</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#id6">4.3. 使用</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#quick-start">4.3.1. quick start</a></li>
<li class="toctree-l3"><a class="reference internal" href="#id7">4.3.2. 模板</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#id8">4.4. 自定义监测项</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#id9">4.4.1. 繁星增加自定义监测项典型流程</a></li>
<li class="toctree-l3"><a class="reference internal" href="#vproc">4.4.2. vproc</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#id10">4.5. 自定义监测项列表</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#vaserver">4.5.1. VAServer</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="99-history.html">5. 修订历史</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">watchmen</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html">Docs</a> »</li>
<li>4. zabbix监测系统</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/40-zabbix.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="section" id="zabbix">
<h1>4. zabbix监测系统<a class="headerlink" href="#zabbix" title="Permalink to this headline">¶</a></h1>
<div class="section" id="id1">
<h2>4.1. 安装<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h2>
<div class="section" id="docker">
<h3>4.1.1. 使用docker安装/运行方式(建议使用此方式)<a class="headerlink" href="#docker" title="Permalink to this headline">¶</a></h3>
<p>离线安装包: <a class="reference external" href="smb://192.168.9.1">smb://192.168.9.1</a>/公共模块/繁星/繁星二代/自检系统/(zabbix_agent_proxy_tx1、zabbix_docker)</p>
<p>有docker离线包zabbix_docker,拷贝到有docker的主机上,加载镜像:</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>docker load < postgres9.6.docker.images
<span class="c1"># 屏幕会返回镜像的id,假设是:id-1</span>
<span class="c1"># 给镜像命名</span>
docker tag id-1 postgres:9.6
<span class="c1"># 下面两个镜像不需要命名,如果load后运行docker images 发现名字和版本都是none,则手动命名</span>
docker load < zabbix-server-pgsql.docker.images
<span class="c1"># docker tag id-2 zabbix/zabbix-server-pgsql:ubuntu-3.4.13</span>
docker load < zabbix-web-nginx-pgsql.docker.images
<span class="c1"># docker tag id-3 zabbix/zabbix-web-nginx-pgsql:ubuntu-3.4.13</span>
<span class="c1"># 加载完毕,docker images应该能显示</span>
root@user-ubuntu:~/zabbix_docker# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
zabbix/zabbix-web-nginx-pgsql ubuntu-3.4.13 bf422197fafe <span class="m">4</span> weeks ago <span class="m">254</span> MB
zabbix/zabbix-server-pgsql ubuntu-3.4.13 af4434f6332b <span class="m">4</span> weeks ago <span class="m">224</span> MB
postgres <span class="m">9</span>.6 4023a747a01a <span class="m">20</span> months ago <span class="m">265</span> MB
</pre></div>
</div>
</div>
<div class="section" id="id2">
<h3>4.1.2. 本地安装/运行方式(坑多)<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
<p><a href="#id3"><span class="problematic" id="id4">**</span></a>此方法不同的机器上可能遇到不同的问题,下面的说明只能作为参考。 **</p>
<p>我用网上说的apt-get方式装,无法成功。web界面使用不正常,所以采用源码方式装。zabbix-3.4.13.tar.gz</p>
<p>环境依赖安装按照以下步骤:
<a class="reference external" href="https://blog.csdn.net/yannanxiu/article/details/54924198">https://blog.csdn.net/yannanxiu/article/details/54924198</a></p>
<p>zabbix-proxy zabbix-server zabbix-front-php 用源码安装,参考:
<a class="reference external" href="https://www.zabbix.com/documentation/3.4/zh/manual/installation/install">https://www.zabbix.com/documentation/3.4/zh/manual/installation/install</a></p>
<p>数据库安装,建立zabbix用户,建立zabbix数据库,运行zabbix-3.4.13/database/postgresql/中的3个脚本。命令行:</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>su postgres
createdb zabbix
createuser -SDRP zabbix
su root
cat ./zabbix-3.4.13/zabbix-3.4.13/database/postgresql/<span class="o">{</span>schema,images,data<span class="o">}</span>.sql.gz <span class="p">|</span> psql -h <span class="m">127</span>.0.0.1 zabbix postgres
</pre></div>
</div>
<p>或者带界面的postgres客户端做也行。自行选择</p>
<p>zabbix-fornt(web界面)</p>
<p># 从源码拷贝到apache2
sudo cp -r zabbix-3.4.13/frontends/php/ /var/www/html/zabbix</p>
<ul class="simple">
<li>zabbix_sender报错</li>
</ul>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>root@tegra-ubuntu:/home/ubuntu# zabbix_sender -s <span class="s2">"192.168.5.198"</span> -z <span class="s2">"192.168.5.133"</span> -k <span class="s2">"keytrtest"</span> -o <span class="s2">"1133"</span>
info from server: <span class="s2">"processed: 0; failed: 1; total: 1; seconds spent: 0.000026"</span>
这里failed: 1说明失败了。
</pre></div>
</div>
<p>注意看item的type必须是Zabbix trapper</p>
<p>server主动获取,在zabbix_agent.conf增加的item的type是Zabbix trapper</p>
</div>
</div>
<div class="section" id="id5">
<h2>4.2. 配置<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
<div class="section" id="zabbix-agent">
<h3>4.2.1. zabbix_agent配置<a class="headerlink" href="#zabbix-agent" title="Permalink to this headline">¶</a></h3>
<p><strong>需要在系统配置开机启动</strong></p>
<p>zabbix_agentd安装包是在tx1上编译的。zabbix_agent_proxy_tx1的install.sh会将配置文件拷贝到
/usr/local/etc/zabbix_agent.conf</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span><span class="c1"># 填写主节点ip</span>
<span class="nv">Server</span><span class="o">=</span><span class="m">192</span>.168.5.177
<span class="nv">ServerActive</span><span class="o">=</span><span class="m">192</span>.168.5.177
<span class="c1"># 主节点运行的是proxy,在默认情况下这样填写</span>
<span class="nv">Hostname</span><span class="o">=</span>Zabbix proxy
<span class="nv">AllowRoot</span><span class="o">=</span><span class="m">1</span>
</pre></div>
</div>
<p>修改完重启进程</p>
</div>
<div class="section" id="zabbix-proxy">
<h3>4.2.2. zabbix_proxy配置<a class="headerlink" href="#zabbix-proxy" title="Permalink to this headline">¶</a></h3>
<p><strong>需要在系统配置开机启动</strong></p>
<p>zabbix_proxy安装包是在tx1上编译的。zabbix_agent_proxy_tx1的install.sh会将配置文件拷贝到
/usr/local/etc/zabbix_proxy.conf</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span><span class="c1"># zabbix_server主机ip</span>
<span class="nv">Server</span><span class="o">=</span><span class="m">192</span>.168.9.133
<span class="c1"># 需和zabbix_agent配置的Hostname对应</span>
<span class="nv">Hostname</span><span class="o">=</span>Zabbix proxy
<span class="c1"># zabbix_proxy数据库目录,如果是使用install.sh脚本安装的,会放在/root/UserApp下。</span>
<span class="nv">DBName</span><span class="o">=</span>/root/UserApp/zabbix_proxy.db
<span class="c1"># 多长间隔从zabbix_server拉取配置(秒)</span>
<span class="nv">ConfigFrequency</span><span class="o">=</span><span class="m">120</span>
<span class="nv">AllowRoot</span><span class="o">=</span><span class="m">1</span>
</pre></div>
</div>
</div>
<div class="section" id="zabbix-server">
<h3>4.2.3. zabbix_server配置<a class="headerlink" href="#zabbix-server" title="Permalink to this headline">¶</a></h3>
<p><strong>需要在系统配置开机启动</strong></p>
<p>zabbix_server在docker运行,在每次启动容器的时候会将必要参数传入,zabbix_docker/dockerrun_zabbix.sh已写好,运行即可</p>
</div>
</div>
<div class="section" id="id6">
<h2>4.3. 使用<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
<p>访问路径: <a class="reference external" href="http://ip:9210">http://ip:9210</a></p>
<p>第一次运行会有一些额外步骤,按照提示下一步即可</p>
<div class="section" id="quick-start">
<h3>4.3.1. quick start<a class="headerlink" href="#quick-start" title="Permalink to this headline">¶</a></h3>
<p>添加proxy,注意Proxy name必须和 zabbix_proxy配置中的Hostname相同。其他配置默认即可。点add添加成功</p>
<img alt="_images/zabbix-01.png" src="_images/zabbix-01.png" />
<p>添加host,Configuration->Hosts->Create host</p>
<img alt="_images/zabbix-02.png" src="_images/zabbix-02.png" />
<p>红框都是需要填写修改的。Groups可以自己建,给设备分组。Monitored by proxy必须选择正确的proxy代理</p>
<img alt="_images/zabbix-03.png" src="_images/zabbix-03.png" />
<p>点Template配置模板,模板决定了有哪些监测项。select选择一个模板,模板后续我们会自己创建,这里先选择Template OS Linux,包含了很多linux的监测项
点小add后再点大add</p>
<img alt="_images/zabbix-04.png" src="_images/zabbix-04.png" />
<p>添加成功</p>
<p>Dashboard可以浏览状态、报警等,Edit dashboard可以自定义。比如Problems中提示我的主机掉线了。</p>
<img alt="_images/zabbix-05.png" src="_images/zabbix-05.png" />
<p>如果想有目的的查询监测项状态,可以打开Monitoring->Lastest data。可以在过滤条件选择感兴趣的主机和检测项组
可以看到最后的值,可以点Graph看数值历史折线图。</p>
<img alt="_images/zabbix-06.png" src="_images/zabbix-06.png" />
<img alt="_images/zabbix-07.png" src="_images/zabbix-07.png" />
<p>这是最基本的使用,后续添加如何自定义监测项,利用api批量添加主机、动态管理监测项等功能。</p>
</div>
<div class="section" id="id7">
<h3>4.3.2. 模板<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h3>
<p>繁星2代模板已放在sdv上 <a class="reference external" href="smb://192.168.9.1">smb://192.168.9.1</a>/公共模块/繁星/繁星二代/自检系统/zabbix_template</p>
</div>
</div>
<div class="section" id="id8">
<h2>4.4. 自定义监测项<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h2>
<p>zabbix的监测项有两种:</p>
<ol class="arabic simple">
<li>上报型</li>
</ol>
<p>zabbix item type选择 traper。需配合zabbix_sender使用</p>
<ol class="arabic simple" start="2">
<li>查询型</li>
</ol>
<p>zabbix item type选择 agent</p>
<p>如果没有特殊需求,均采用查询型,走vproc流程。</p>
<p>应用程序使用vproc将状态写到文件,zabbix_agentd用vproc查询各状态的值,采用这种方式的原因:</p>
<ul class="simple">
<li>zabbix的交互压力可控,查询频率在web上配一下就好了。</li>
<li>应用程序写状态的操作与zabbix解耦。即使没有zabbix,我们在调试程序时也可以使用vproc,可以用命令行查询检测项的值。有助于调试</li>
</ul>
<p>vproc后面章节有详细介绍</p>
<div class="section" id="id9">
<h3>4.4.1. 繁星增加自定义监测项典型流程<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h3>
<p>细节可以自行百度“zabbix增加自定义item”</p>
<p>界面上操作可参考:<a class="reference external" href="https://blog.csdn.net/u012062455/article/details/53257059">https://blog.csdn.net/u012062455/article/details/53257059</a></p>
<p>zabbix_agentd端操作可参考:<a class="reference external" href="https://www.cnblogs.com/mingerlcm/p/7754076.html">https://www.cnblogs.com/mingerlcm/p/7754076.html</a></p>
<p>以繁星2代为例。假设我们要在slave模板中增加vaserver的“进程号”、“是否授权”两个监测项。</p>
<ol class="arabic simple">
<li>在zabbix web端增加检测项</li>
</ol>
<p>监测项是添加到模板中的,添加后所有使用该模板的主机均生效,修改starnet_tx1_slave_tp模板</p>
<ul class="simple">
<li>点击Configuration->Template 。</li>
<li>点击starnet_tx1_slave_tp行的items。</li>
<li>点右上角的Create item</li>
<li>填写具体信息并保存</li>
</ul>
<ol class="arabic simple" start="2">
<li>在zabbix_agentd端配置</li>
</ol>
<ul class="simple">
<li>确保/usr/local/etc/zabbix_agentd.conf中有配置</li>
</ul>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span><span class="nv">UnsafeUserParameters</span><span class="o">=</span><span class="m">1</span>
<span class="nv">Include</span><span class="o">=</span>/usr/local/etc/zabbix_agentd.conf.d/*.conf
</pre></div>
</div>
<ul class="simple">
<li>在/usr/local/etc/zabbix_agentd.conf.d/vaserver.conf增加命令行,如果没有可新建文件</li>
</ul>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span><span class="c1"># UserParameter=后面是key值,必须跟web上配置的相同。逗号后面的是查询这个值所执行的指令。</span>
<span class="c1"># 进程号很简单,shell命令就能搞定</span>
<span class="nv">UserParameter</span><span class="o">=</span>vaserver.pid,pgrep VAServer
<span class="c1"># license状态是需要应用程序开发者写入到vproc系统中(/root/UserApp/vproc/vaserver/license文件内容)的。在这里用vproc工具进行查询。如果没查到,返回0</span>
<span class="nv">UserParameter</span><span class="o">=</span>vaserver.license,vproc <span class="nb">read</span> --key<span class="o">=</span>vaserver.license --value<span class="o">=</span><span class="m">0</span>
</pre></div>
</div>
<ol class="arabic simple" start="3">
<li>重启zabbix_agentd。过一会在web上就能看到了。</li>
</ol>
</div>
<div class="section" id="vproc">
<h3>4.4.2. vproc<a class="headerlink" href="#vproc" title="Permalink to this headline">¶</a></h3>
<p>vproc是python编写的工具</p>
<p>类似linux proc系统,应用程序调用vproc脚本将监测项状态值持续更新到指定文件中。外部可读取文件值,得知应用程序的运行情况。</p>
<p>vproc工具有3种用法。</p>
<ul class="simple">
<li>写:</li>
</ul>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span><span class="c1"># 此命令将创建文件 ROOT_VPROC/app/group1/group2/item,文件内容为value1</span>
./vproc write --key<span class="o">=</span>app.group1.gourp2.item --value<span class="o">=</span>value1
</pre></div>
</div>
<ul class="simple">
<li>读:</li>
</ul>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span><span class="c1"># 将ROOT_VPROC/app/group1/group2/item文件内容打印出来</span>
./vproc <span class="nb">read</span> --key<span class="o">=</span>app.group1.gourp2.item
</pre></div>
</div>
<ul class="simple">
<li>重置:</li>
</ul>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span><span class="c1"># 删除ROOT_VPROC/app/group1/目录。相当于重置状态值</span>
./vproc clean --path<span class="o">=</span>app.group1
</pre></div>
</div>
<p>所有key值均采用 app.[group1.gourp2…groupn].item方式组织。末端item为文件,记录监测项的值,前面是多级目录。比如key值vaserver.va0.cameraname,记录状态值的文件为VPORC_ROOT/vaserver/va0/cameraname。</p>
<p>单个监测项更新状态频率不宜过快。建议间隔时间1分钟以上</p>
<p><strong>注意</strong>: 建议在程序(以及能代表一组的流程)启动时、关闭时重置状态,<strong>避免旧的状态值干扰</strong>。拿vaserver举例:</p>
<p>有vaserver.event_count(发出了多少事件) ; vaserver.va0.taskname(分析通道0的任务名称); vaserver.va1.taskname</p>
<p>vaserver启动和退出时应调用</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>./vproc clean --path<span class="o">=</span>vaserver
</pre></div>
</div>
<p>vaserver启动、关闭一个va时(假设是编号0)应调用</p>
<div class="highlight-shell notranslate"><div class="highlight"><pre><span></span>./vproc clean --path<span class="o">=</span>vaserver.va0
</pre></div>
</div>
</div>
</div>
<div class="section" id="id10">
<h2>4.5. 自定义监测项列表<a class="headerlink" href="#id10" title="Permalink to this headline">¶</a></h2>
<div class="section" id="vaserver">
<h3>4.5.1. VAServer<a class="headerlink" href="#vaserver" title="Permalink to this headline">¶</a></h3>
<table border="1" class="docutils">
<colgroup>
<col width="43%" />
<col width="8%" />
<col width="48%" />
</colgroup>
<thead valign="bottom">
<tr class="row-odd"><th class="head">key</th>
<th class="head">类型</th>
<th class="head">说明</th>
</tr>
</thead>
<tbody valign="top">
<tr class="row-even"><td>vaserver.va0.taskname</td>
<td>Text</td>
<td>任务名称</td>
</tr>
<tr class="row-odd"><td>vaserver.va0.taskid</td>
<td>Text</td>
<td>任务id</td>
</tr>
<tr class="row-even"><td>vaserver.va0.cameraname</td>
<td>Text</td>
<td>相机名称</td>
</tr>
<tr class="row-odd"><td>vaserver.va0.cameraid</td>
<td>Text</td>
<td>相机id</td>
</tr>
<tr class="row-even"><td>vaserver.va0.playok</td>
<td>int</td>
<td>是否点播成功,实际接收到流后再更新状态</td>
</tr>
<tr class="row-odd"><td>vaserver.va0.sendresultcount</td>
<td>int</td>
<td>对外发送了多少条结果,1分钟更新一次</td>
</tr>
<tr class="row-even"><td><p class="first">vaserver.va[1…n].bigtaskname</p>
<p>…</p>
<p class="last">vaserver.va[1…n].sendresultcount</p>
</td>
<td>同va0</td>
<td>同va0</td>
</tr>
<tr class="row-odd"><td>vaserver.license</td>
<td>int</td>
<td>授权状态,check license后更新</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="99-history.html" class="btn btn-neutral float-right" title="5. 修订历史" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="30-elk.html" class="btn btn-neutral" title="3. elk日志系统" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>
© Copyright 2018, liuhang.
</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
VERSION:'1.0',
LANGUAGE:'None',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/js/theme.js"></script>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>