|
From: Tiago C. <tia...@gm...> - 2016-03-09 12:32:47
|
Solved!
* 'Item prototypes' changed from 'Agent (active)' to 'Zabbix Trapper'
* 'Item' varnish_backends_collect changed to 'Zabbix agent (active)'
End configuration:
- Discovery = varnish_backends = Zabbix agent = 600 seconds
- Item prototypes = varnish.backends[{#BACKEND},conn] = Zabbix trapper
- Item = varnish_backends_collect = Zabbix agent (active) = 120 seconds
The last flapping log is from yesterday:
20560:20160308:154433.256 item
"miami97.com:varnish.backends[bogota01,status]"
became supported
20560:20160308:154433.256 item
"miami97.com:varnish.backends[bogota02,status]"
became supported
20567:20160308:154435.467 item "miami97.com:varnish_backends_collect"
became supported
On Mon, Mar 7, 2016 at 3:24 PM, Tiago Cruz <tia...@gm...>
wrote:
> Hi Nicolas!
>
> On Mon, Mar 7, 2016 at 12:03 PM, Nicolas C. <za...@nr...> wrote:
>
>> On the page "items.php", if you fill the form with :
>>
>> Host : host4
>> State : Not supported
>>
>
> Nice tip! But all that I got was:
>
> Info: "Unsupported item key."
>
> This is the output of my collect. Plase, note the "sent: 4" without skip
> or fail:
>
> ```
> [tiago.cruz@barueri1 ~]$ sudo
> /movile/monitoring/varnish-backends-collect.sh debug
> info from server: "processed: 4; failed: 0; total: 4; seconds spent:
> 0.000068"
> sent: 4; skipped: 0; total: 4
> barueri1.com varnish.backends[maisapps_server,conn] 6
> barueri1.com varnish.backends[maisapps_server,status] Healthy
> barueri1.com varnish.backends[nginx,conn] 1
> barueri1.com varnish.backends[nginx,status] Healthy
> ```
>
> On the server, this is the strange thing:
>
> ```
> [tiago.cruz@zabbix ~]$ grep maisapps_server
> /var/log/zabbix/zabbix_server.log | grep 'became supported' | wc -l
> 58
> [tiago.cruz@zabbix ~]$ grep maisapps_server
> /var/log/zabbix/zabbix_server.log | grep 'became not supported' | wc -l
> 56
> ```
>
> And this is the "Last data:"
>
> ```
> barueri1.com: Varnish Backend maisapps_server Connections
> 2016-03-07 18:07:11 1457374031 4
> 2016-03-07 18:06:17 1457373977 4
> 2016-03-07 18:02:11 1457373731 5
> 2016-03-07 17:57:11 1457373431 5
> 2016-03-07 17:52:11 1457373131 6
> ```
>
> ```
> barueri1.com: Varnish Backend maisapps_server Status
> Timestamp Value
> 2016-03-07 18:12:11 Healthy
> 2016-03-07 18:07:11 Healthy
> 2016-03-07 18:06:17 Healthy
> 2016-03-07 18:02:11 Healthy
> 2016-03-07 17:57:11 Healthy
> 2016-03-07 17:52:11 Healthy
> ```
>
> Very strange.... any idea?
>
> Thanks!!
>
--
-- Tiago Cruz
|