Ad Widget

Collapse

Remote Zabbix server health template [5.4.3] not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AkvenJan
    Junior Member
    • Jun 2021
    • 19

    #1

    Remote Zabbix server health template [5.4.3] not working

    I can't get Remote Zabbix server/proxy health Template to work.
    First of all, what should I put in {$ADDRESS} and {$PORT} macros? I tried ip of remote server and 10051 port
    I got "Cannot obtain internal statistics: Permission denied" error for values.
    What should I change in zabbix agent configuration or zabbix server configuration? I have Server and ServerActive set to my main Zabbix.

    I have several Zabbix servers, some of them with Zabbix Agent, some with Zabbix Agent 2 - template is not working on anyone of them.

    I tried to create a copy of template and correct it to use Zabbix Agent: zabbix.stats[<ip>,<port>] agent item instead of zabbix[stats,<ip>,<port>] internal item.
    Again, no permission.
    I tried to switch 10051 port to 10050 port - nothing

    Documentation (https://www.zabbix.com/documentation...s/remote_stats) is of no help as always, no examples, no specifics.
    There are no specifics in documentation for how to set the right settings for both remote server and agent.
  • AkvenJan
    Junior Member
    • Jun 2021
    • 19

    #2
    As I can see the main problem is
    "Cannot obtain internal statistics: Permission denied."
    for this item no matter how I try to pull it, using agent or internal item.
    So, where should I set what exactly for permissions to appear? I can't find anything on google or Zabbix wiki

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      Did you set StatsAllowedIP as documented?

      Comment

      • AkvenJan
        Junior Member
        • Jun 2021
        • 19

        #4
        Originally posted by Atsushi
        Did you set StatsAllowedIP as documented?
        Thanks, it's working now. Strange I didn't noticed it in documentation. Maybe they should quote it in some wiki syntax

        Comment

        • AkvenJan
          Junior Member
          • Jun 2021
          • 19

          #5
          By the way, I suppose I can't get statistics from older Zabbix servers? Like v3. Cause this parameter is supported since Zabbix 4.2.0

          Comment

          Working...