[arm-allstar] A way to check allstar connection status
Bryan St Clair
bryan at k6cbr.us
Tue Apr 21 13:17:21 EDT 2020
If you want to trigger off a dns error, do just that.
Script a dns query on your own node number and if a error returns, perform
the action you want.
But I wouldn't run it too often, I could see that loop easily if there was
ever a slow update to registration status.
Would be smarter to setup a reverse ssh tunnel and you can restart it as
needed.
On Tue, Apr 21, 2020, 10:11 "Justin Grigg via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:
> Hello,
> I am working on depoying a repeater that will be using a hamvoip node as a
> controller. This site will have a cellular connection for data but it is
> hard to access. I have a script that will trigger a restart if a network
> connection is lost, but I am worried about an unrepnisve node.
>
> My question is if there is a way to check for the node's status on Allstar
> via bash? I have seen nodes that get locked up and show the status "Node
> ###### is not in the stats database, invalid node number or a temporary
> communications error, please try again later". I want to trigger a
> asterisks restart automaitclly if this happens.
>
> Is this possible?
>
> Thanks!!
>
> Justin
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3/4 web page - http://hamvoip.org
>
More information about the ARM-allstar
mailing list