Ad Widget

Collapse

Host with low items got from a Template OS Windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marafado88
    Junior Member
    • Mar 2018
    • 27

    #1

    Host with low items got from a Template OS Windows

    Hello,

    I have two Windows hosts, one with Windows Server 2008 (with agent 3.4.6) and another with Window Server 2012 (with agent 3.4.6), using Template OS Windows, where I am getting around 200 items from those devices. Both working in passive mode.

    Recently I added a new Windows host, with Windows Server 2019, where I added Template Os Windows, but after a while I notice that there was just a few items received. Tried with four versions of agents, 3.0.31, 4.4.10, 5.0.8 and 5.2.4 but not success.

    I am using Zabbix 4.0.27.

    Should I use only the old 3.4.6 agent?

    If you need more info just let me know.
  • marafado88
    Junior Member
    • Mar 2018
    • 27

    #2
    On agent side seems ok:

    Code:
    7348:20210216:101145.118 Starting Zabbix Agent [X-SERVER]. Zabbix 3.4.6 (revision 76819). 7348:20210216:101145.119 **** Enabled features **** 7348:20210216:101145.121 IPv6 support: YES 7348:20210216:101145.123 TLS support: NO 7348:20210216:101145.124 ************************** 7348:20210216:101145.125 using configuration file: C:\Program Files\Zabbix Agent\conf\zabbix_agentd.win.conf 7348:20210216:101145.128 agent #0 started [main process] 3728:20210216:101145.130 agent #1 started [collector] 6784:20210216:101145.133 agent #2 started[listener #1] 4712:20210216:101145.134 agent #3 started[listener #2] 7856:20210216:101145.136 agent #4 started[listener #3]
    On Server side, on the specific host I have 3 discovery rules (Mounted filesystem discovery, network interface discovery and windows service discovery) with status of not supported, where in info I have:

    Cannot find the "data" array in the received JSON object.

    On agent side seems ok:

    Code:
    7348:20210216:101145.118 Starting Zabbix Agent [X-SERVER]. Zabbix 3.4.6 (revision 76819). 7348:20210216:101145.119 **** Enabled features **** 7348:20210216:101145.121 IPv6 support: YES 7348:20210216:101145.123 TLS support: NO 7348:20210216:101145.124 ************************** 7348:20210216:101145.125 using configuration file: C:\Program Files\Zabbix Agent\conf\zabbix_agentd.win.conf 7348:20210216:101145.128 agent #0 started [main process] 3728:20210216:101145.130 agent #1 started [collector] 6784:20210216:101145.133 agent #2 started[listener #1] 4712:20210216:101145.134 agent #3 started[listener #2] 7856:20210216:101145.136 agent #4 started[listener #3]
    On Server side, on the specific host I have 3 discovery rules (Mounted filesystem discovery, network interface discovery and windows service discovery) with status of not supported, where in info I have:

    Cannot find the "data" array in the received JSON object.

    Using zabbix_get, I got (tried with those 3):

    Code:
    PS C:\Program Files\Zabbix Agent> .\zabbix_get.exe -s [URL="https://127.0.0.1/"]127.0.0.1[/URL] -k service.discovery
    
    zabbix_get.exe [9220]: Get value error: cannot connect to [[[URL="https://127.0.0.1/"]127.0.0.1[/URL]]:10050]: Connection refused.
    But using zabbix_agentd:

    Code:
    PS C:\Program Files\Zabbix Agent> .\zabbix_agentd.exe -t vfs.fs.discovery
    I was able to get a JSON output in those 3. There was no errors, all raw data.

    Could it be a template issue or even zabbix server version issue?
    Using zabbix_get, I got (tried with those 3):

    Code:
    PS C:\Program Files\Zabbix Agent> .\zabbix_get.exe -s 127.0.0.1 -k service.discovery
    
    zabbix_get.exe [9220]: Get value error: cannot connect to [[127.0.0.1]:10050]: Connection refused.
    But using zabbix_agentd:

    Code:
    PS C:\Program Files\Zabbix Agent> .\zabbix_agentd.exe -t vfs.fs.discovery
    I was able to get a JSON output in those 3. There was no errors, all raw data.

    Could it be a template issue or even zabbix server version issue?

    Comment

    Working...