Hi Erwan,
Creating a watch for when the state is not full is easy. Just set the threshold so that it violates when the value does not equal 8.
Creating a watch for when you lose a neighbor might be a little more complicated. If it's as simple as the state changes to down (1), then you can just create a watch and in the threshold window, set it to violate when the state is 1. If the entry actually gets removed from the table, then you might need to set up a watch to initially query the attribute and store the values. Then create another watch that queries the attribute and in the threshold window set it to violate if it doesn't equal the 1st watch you created.
Hope that helps
Jay