Ad Widget

Collapse

How do I create a service/daemon check?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jfha73
    Member
    • Aug 2018
    • 33

    #1

    How do I create a service/daemon check?

    Hello,

    I have Zabbix monitoring a Linux Server, this server has a service/daemon that I want to monitor (make sure it's running), how can I do that?

    Thanks,
  • zux
    Member
    • Sep 2018
    • 93

    #2
    Look for item "proc.num[]"

    Comment

    • jfha73
      Member
      • Aug 2018
      • 33

      #3
      If I do that, what if the Proc.num changes because the server was restarted, or the service itself was restarted, the process number will change eventually, I need something more stable than that.

      Thanks though.

      Comment

      • zux
        Member
        • Sep 2018
        • 93

        #4
        Can you define that service like this? If at least one process is running, then the service is running. The just define the trigger to fire when proc.num < 1

        Comment

        • jfha73
          Member
          • Aug 2018
          • 33

          #5
          I might have misunderstand, I was thinking that Proc.num was the same as PID, but for what you're saying, it looks like is a processes count, anyway, how can I set that up? what do I need to put in the Expression of the Trigger for the service I'm trying to monitor?

          Thanks.

          Comment

          • jfha73
            Member
            • Aug 2018
            • 33

            #6
            I should have made my question clearer, so here it is better worded.

            What do I need to create and how so I can have a check for a service/daemon on a Linux server?

            For example: create an Application, then an Item, then a trigger, etc. explaining how to do each one of them.

            Thanks,

            Comment

            • jfha73
              Member
              • Aug 2018
              • 33

              #7
              Originally posted by zux
              Look for item "proc.num[]"
              Thanks for this, I finally have it up and running using this.

              Comment

              Working...