<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Debug School: shashank</title>
    <description>The latest articles on Debug School by shashank (@sbapure96_189).</description>
    <link>https://www.debug.school/sbapure96_189</link>
    <image>
      <url>https://www.debug.school/images/0DKbVOZ01W_Dq8wG7GPtK4KiV456v1mJ5bc4SUIFSMI/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzY3OS82ODQw/YzY1NS0yYjQ5LTQ3/NDEtOTIzOS0wMzgx/OTZhOTY1MmEucG5n</url>
      <title>Debug School: shashank</title>
      <link>https://www.debug.school/sbapure96_189</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/sbapure96_189"/>
    <language>en</language>
    <item>
      <title>getting postgres service down in zabbix</title>
      <dc:creator>shashank</dc:creator>
      <pubDate>Wed, 22 May 2024 14:53:46 +0000</pubDate>
      <link>https://www.debug.school/sbapure96_189/getting-postgres-service-down-in-zabbix-3l0f</link>
      <guid>https://www.debug.school/sbapure96_189/getting-postgres-service-down-in-zabbix-3l0f</guid>
      <description>&lt;p&gt;i am attaching PostgreSQL by Zabbix agent template to postgres server.&lt;br&gt;
i have done following steps:&lt;br&gt;
created postgres user with password&lt;br&gt;
created /var/lib zabbix with zabbix ownership and copied postgresql folder in /var/lib/zabbix/ location &lt;/p&gt;

&lt;p&gt;copied template_db_postgresql.conf file to /etc/zabbix/zabbix_agentd.d/ location&lt;br&gt;
all the data is showing on zabbix dashboard like replication status lag in second all data is showing but the   PostgreSQL: Service is down alert showing on dashboard and ping status is 0.&lt;br&gt;
service and port is up and running on server. &lt;/p&gt;

&lt;p&gt;how this can be resolved? is there any other thing pending to do.&lt;br&gt;
in macros &lt;br&gt;
pg host is 127.0.0.1&lt;br&gt;
port is 5440&lt;br&gt;
pg db is postgres&lt;br&gt;
and also provided zabbix user name in macros&lt;/p&gt;

</description>
      <category>postgres</category>
      <category>zabbix</category>
      <category>postgresqlbyzabbixagent</category>
    </item>
    <item>
      <title>not coming data in zabbix for mysql</title>
      <dc:creator>shashank</dc:creator>
      <pubDate>Mon, 18 Sep 2023 05:41:43 +0000</pubDate>
      <link>https://www.debug.school/sbapure96_189/not-coming-data-in-zabbix-for-mysql-11gl</link>
      <guid>https://www.debug.school/sbapure96_189/not-coming-data-in-zabbix-for-mysql-11gl</guid>
      <description>&lt;p&gt;Trying to add mysql server in zabbix monitoring. data not coming in zabbix by using MySQL by Zabbix agent template.&lt;br&gt;
i have done below steps:&lt;/p&gt;

&lt;p&gt;step 1: &lt;br&gt;
zabbix agent installation done. agent version 6.0.13&lt;/p&gt;

&lt;p&gt;step 2: Copy template_db_mysql.conf into the folder with Zabbix agent configuration (/etc/zabbix/zabbix_agentd.d/ by default) done. and restart Zabbix agent done.&lt;/p&gt;

&lt;p&gt;step 3: Create a MySQL user for monitoring ( at your discretion) done&lt;/p&gt;

&lt;p&gt;step 4: Create .my.cnf in the home directory of Zabbix agent for Linux (/var/lib/zabbix by default ) done&lt;/p&gt;

&lt;p&gt;step 5: mapped MySQL by Zabbix agent template to host on zabbix dashbord.&lt;/p&gt;

&lt;p&gt;getting this error for mysql on zabbix dashboard. only mysql status and mysql version is showing. remaining items not showing data.&lt;/p&gt;

&lt;p&gt;Preprocessing failed for: mysql: [Warning] World-writable config file '/var/lib/zabbix/.my.cnf' is ignored..&amp;lt;?xml version="...&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Failed: cannot extract XML value with xpath "/resultset/row[field/text()='Aborted_clients']/field[@name='Value']/text()": cannot parse xml value: Start tag expected, '&amp;lt;' not found&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://www.debug.school/images/_r4zQwzNwr3-G8cJOrl7fhiwtqft7Oen-gy9l1iML-Q/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvNzB5cTgw/aXpxbWlsdWpjZGF2/ZDcucG5n" class="article-body-image-wrapper"&gt;&lt;img src="https://www.debug.school/images/_r4zQwzNwr3-G8cJOrl7fhiwtqft7Oen-gy9l1iML-Q/rt:fit/w:800/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvYXJ0/aWNsZXMvNzB5cTgw/aXpxbWlsdWpjZGF2/ZDcucG5n" alt="Image description" width="800" height="70"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>zabbix</category>
      <category>mysql</category>
      <category>mysqlbyzabbixagent</category>
      <category>zabbixmonitoring</category>
    </item>
  </channel>
</rss>
