Freebsd Shell

Lowell Gilbert freebsd-questions-local at
Tue Apr 10 15:20:48 UTC 2007

Alireza Iranbodi <a_iranbodi at> 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.

More information about the freebsd-questions mailing list