monit 5.8 check program parameters doesn't work

Issue #28 invalid
Former user created an issue

I've installed monit 5.8 from source on SUSE Linux Enterprise Server 11 SP1 (x86_64) with parameter './configure --without-pam'.

Unfortunately even this test does not work:

+     
+     check program list-files with path /bin/ls -l -r -t /tmp
+         if status != 0 then alert
  • 'monit -t' - Control file syntax OK

  • 'service monit restart' Error: syntax error '-l' Monit is not configured well in /etc/monitrc. ... skipped

Comments (2)

  1. Tildeslash repo owner

    Monit from source code installs by detauls to /usr/local ... it is possible that you have installed older Monit also via SUSE package, which is used when you try to enable the service with "service monit ..."

    Please can you check that the Monit 5.8 is the only version on the system?

        find / -name monit -type f
    
  2. Tildeslash repo owner

    Not reproducible. Most probable cause is that an old existing Monit installation is used instead of the newly installed.

  3. Log in to comment