Ad Widget

Collapse

Zabbix Agent: Server parameter accepting CIDR notation?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pabloramos
    Junior Member
    • Feb 2021
    • 7

    #1

    Zabbix Agent: Server parameter accepting CIDR notation?

    Hi, folks. I need to monitor a web application infrastructure, so I put Zabbix in a container environment and I'm trying to do server communicates with agents. The server can be running in any node (of a Kubernetes cluster), so I can't set a fixed "Server" address in conf file of agents. In this doc, it says that we can use a CIDR notation to set the Server parameter of zabbix-agent. However, it seems that it's not working properly. See this entry in my log file:

    Code:
     1397:20210227:182525.046 failed to accept an incoming connection: connection from "10.107.11.10" rejected, allowed hosts: "10.107.11.0/24"
    The agent IP is inside the allowed hosts range. Why it's not working? Need I to config the "Server" parameter in another format?

    My server is in 5.2 version, and the agent is in 3.0.31 version.

    Thanks for any help.
  • pabloramos
    Junior Member
    • Feb 2021
    • 7

    #2
    Perfect. I hadn't realized how old client version was. Upgrading to the latest version did work. Thanks for your feedback.

    Regards.

    Comment

    Working...