3 # Update an existing watch group
5 require './mon-lib.pl';
7 $conf = &get_mon_config();
8 $watch = $conf->[$in{'idx'}];
10 &save_directive($conf, $watch, undef);
13 $watch->{'values'} = [ $in{'group'} ];
14 &save_directive($conf, $watch, $watch);
17 &redirect("list_watches.cgi");