Alireza Iranbodi <[EMAIL PROTECTED]> 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.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to