Ad Widget

Collapse

Zabbix agent is not available

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jack0
    Junior Member
    • Mar 2022
    • 21

    #1

    Zabbix agent is not available

    Hello everyone,

    I have a little question, i have to monitor a Windows Server with MSSQL on it, but when i install the agent (i did it on another Windows server and i don't have any problems with it) in my dashboard they appear as unavailable (the little box is grey ).
    So my question is what's the matter with my agent.
    here the configuration

    Click image for larger version

Name:	1.png
Views:	13705
Size:	60.9 KB
ID:	447878

    and on the agent side i configured

    server = <my ip zabbix>
    Listenport = 10050
    ServerActive = <my ip zabbix>:10051
    Hostname = <my hostname>

    the two hostname match and i do receive data but not all data.

    What did i do wrong ?
  • Answer selected by Jack0 at 15-07-2022, 08:08.
    Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    AFAIK even a single working passive item on a host will get the host status to green (talking about Zabbix 6.0 or older here), so that's why some of your "active" agents are green.

    Markku

    Comment


    • Jack0
      Jack0 commented
      Editing a comment
      Understood i need to have a least one PASSIVE agent working to have the status in green.
      Thanx a lot ! even if its a stupid question
  • Markku
    Senior Member
    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
    • Sep 2018
    • 1781

    #2
    Search for "zabbix agent grey" or read the documentation (https://www.zabbix.com/documentation...guration/hosts) and you'll see that active agent status is not ever going to go green in Zabbix 6.0 or older.

    Also see what's new in Zabbix 6.2: https://www.zabbix.com/documentation...t-availability

    If you also have passive items and they are not working, normal troubleshooting steps apply: why doesn't server reach the agent (see the logs of the server and agent).

    Markku

    Comment

    • vladimir_lv
      Senior Member
      • May 2022
      • 240

      #3
      Hi!
      Can you see this Windows Server data in the Latest data? Have you used the Zabbix proxy?

      Comment


      • Jack0
        Jack0 commented
        Editing a comment
        i do receive data in the latest data but there refresh time is not matching the configuration --> like for the the cpu its supposed to refresh every minutes but when i check the data the latest refresh is 2 minutes, no i used zabbix agent, never used zabbix proxy
        Last edited by Jack0; 14-07-2022, 10:30.
    • Jack0
      Junior Member
      • Mar 2022
      • 21

      #4
      Thanx for your answer Markku, i've checked the log and they said my client can't connect to my server --> i corriged
      i don't understand cause i have some other host (on linux) and they do have the green box
      Click image for larger version  Name:	2.png Views:	0 Size:	53.8 KB ID:	447891
      also i've read the doc but they said is gray if the interface is unknow but i do receive data from the active check.
      i do have passif item for mssql but one step at a time
      Last edited by Jack0; 14-07-2022, 10:29.

      Comment

      • Markku
        Senior Member
        Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
        • Sep 2018
        • 1781

        #5
        AFAIK even a single working passive item on a host will get the host status to green (talking about Zabbix 6.0 or older here), so that's why some of your "active" agents are green.

        Markku

        Comment


        • Jack0
          Jack0 commented
          Editing a comment
          Understood i need to have a least one PASSIVE agent working to have the status in green.
          Thanx a lot ! even if its a stupid question
      Working...