From owner-freebsd-questions@FreeBSD.ORG Sat Jul 23 11:55:31 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3487A16A41F for ; Sat, 23 Jul 2005 11:55:31 +0000 (GMT) (envelope-from akhthar@carmatec.com) Received: from server1.carmatec.com (server1.carmatec.com [66.45.229.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id C225F43D48 for ; Sat, 23 Jul 2005 11:55:30 +0000 (GMT) (envelope-from akhthar@carmatec.com) Received: from [202.56.253.42] (helo=ws24.carmatec.com) by server1.carmatec.com with esmtpa (Exim 4.43) id 1DwIbI-00075y-7i for freebsd-questions@freebsd.org; Sat, 23 Jul 2005 06:55:06 -0500 From: Akhthar To: freebsd-questions@freebsd.org Date: Sat, 23 Jul 2005 17:26:02 +0530 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507231726.02952.akhthar@carmatec.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server1.carmatec.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - carmatec.com X-Source: X-Source-Args: X-Source-Dir: Subject: nagios + chkservd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: akhthar@carmatec.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jul 2005 11:55:31 -0000 Hi, I have configured nagios to check cron and chkservd service, but nagios is giving warning message eventhough the process is running. It's showing ok for crond. Please look into the following. ps -awux|grep chkservd root 60435 0.0 0.1 3372 2920 p0 I 7:43AM 0:00.02 chkservd (perl) /usr/local/nagios/libexec/check_procs -w 1:5 -c 1:20 -C chkservd PROCS CRITICAL: 0 processes with command name 'chkservd' As you can see below, there is no problem with cron. ps -awux|grep cron root 172 0.0 0.0 1040 700 ?? Ss Fri01AM 0:02.79 /usr/sbin/cron /usr/local/nagios/libexec/check_procs -w 1:5 -c 1:20 -C cron PROCS OK: 1 process with command name 'cron' Any idea why it's saying 0 processes with command 'chkservd'??? -- Regards, Akhthar -- UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity