<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Configure Zabbix with Ansible	</title>
	<atom:link href="https://www.dbi-services.com/blog/configure-zabbix-with-ansible/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbi-services.com/blog/configure-zabbix-with-ansible/</link>
	<description></description>
	<lastBuildDate>Mon, 16 Jun 2025 08:17:19 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Aurélien Py		</title>
		<link>https://www.dbi-services.com/blog/configure-zabbix-with-ansible/#comment-4041</link>

		<dc:creator><![CDATA[Aurélien Py]]></dc:creator>
		<pubDate>Mon, 16 Jun 2025 08:17:19 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbi-services.com/blog/?p=30881#comment-4041</guid>

					<description><![CDATA[It seems that the password for authentication is missing.
Can you try adding this line under ansible_user: 
ansible_httpapi_pass: your_password

Here is the ansible doc with examples: 
https://docs.ansible.com/ansible/latest/collections/community/zabbix/zabbix_host_module.html#ansible-collections-community-zabbix-zabbix-host-module]]></description>
			<content:encoded><![CDATA[<p>It seems that the password for authentication is missing.<br />
Can you try adding this line under ansible_user:<br />
ansible_httpapi_pass: your_password</p>
<p>Here is the ansible doc with examples:<br />
<a href="https://docs.ansible.com/ansible/latest/collections/community/zabbix/zabbix_host_module.html#ansible-collections-community-zabbix-zabbix-host-module" rel="nofollow ugc">https://docs.ansible.com/ansible/latest/collections/community/zabbix/zabbix_host_module.html#ansible-collections-community-zabbix-zabbix-host-module</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yevhen		</title>
		<link>https://www.dbi-services.com/blog/configure-zabbix-with-ansible/#comment-4029</link>

		<dc:creator><![CDATA[Yevhen]]></dc:creator>
		<pubDate>Wed, 11 Jun 2025 12:17:32 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbi-services.com/blog/?p=30881#comment-4029</guid>

					<description><![CDATA[facing an issue with host group creation:
Zabbix server version 7.2.3
community.zabbix version 3.2.0

ansible tasks :

    - name: Set api configuration facts
      ansible.builtin.set_fact:
        ansible_network_os: community.zabbix.zabbix
        ansible_connection: httpapi
        ansible_httpapi_port: 80
        ansible_zabbix_url_path: &#039;&#039;
        ansible_host: &quot;{{ zabbix_api_host }}&quot;
        ansible_user: &quot;{{ zabbix_api_user }}&quot;

    - name: Create host groups
      community.zabbix.zabbix_group:
        host_group: &quot;{{ item}}&quot;
        state: present
      loop: &quot;{{ host_group_names }}&quot;
Error:
msg: &quot;connection error occurred: REST API returned {&#039;code&#039;: -32600, &#039;message&#039;: &#039;Invalid request.&#039;, &#039;data&#039;: &#039;Invalid parameter \&quot;/\&quot;: unexpected parameter \&quot;auth\&quot;.&#039;} when sending {\&quot;jsonrpc\&quot;: \&quot;2.0\&quot;, \&quot;method\&quot;: \&quot;hostgroup.get\&quot;, \&quot;id\&quot;: \&quot;84d64475-e439-47fa-8266-7a071c64033e\&quot;, \&quot;params\&quot;: {\&quot;output\&quot;: \&quot;extend\&quot;, \&quot;filter\&quot;: {\&quot;name\&quot;: [\&quot;group_name\&quot;]}}, \&quot;auth\&quot;: \&quot;auth_token\&quot;}&quot;]]></description>
			<content:encoded><![CDATA[<p>facing an issue with host group creation:<br />
Zabbix server version 7.2.3<br />
community.zabbix version 3.2.0</p>
<p>ansible tasks :</p>
<p>    &#8211; name: Set api configuration facts<br />
      ansible.builtin.set_fact:<br />
        ansible_network_os: community.zabbix.zabbix<br />
        ansible_connection: httpapi<br />
        ansible_httpapi_port: 80<br />
        ansible_zabbix_url_path: &#8221;<br />
        ansible_host: &#8220;{{ zabbix_api_host }}&#8221;<br />
        ansible_user: &#8220;{{ zabbix_api_user }}&#8221;</p>
<p>    &#8211; name: Create host groups<br />
      community.zabbix.zabbix_group:<br />
        host_group: &#8220;{{ item}}&#8221;<br />
        state: present<br />
      loop: &#8220;{{ host_group_names }}&#8221;<br />
Error:<br />
msg: &#8220;connection error occurred: REST API returned {&#8216;code&#8217;: -32600, &#8216;message&#8217;: &#8216;Invalid request.&#8217;, &#8216;data&#8217;: &#8216;Invalid parameter \&#8221;/\&#8221;: unexpected parameter \&#8221;auth\&#8221;.&#8217;} when sending {\&#8221;jsonrpc\&#8221;: \&#8221;2.0\&#8221;, \&#8221;method\&#8221;: \&#8221;hostgroup.get\&#8221;, \&#8221;id\&#8221;: \&#8221;84d64475-e439-47fa-8266-7a071c64033e\&#8221;, \&#8221;params\&#8221;: {\&#8221;output\&#8221;: \&#8221;extend\&#8221;, \&#8221;filter\&#8221;: {\&#8221;name\&#8221;: [\&#8221;group_name\&#8221;]}}, \&#8221;auth\&#8221;: \&#8221;auth_token\&#8221;}&#8221;</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Lazy Loading (feed)

Served from: www.dbi-services.com @ 2026-07-04 15:18:25 by W3 Total Cache
-->