[Bro-Dev] #768: Inline monitoring of modified scripts.
Bro Tracker
bro at tracker.bro-ids.org
Wed Feb 15 07:58:02 PST 2012
#768: Inline monitoring of modified scripts.
-------------------------+------------------------
Reporter: seth | Owner:
Type: Problem | Status: new
Priority: Normal | Milestone: Bro2.1
Component: BroControl | Version: git/master
Resolution: | Keywords:
-------------------------+------------------------
Comment (by seth):
Oh yeah, I wanted to include what I thought a common example might look
like...
The scenario here is that a user has made modifications to their scripts
before starting broctl. They forgot and don't pay attention to the
WARNING and restart their cluster. BroControl is warning them each time
before it writes out the shell prompt that they have uninstalled scripts.
Also, notice the lack of the need to run "check". It's integrated into
the install command, I think that we should be fine doing it if we are
tracking which scripts have been checked already. We could continue to
maintain the "check" command since it has use beyond the install command
and the install command would just call it internally anyway. Removing
the *need* to run check would help get people up to speed with broctl a
lot faster I think.
I cleaned up some of the display and wording too. I think the "install"
command was dumping more information on users than it needed to. Thoughts
or further refinement?
{{{
[user at localhost]$ sudo /bro/bin/broctl
Password:***********
Welcome to BroControl 1.1
Type "help" for help.
WARNING: There are modified scripts that haven't been installed.
[BroControl] > restart
stopping:
worker-1 not running
worker-2 not running
proxy-1 not running
manager not running
starting:
manager ...
proxy-1 ...
worker-1 ...
worker-2 ...
WARNING: There are modified scripts that haven't been installed.
[BroControl] > install
checking scripts ... done.
generating cluster-layout.bro ... done.
generating local-networks.bro ... done.
generating broctl-config.bro ... done.
clearing old scripts ... done.
install new scripts... done.
copying to nodes...done.
[BroControl] > restart
stopping:
worker-1 ...
worker-2 ...
proxy-1 ...
manager ...
starting:
manager ...
proxy-1 ...
worker-1 ...
worker-2 ...
[BroControl] > quit
}}}
--
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/768#comment:1>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker
More information about the bro-dev
mailing list