|
From: | Hearns, John |
Subject: | Check program not accepting arguments |
Date: | Wed, 18 Jun 2014 13:44:26 +0000 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |