[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Check program not accepting arguments

From: Martin Pala
Subject: Re: Check program not accepting arguments
Date: Wed, 18 Jun 2014 16:03:52 +0200


the program arguments support was added in Monit 5.7.


On 18 Jun 2014, at 15:44, Hearns, John <address@hidden> wrote:

I am writing some monit checks to check if the NFS server is up and running on one of our servers.


Following the methods used in the  /etc/init.d/nfsserver script to display the status,

I am using checkproc.


I write this monit check:


check program nfs-mountd with path "/sbin/checkproc /usr/sbin/rpc.mountd"

   if status != 1 then alert


However when I load it:


/etc/monit.d/nfs-mountd:3: Warning: Program does not exist: '"/sbin/checkproc /usr/sbin/rpc.mountd"'


The manual says that checkproc does accept arguments with the program string.

For information I am running monit-5.6-39.1



Dr John Hearns | CFD Hardware Specialist | McLaren Racing Limited
McLaren Technology Centre, Chertsey Road, Woking, Surrey GU21 4YH, UK

T:  +44 (0) 1483 262000

D:  +44 (0) 1483 262352

F:  +44 (0) 1483 261928 
E:  address@hidden



The contents of this e-mail are confidential and for the exclusive use of the intended recipient. If you are not the intended recipient you should not read, copy, retransmit or disclose its contents. If you have received this email in error please delete it from your system immediately and notify us either by email or telephone. The views expressed in this communication may not necessarily be the views held by McLaren Racing Limited.
McLaren Racing Limited | McLaren Technology Centre | Chertsey Road | Woking | Surrey | GU21 4YH | UK | Company Number: 01517478
To unsubscribe:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]