From owner-freebsd-questions@FreeBSD.ORG Mon Apr 9 08:12:23 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 592B416A402 for ; Mon, 9 Apr 2007 08:12:23 +0000 (UTC) (envelope-from a_iranbodi@yahoo.com) Received: from web53012.mail.re2.yahoo.com (web53012.mail.re2.yahoo.com [206.190.49.42]) by mx1.freebsd.org (Postfix) with SMTP id E4D9D13C458 for ; Mon, 9 Apr 2007 08:12:22 +0000 (UTC) (envelope-from a_iranbodi@yahoo.com) Received: (qmail 75497 invoked by uid 60001); 9 Apr 2007 07:45:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=wdDfPO9aIXYj3atnIPr5o2BMiCaSxHpUGaqJDPaKtMRgCyAkjPE6lkM/NOZ2vGfzMEw23lOKFbMlktXf7LYyJ+OV8GpMZi0Klgo6uCZwJ5ua/YmXRBlV6CvDTO2aUQpmOrix/qNp+TH4bIweiKFWgluRpGIWbBB3XDVTwBsfxcQ=; X-YMail-OSG: qKJX9UQVM1ngpTweCyCiAtD2HcIKrmXgpP1_bmQ9ZZxl.RFF54ZO4v6OOC3ubGNQP1f5J.U8o0I3WVX9K7gHQwhiqPo817Q1waR.BicDPEYWE7kqCWrpfcA84Pjtfw-- Received: from [80.253.144.196] by web53012.mail.re2.yahoo.com via HTTP; Mon, 09 Apr 2007 00:45:41 PDT Date: Mon, 9 Apr 2007 00:45:41 -0700 (PDT) From: Alireza Iranbodi To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <374683.74337.qm@web53012.mail.re2.yahoo.com> Subject: Freebsd Shell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Apr 2007 08:12:23 -0000 Hello, I'm using Argus-Monitroing port to monitor servers on my network, Argus can run custom command when server went down with using something like this in config file : Method "sendim" { command: /bin/echo %M | /usr/local/bin/sendxmpp -u AAA -p BBB -j A.B.C.D %R } A.B.C.D is my jabber server as you can see argus sends %M for message and %R for recip. Evrytime i run manually in shell it's ok,but when argus itself running = nothing . I setup linux box (FC6) and use same config everything running fine. I got same problem with Cacti monitoring on freebsd to ! I want to know is there any different between linux shell and bsd ? or any suggestion? My OS = Freebsd 6.2 Alireza, ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html