Ad Widget

Collapse

monitor processes linux in zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • davide8000
    Banned
    • Mar 2019
    • 1

    #1

    monitor processes linux in zabbix

    Hi,
    i'm new on Zabbix. I'm setting up the monitoring service for my company. Now i have to monitor the status of some processes on linux like postgres,apache,mysql ecc..i need to check the status and if a process stop working i need to receive an alert. I searched on google but i haven't find the solution yet. On my linux servers the agent is installed and configured.
    Can someone help me to do it.

    Thanks
  • brunohl
    Senior Member
    Zabbix Certified Specialist
    • Mar 2019
    • 215

    #2
    There are some services that Zabbix has pre-setted, like MySQL and some Others. To monitor processes in general I use userParams in zabbix agent and search for the service with ps aux | [g]rep process_name | wc -l. Use its return to count how many processes are running.

    Comment

    • brunohl
      Senior Member
      Zabbix Certified Specialist
      • Mar 2019
      • 215

      #3
      You can also use Zabbix native keys for proc num.

      Comment

      Working...