Zabbix enhancement talk

Playing with zabbix

I can find in the zabbix client and server log of the server

23733:20210307:094417.605 no active checks on server [127.0.0.1:10051]: host [Zabbix] not found

however the Zabbix host is well known

[root@zabbix ~]# host Zabbix
Zabbix.stephdl.dynu.net has address 192.168.xxx.xxx
Zabbix.stephdl.dynu.net has IPv6 address 2a01:cb19:8ec9:7000:901e:9aff:fe42:caa5

I did not find a nethserver-zabbix-client to install a client a nethserver with a encrypted client, could be fun.

I tried a nmap from the zabbix UI, it failed due to a sudo problem

in server log

 27109:20210307:095224.798 Failed to execute command "sudo /usr/bin/nmap -O 192.168.12.17": 
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

sudo: no tty present and no askpass program specified

Host name Enter a unique host name. Alphanumerics, spaces, dots, dashes and underscores are allowed.
Note: With Zabbix agent running on the host you are configuring, the agent configuration file parameter Hostname must have the same value as the host name entered here. The name in the parameter is needed in the processing of active checks.

Take a look at these links and check if they are of help:
http://blog.app4domain.com/2014/11/fix-zabbix-agent-no-active-checks-on.html
https://www.zabbix.com/forum/zabbix-help/45122-agent-server-active-check-not-working

1 Like

Check the permissions for the zabbix user on sudoers file.

https://www.zabbix.com/forum/zabbix-troubleshooting-and-problems/39539-sudo-no-tty-present-and-no-askpass-program-specified?p=258830#post258830

1 Like

fun to receive notifications by telegram :D, what do you use yourself ?

@stephdl

Salut Stéphane

These Webhook integrations are especially interesting for those using a TTS system like Zammad…
Problem already as a ticket in Zammad. :slight_smile:

My 2 cents
Andy