api
Alan Robertson
alanr@unix.sh
Thu, 04 Oct 2001 11:37:12 -0600
Claire Chan wrote:
>
> Hi all,
>
> I tried out the test_api.c and adapted it slightly with the intention of
> making a mon monitor from it.
> Now, I'm not sure what's wrong with my shortened version, which I
> include here, but it intermittently
> hangs/blocks. When I run it many times, sometimes I get this:
>
> > node_status
> Cluster node: dnshh2: status: active
> node dnshh2: intf: eth0 ifstatus: up
> node dnshh2: intf: eth1 ifstatus: up
> Cluster node: dnshh1: status: active
>
> (control-C)
> >
>
> It just stops there.
> Can anybody enlighten me on what's happening?
>
> --Claire
Off hand, your code looks fine. I'll see if I can reproduce this behavior
on my setup. Are there any messages in the logs concerning this client?
What version of heartbeat is this against?
Thanks!
-- Alan Robertson
alanr@unix.sh