Ad Widget

Collapse

Problem - Zabbix-Agent return

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DavidsonJr
    Junior Member
    • Jun 2020
    • 4

    #1

    Problem - Zabbix-Agent return

    Hello Guy's

    I have the following problem,

    When I execute the command through the zabbix-server, I get the return "does sure also" If I execute the command through where the agent is installed the return is correct, I would like to know why the zabbix-server does not work.

    EX:

    Zabbix-server

    [root@localhost ~]# zabbix_get -s 167.xxx.xx.xx -k user.opensipsctl.real.activecalls

    does
    sure
    also


    Server where zabbix agent install

    [root@localhost~]# zabbix_agentd -t user.opensipsctl.real.activecalls
    user.opensipsctl.real.activecalls [t|468]



  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    I can only think that user zabbix by which zabbix agent is most probably run, does not have permissions to read the active calls data. The words you get could be part of the error message, something like "the user does not have permissions...make sure... also check..."
    In order to test it properly run zabbix_agentd as user zabbix:
    Code:
    sudo -u zabbix zabbix_agentd -t user.opensipsctl.real.activecalls

    Comment

    Working...