title: How to configure database service status with Zabbix by simple check agent-less
body: <p>I have to configure a simple check for PostgreSQL database service with Zabbix without Agent installed on machine.</p>
  
  <p>I thought to use simple check TCP by <em>net.tcp.service[service,ip,port]</em>.</p>
  
  <p>The simple check return: </p>
  
  <ul>
  <li><p><strong>0</strong> if service is down</p></li>
  <li><p><strong>1</strong> if service is running</p></li>
  </ul>
  
  <p>What and where can I configure the chek into Zabbix Server?</p>
  
  <p>reference at : <a href="https://www.zabbix.com/documentation/3.4/manual/config/items/itemtypes/simple_checks" rel="nofollow noreferrer">https://www.zabbix.com/documentation/3.4/manual/config/items/itemtypes/simple_checks</a></p>
  
  <p>Must I configure the trigger on the host or Application and the Web scenario ? </p>