Ad Widget

Collapse

Zabbix server hostname

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JanCZ
    Junior Member
    • Jan 2018
    • 22

    #1

    Zabbix server hostname

    Hello, quick question:

    I have a problem with setting active checks on agent with following error:

    682:20180123:151700.526 no active checks on server [********:10051]: host [Zabbix server] not monitored

    I know that this is most probably due to difference in hostname in zabbix_agent.conf and frontend hostname of the server. Is there a quick way to check what is the frontend hostname i should use? It seems that simple that iam unable to find the answer. I tried to supplement the itstelf machine hostname from /etc/hostname, same output

    1135:20180123:152916.987 no active checks on server [:10051]: host [debian] not found


    I was over thinking, it was really a Hostname in Host setting directly in the Configruation-Hosts in zabbix web-interface. Now it seems OK, problem is i dont see any values incrementing in the Latest Data tab, using Linux OS monitoring. Iam trying to monitor virtual machine, but non of active checks is receiving any data it seems Example of agent output

    1130:20180123:153425.099 Zabbix Agent stopped. Zabbix 3.4.6 (revision 76823).
    1224:20180123:153425.115 Starting Zabbix Agent [debian]. Zabbix 3.4.6 (revision 76823).
    1224:20180123:153425.115 **** Enabled features ****
    1224:20180123:153425.115 IPv6 support: YES
    1224:20180123:153425.115 TLS support: YES
    1224:20180123:153425.115 **************************
    1224:20180123:153425.115 using configuration file: /etc/zabbix/zabbix_agentd.conf
    1224:20180123:153425.115 agent #0 started [main process]
    1229:20180123:153425.116 agent #5 started [active checks #1]
    1228:20180123:153425.118 agent #4 started[listener #3]
    1227:20180123:153425.119 agent #3 started[listener #2]
    1226:20180123:153425.121 agent #2 started[listener #1]
    1225:20180123:153425.123 agent #1 started [collector]
    Last edited by JanCZ; 23-01-2018, 16:41.
  • wick
    Member
    • May 2017
    • 57

    #2
    Hi,

    I'm not sure but i think you need to comment out this line:

    Code:
    ### Option: StartTrappers
    #       Number of pre-forked instances of trappers.
    #       Trappers accept incoming connections from Zabbix sender, active agents and active proxies.
    #       At least one trapper process must be running to display server availability and view queue
    #       in the frontend.
    #
    # Mandatory: no
    # Range: 0-1000
    # Default:
    StartTrappers=5
    and put it like it.

    Comment

    • JanCZ
      Junior Member
      • Jan 2018
      • 22

      #3
      Thank you, i tried lot of things, also added ListedIP=ip of server with agent, but it did not help, then i checked SERVER logs and found error

      PGRES_FATAL_ERROR:ERROR: schema "partitions" does not exist

      I fixed it by re-exectuing sql made from

      Join the friendly and open Zabbix community on our forums and social media platforms.


      and restarted the whole server since i lost overview if all necessary proceses are restarted after config changes and VOILA it works nicely. Sorry to bother you guys Mabye it will be helpful to someone in future

      Comment

      Working...