Feature #2682
Periodic check while component is running
Status: | Closed | Start date: | 12/05/2016 | |
---|---|---|---|---|
Priority: | Normal | Due date: | 12/31/2016 | |
Assignee: | R. Haschke | % Done: | 0% | |
Category: | - | |||
Target version: | - |
Description
First of all I don't know if this already exists, thus it might be no feature request.
And if it is handled by handle_screen_failure
function, than it might be a bug?
Issue: Component does not update its status if something changes
Version: master-branch
Dist.: Ubuntu 14.04.5
RSB.: No RSB involved
For instance the component get a segfault after a while.
Then I first have to press the "check" button to get the actual state (Even the -R
option has no effect).
Do I have to give a certain command or argument to get a periodic check even if the component is running?
I managed to get my desired behaviour be adding the following lines to vdemo2_controller.tcl
.
proc every {ms body} {
eval $body
after $ms [info level 0]
}
every 1000 {all_cmd "check"}
History
#1 Updated by T. Korthals over 7 years ago
This issue is not worth it.
I forgot to add my own SSH keys to .ssh/authorized_keys.
By the way, this should be explicitly noted in the vdemo wiki.
I mean vdemo works by just giving the passphrase at startup but one might wonder why all the other features (like periodic checking) do not work then.
#2 Updated by R. Haschke almost 7 years ago
- Status changed from New to Feedback
Wasn't there a warning on the command line, that component monitoring will not be available?
#3 Updated by T. Korthals over 6 years ago
I cannot remember any warnings or hints when I ran vdemo.
Anyway, I think you can close this issue.
#4 Updated by L. Schillingmann over 6 years ago
- Status changed from Feedback to Closed
I think this can be closed, can theoretically be implemented using the REST api if needed for special cases.