Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2007 11:20:45 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Alireza Iranbodi <a_iranbodi@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Freebsd Shell
Message-ID:  <44veg4ntma.fsf@be-well.ilk.org>
In-Reply-To: <374683.74337.qm@web53012.mail.re2.yahoo.com> (Alireza Iranbodi's message of "Mon\, 9 Apr 2007 00\:45\:41 -0700 \(PDT\)")
References:  <374683.74337.qm@web53012.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alireza Iranbodi <a_iranbodi@yahoo.com> writes:

> 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

There are significant differences between shells, but that command
should be fine under any shell I can think of.

You could try adding some debugging information to the script you run
from argus, to see if the command is getting called at all.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44veg4ntma.fsf>