Status check for the script not working in monit 5.25.1

Issue #824 resolved
Abdullah Manzoor created an issue

check process service_name with path /var/local/status.sh
if status != 0 then alert

Comments (2)

  1. Abdullah Manzoor reporter

    sorry for the bug reported there was a problem with my text.

    Wrong

    check process service_name with path /var/local/status.sh
    if status != 0 then alert

    Right statement

    check program service_name with path /var/local/status.sh
    if status != 0 then alert

  2. Abdullah Manzoor reporter

    Wrong

    check process service_name with path /var/local/status.sh if status != 0 then alert

    Right statement

    check program service_name with path /var/local/status.sh if status != 0 then alert

  3. Log in to comment