Bug#976285: please enable redis plugin

2020-12-03 Thread Felix Zielcke
Am Freitag, den 04.12.2020, 11:05 +1100 schrieb Dmitry Smirnov:
> On Thursday, 3 December 2020 6:12:01 PM AEDT Felix Zielcke wrote:
> > So what's missing to enable Agent 2?
> 
> I think Agent 2 is not the issue.

In the docs it's listed for Agent 2:

https://www.zabbix.com/documentation/5.0/manual/config/templates_out_of_the_box/zabbix_agent2

So I guess it's needed?

> > zabbix_get [2294402]: Check access restrictions in Zabbix agent
> > configuration
> 
> Agent will only respond to requests from hosts listed in "Server=".
> 

Yeah, I found it out now that it was using IPv6 even though only
127.0.0.1 was allowed:

# zabbix_get -s 127.0.0.1 -k redis.ping
ZBX_NOTSUPPORTED: Unsupported item key.



Bug#976285: please enable redis plugin

2020-12-03 Thread Dmitry Smirnov
On Thursday, 3 December 2020 6:12:01 PM AEDT Felix Zielcke wrote:
> So what's missing to enable Agent 2?

I think Agent 2 is not the issue.


> zabbix_get [2294402]: Check access restrictions in Zabbix agent
> configuration

Agent will only respond to requests from hosts listed in "Server=".

-- 
Regards,
 Dmitry Smirnov
 GPG key : 4096R/52B6BBD953968D1B

---

Every new set of discoveries raises a host of questions which we were never
before wise enough even to ask.
-- Carl Sagan

---

The Seven-Step Path from Pandemic to Totalitarianism There are just seven
steps from pandemic declaration to permanent totalitarianism – and many
jurisdictions are about to start Step 5.
-- 
https://off-guardian.org/2020/04/23/the-seven-step-path-from-pandemic-to-totalitarianism


signature.asc
Description: This is a digitally signed message part.


Bug#976285: please enable redis plugin

2020-12-02 Thread Felix Zielcke
Control: retitle -1  please enable Zabbix Agent 2

Am Donnerstag, den 03.12.2020, 13:10 +1100 schrieb Dmitry Smirnov:
> On Thursday, 3 December 2020 6:44:45 AM AEDT Felix Zielcke wrote:
> > it looks like Zabbix is compiled without the redis plugin.
> 
> No, it looks like there is no special support for Redis in zabbix-
> agent.
> 
> You probably need (Golang-based) Zabbix Agent 2, which is not
> provided
> by Debian package (yet).
> 

Thanks for your fast reply.
So what's missing to enable Agent 2?

> > From /usr/share/doc/zabbix-frontend-
> > php/templates/db/redis/README.md.gz
> > Test availability: `zabbix_get -s redis-master -k redis.ping`
> > 
> > # `zabbix_get -s redis-master -k redis.ping`
> > zabbix_get [2264555]: Get value error: cannot resolve [redis-
> > master]
> 
> That error indicates that your network have no "redis-master" host
> (or that there is no DNS record for it).
> 
> 
> > And the template indeed doestn't work.
> 
> That's hardly a surprise if "redis master" don't resolve...

Whoops. So I didn't read the docs fully.
But now I get a different error:

zabbix_get [2294402]: Check access restrictions in Zabbix agent
configuration

Well this isn't a support channel, so I'll try to find it out myself,
what's now wrong.

Thanks again for your answer.



Bug#976285: please enable redis plugin

2020-12-02 Thread Dmitry Smirnov
On Thursday, 3 December 2020 6:44:45 AM AEDT Felix Zielcke wrote:
> it looks like Zabbix is compiled without the redis plugin.

No, it looks like there is no special support for Redis in zabbix-agent.

You probably need (Golang-based) Zabbix Agent 2, which is not provided
by Debian package (yet).


> From /usr/share/doc/zabbix-frontend-php/templates/db/redis/README.md.gz
> Test availability: `zabbix_get -s redis-master -k redis.ping`
> 
> # `zabbix_get -s redis-master -k redis.ping`
> zabbix_get [2264555]: Get value error: cannot resolve [redis-master]

That error indicates that your network have no "redis-master" host
(or that there is no DNS record for it).


> And the template indeed doestn't work.

That's hardly a surprise if "redis master" don't resolve...

-- 
All the best,
 Dmitry Smirnov
 GPG key : 4096R/52B6BBD953968D1B

---

If liberty means anything at all, it means the right to tell people what
they do not want to hear.
-- George Orwell


signature.asc
Description: This is a digitally signed message part.


Bug#976285: please enable redis plugin

2020-12-02 Thread Felix Zielcke
Package: zabbix-agent
Version: 1:5.0.5+dfsg-1~bpo10+1
Severity: wishlist

Hello,

it looks like Zabbix is compiled without the redis plugin.

>From /usr/share/doc/zabbix-frontend-php/templates/db/redis/README.md.gz
Test availability: `zabbix_get -s redis-master -k redis.ping`

# `zabbix_get -s redis-master -k redis.ping`
zabbix_get [2264555]: Get value error: cannot resolve [redis-master]

And the template indeed doestn't work.

Would be nice to have redis support enabled.


-- System Information:
Debian Release: 10.6
  APT prefers stable
  APT policy: (510, 'stable'), (500, 'stable-updates'), (500, 
'proposed-updates'), (498, 'testing'), (497, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-12-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zabbix-agent depends on:
ii  adduser  3.118
ii  init-system-helpers  1.56+nmu1
ii  libc62.28-10
ii  libcurl3-gnutls  7.64.0-4+deb10u1
ii  libgnutls30  3.6.7-4+deb10u5
ii  libldap-2.4-22.4.56+dfsg-1~bpo10+1
ii  libpcre3 2:8.42-1+0~20190203125152.5+buster~1.gbp79d75d
ii  lsb-base 10.2019051400
ii  pciutils 1:3.5.2-1
ii  ucf  3.0038+nmu1
ii  zlib1g   1:1.2.11.dfsg-1

Versions of packages zabbix-agent recommends:
ii  usbutils  1:010-3

Versions of packages zabbix-agent suggests:
ii  logrotate  3.14.0-4

-- no debconf information