| Author |
Message |
zinck74
Guest
|
Posted:
Fri Dec 31, 2004 3:55 am Post subject:
Copying Rules in Bulk |
|
|
Is there any nice way to copy rules in bulk? The way I have my rules
setup for ease of administration is to setup a set of rules for each
set of servers I'm monitoring. So in this instance I'll have SQL rules
for Set A, SQL rules for set B, etc. It would be nice just to be able
to drag a folder from one parent folder to copy to another parent
folder, but this doesn't seem to work. ANd i can't even copy a whole
bunch of rules from a folder to another. I have to go one by
one...PLUS it adds that anoyiing "Copy of" in front of it. Is there
any easier way of doing this? It'll take me hours on hours for the 5
or 6 groups I have.
Thanks,
Bill |
|
| Back to top |
|
 |
Bill Hodghead [MSFT]
Guest
|
Posted:
Fri Dec 31, 2004 7:29 am Post subject:
Re: Copying Rules in Bulk |
|
|
Why are you creating separate copies of the rules for each group? This will
eventually make your job harder when you have to update rules or policies.
Instead create separate computer groups and use overrides to enable/disable
rules by group.
"zinck74" <zinck74@hotmail.com> wrote in message
news:1104443729.865134.308380@c13g2000cwb.googlegroups.com...
| Quote: | Is there any nice way to copy rules in bulk? The way I have my rules
setup for ease of administration is to setup a set of rules for each
set of servers I'm monitoring. So in this instance I'll have SQL rules
for Set A, SQL rules for set B, etc. It would be nice just to be able
to drag a folder from one parent folder to copy to another parent
folder, but this doesn't seem to work. ANd i can't even copy a whole
bunch of rules from a folder to another. I have to go one by
one...PLUS it adds that anoyiing "Copy of" in front of it. Is there
any easier way of doing this? It'll take me hours on hours for the 5
or 6 groups I have.
Thanks,
Bill
|
|
|
| Back to top |
|
 |
zinck74
Guest
|
Posted:
Sat Jan 01, 2005 1:30 am Post subject:
Re: Copying Rules in Bulk |
|
|
I want to send out alerts to different groups of people based on what
application is creating the alert. People that are concerned about
application A don't want to receive alerts about application B. And
from what I've found you can't customize an alert to a computer group.
This one little thing would have been great. If I could setup multiple
alerts that said something like below then this would have been much
easier, but I haven't seen how to do something like that. If you know
how I could do that, I would be very thankful.
Alert Rule 1
Send to NotificationGroup A if ErrorLevel = Critical or higher AND
ComputerIsMemberOfComputerGroup = ComputerGroupA
Alert Rule 2
Send to NotificationGroup B if ErrorLevel = Critical or higher AND
ComputerIsMemberOfComputerGroup = ComputerGroupB
That's the main reason, but then a secondary reason is that just
letting the computer groups and rules that come out of the box manage
everything and adding and removing overrides just seems messy. What I
had wanted to do is just setup a computer group for each application.
Each computer that belongs to that application is explicitly added to a
parent group. Below that are subgroups based on server type (SQL, IIS,
Win2k, etc.). The memberships of these groups are based on a formula
that searches for the type of services it has (which are essentially
copied from the out of box formulas). They have the addendum that they
are a member of the parent group. So basically if I get a new computer
for that app I just add it to the parent computer group and everything
else is taken care of in terms of monitoring. So if I set it up this
way then I can just go into the rule group associated with that
application computer group and see exactly what is being monitored. No
right clicking and checking of overrides and the number of rule groups
is limited, so they're easier to find. It's more of a personal
preference and housekeeping issue than a functionality issue. But then
with the first, more important issue it seems to be a necessity anyway.
If you have any ideas on the best ways to accomplish this, it would be
great. Since I have to copy each rule one by one it is extremely time
consuming. For SQL especially there are over 500 rules...ugh! I also
tried creating a generic MP filled with the most common rules for SQL,
IIS, etc. so that if I get a new app, I can just import it again,
rename it and associate it with the new computer group. But my guess
is that there is some GUID or whatnot beneath it because it updated the
existing MP that I created it from and didn't add a new one. I was
also fooling around with the idea of creating a SQL script and doing
everything from the backend, but there is so much I don't know about
how everything interacts that this could be bad. :) So if you have any
more ideas, it would be appreciated.
TIA,
Bill
Bill Hodghead [MSFT] wrote:
| Quote: | Why are you creating separate copies of the rules for each group?
This will
eventually make your job harder when you have to update rules or
policies.
Instead create separate computer groups and use overrides to
enable/disable
rules by group.
"zinck74" <zinck74@hotmail.com> wrote in message
news:1104443729.865134.308380@c13g2000cwb.googlegroups.com...
Is there any nice way to copy rules in bulk? The way I have my
rules
setup for ease of administration is to setup a set of rules for
each
set of servers I'm monitoring. So in this instance I'll have SQL
rules
for Set A, SQL rules for set B, etc. It would be nice just to be
able
to drag a folder from one parent folder to copy to another parent
folder, but this doesn't seem to work. ANd i can't even copy a
whole
bunch of rules from a folder to another. I have to go one by
one...PLUS it adds that anoyiing "Copy of" in front of it. Is
there
any easier way of doing this? It'll take me hours on hours for the
5
or 6 groups I have.
Thanks,
Bill
|
|
|
| Back to top |
|
 |
Bill Hodghead [MSFT]
Guest
|
Posted:
Sun Jan 02, 2005 6:59 am Post subject:
Re: Copying Rules in Bulk |
|
|
OK you don't want to be messing with the rules directly. As you point out
there are 100's of them. Control the deployment and notification through
computer groups.
Here' a notification technique that that can be useful for for doing things
like geographic monitoring. Create your own rule groups and create an alert
rule in that rule group, don't match any rule groups in the criteria.
Associate the PRG with a particular computer group. In this way you get to
match all the alerts from a particular computer(s) but of course it will
match any alerts from any PRGs that are associated with that computer(s).
"zinck74" <zinck74@hotmail.com> wrote in message
news:1104521417.440579.127070@z14g2000cwz.googlegroups.com...
| Quote: | I want to send out alerts to different groups of people based on what
application is creating the alert. People that are concerned about
application A don't want to receive alerts about application B. And
from what I've found you can't customize an alert to a computer group.
This one little thing would have been great. If I could setup multiple
alerts that said something like below then this would have been much
easier, but I haven't seen how to do something like that. If you know
how I could do that, I would be very thankful.
Alert Rule 1
Send to NotificationGroup A if ErrorLevel = Critical or higher AND
ComputerIsMemberOfComputerGroup = ComputerGroupA
Alert Rule 2
Send to NotificationGroup B if ErrorLevel = Critical or higher AND
ComputerIsMemberOfComputerGroup = ComputerGroupB
That's the main reason, but then a secondary reason is that just
letting the computer groups and rules that come out of the box manage
everything and adding and removing overrides just seems messy. What I
had wanted to do is just setup a computer group for each application.
Each computer that belongs to that application is explicitly added to a
parent group. Below that are subgroups based on server type (SQL, IIS,
Win2k, etc.). The memberships of these groups are based on a formula
that searches for the type of services it has (which are essentially
copied from the out of box formulas). They have the addendum that they
are a member of the parent group. So basically if I get a new computer
for that app I just add it to the parent computer group and everything
else is taken care of in terms of monitoring. So if I set it up this
way then I can just go into the rule group associated with that
application computer group and see exactly what is being monitored. No
right clicking and checking of overrides and the number of rule groups
is limited, so they're easier to find. It's more of a personal
preference and housekeeping issue than a functionality issue. But then
with the first, more important issue it seems to be a necessity anyway.
If you have any ideas on the best ways to accomplish this, it would be
great. Since I have to copy each rule one by one it is extremely time
consuming. For SQL especially there are over 500 rules...ugh! I also
tried creating a generic MP filled with the most common rules for SQL,
IIS, etc. so that if I get a new app, I can just import it again,
rename it and associate it with the new computer group. But my guess
is that there is some GUID or whatnot beneath it because it updated the
existing MP that I created it from and didn't add a new one. I was
also fooling around with the idea of creating a SQL script and doing
everything from the backend, but there is so much I don't know about
how everything interacts that this could be bad. :) So if you have any
more ideas, it would be appreciated.
TIA,
Bill
Bill Hodghead [MSFT] wrote:
Why are you creating separate copies of the rules for each group?
This will
eventually make your job harder when you have to update rules or
policies.
Instead create separate computer groups and use overrides to
enable/disable
rules by group.
"zinck74" <zinck74@hotmail.com> wrote in message
news:1104443729.865134.308380@c13g2000cwb.googlegroups.com...
Is there any nice way to copy rules in bulk? The way I have my
rules
setup for ease of administration is to setup a set of rules for
each
set of servers I'm monitoring. So in this instance I'll have SQL
rules
for Set A, SQL rules for set B, etc. It would be nice just to be
able
to drag a folder from one parent folder to copy to another parent
folder, but this doesn't seem to work. ANd i can't even copy a
whole
bunch of rules from a folder to another. I have to go one by
one...PLUS it adds that anoyiing "Copy of" in front of it. Is
there
any easier way of doing this? It'll take me hours on hours for the
5
or 6 groups I have.
Thanks,
Bill
|
|
|
| Back to top |
|
 |
Blake Mengotto
Guest
|
Posted:
Mon Jan 03, 2005 12:13 pm Post subject:
Re: Copying Rules in Bulk |
|
|
Use computer groups and alert processing rules. If you have a solid naming
convention you will have no issues.
--
Regards,
Blake Mengotto
Email: mengotto@nospam.hotmail.com
"MOM 2000/2005 - The ultimate solution for monitoring/managing your Windows
OS and applications."
http://www.momanswers.com - MOM solution center resource
http://www.microsoft.com/mom - MOM Application site
http://www.silect.com - MOM Health Reporter
http://www.excsoftware.com - MOM solution provider
"zinck74" <zinck74@hotmail.com> wrote in message
news:1104443729.865134.308380@c13g2000cwb.googlegroups.com...
| Quote: | Is there any nice way to copy rules in bulk? The way I have my rules
setup for ease of administration is to setup a set of rules for each
set of servers I'm monitoring. So in this instance I'll have SQL rules
for Set A, SQL rules for set B, etc. It would be nice just to be able
to drag a folder from one parent folder to copy to another parent
folder, but this doesn't seem to work. ANd i can't even copy a whole
bunch of rules from a folder to another. I have to go one by
one...PLUS it adds that anoyiing "Copy of" in front of it. Is there
any easier way of doing this? It'll take me hours on hours for the 5
or 6 groups I have.
Thanks,
Bill
|
|
|
| Back to top |
|
 |
zinck74
Guest
|
Posted:
Wed Jan 05, 2005 1:42 am Post subject:
Re: Copying Rules in Bulk |
|
|
OK, so I think I may have it, but I want to re-explain it in my own
words to make sure. I wasn't really sure what PRG means, but I'm
inferring that you are using it interchangeably with rule group.
I have a computer group called Application A. I then setup a rule
group called Application A. I associate the rule group Application A
with the computer group Application A. In this rule group I create an
appropriate alert rule. In this alert rule I don't specify a rule
group. This is the only rule within this rule group, right? Obviously
there could be more, but for my purposes here, that's all I really
need, correct? Since this rule group is associated with the computer
group Application A and I've not associated the alert rule to a
specific rule group, then any alert generated from the computer group
this rule group is associated with will use this new alert rule.
I guess I had thought that if you created an alert rule without a rule
group specified that it would send out an alert for EVERYTHING.
Whereas what you seem to be saying is that it does send out an alert
for everything, BUT within the confines of the computer group that the
rule group is associated. Is this all correct? If it is, that will be
SOOO much easier and nicer. Please let me know if my assesment is
correct.
Thanks!!
Bill
Bill Hodghead [MSFT] wrote:
| Quote: | OK you don't want to be messing with the rules directly. As you point
out
there are 100's of them. Control the deployment and notification
through
computer groups.
Here' a notification technique that that can be useful for for doing
things
like geographic monitoring. Create your own rule groups and create an
alert
rule in that rule group, don't match any rule groups in the criteria.
Associate the PRG with a particular computer group. In this way you
get to
match all the alerts from a particular computer(s) but of course it
will
match any alerts from any PRGs that are associated with that
computer(s).
"zinck74" <zinck74@hotmail.com> wrote in message
news:1104521417.440579.127070@z14g2000cwz.googlegroups.com...
I want to send out alerts to different groups of people based on
what
application is creating the alert. People that are concerned about
application A don't want to receive alerts about application B.
And
from what I've found you can't customize an alert to a computer
group.
This one little thing would have been great. If I could setup
multiple
alerts that said something like below then this would have been
much
easier, but I haven't seen how to do something like that. If you
know
how I could do that, I would be very thankful.
Alert Rule 1
Send to NotificationGroup A if ErrorLevel = Critical or higher AND
ComputerIsMemberOfComputerGroup = ComputerGroupA
Alert Rule 2
Send to NotificationGroup B if ErrorLevel = Critical or higher AND
ComputerIsMemberOfComputerGroup = ComputerGroupB
That's the main reason, but then a secondary reason is that just
letting the computer groups and rules that come out of the box
manage
everything and adding and removing overrides just seems messy.
What I
had wanted to do is just setup a computer group for each
application.
Each computer that belongs to that application is explicitly added
to a
parent group. Below that are subgroups based on server type (SQL,
IIS,
Win2k, etc.). The memberships of these groups are based on a
formula
that searches for the type of services it has (which are
essentially
copied from the out of box formulas). They have the addendum that
they
are a member of the parent group. So basically if I get a new
computer
for that app I just add it to the parent computer group and
everything
else is taken care of in terms of monitoring. So if I set it up
this
way then I can just go into the rule group associated with that
application computer group and see exactly what is being monitored.
No
right clicking and checking of overrides and the number of rule
groups
is limited, so they're easier to find. It's more of a personal
preference and housekeeping issue than a functionality issue. But
then
with the first, more important issue it seems to be a necessity
anyway.
If you have any ideas on the best ways to accomplish this, it would
be
great. Since I have to copy each rule one by one it is extremely
time
consuming. For SQL especially there are over 500 rules...ugh! I
also
tried creating a generic MP filled with the most common rules for
SQL,
IIS, etc. so that if I get a new app, I can just import it again,
rename it and associate it with the new computer group. But my
guess
is that there is some GUID or whatnot beneath it because it updated
the
existing MP that I created it from and didn't add a new one. I was
also fooling around with the idea of creating a SQL script and
doing
everything from the backend, but there is so much I don't know
about
how everything interacts that this could be bad. :) So if you have
any
more ideas, it would be appreciated.
TIA,
Bill
Bill Hodghead [MSFT] wrote:
Why are you creating separate copies of the rules for each group?
This will
eventually make your job harder when you have to update rules or
policies.
Instead create separate computer groups and use overrides to
enable/disable
rules by group.
"zinck74" <zinck74@hotmail.com> wrote in message
news:1104443729.865134.308380@c13g2000cwb.googlegroups.com...
Is there any nice way to copy rules in bulk? The way I have my
rules
setup for ease of administration is to setup a set of rules for
each
set of servers I'm monitoring. So in this instance I'll have
SQL
rules
for Set A, SQL rules for set B, etc. It would be nice just to
be
able
to drag a folder from one parent folder to copy to another
parent
folder, but this doesn't seem to work. ANd i can't even copy a
whole
bunch of rules from a folder to another. I have to go one by
one...PLUS it adds that anoyiing "Copy of" in front of it. Is
there
any easier way of doing this? It'll take me hours on hours for
the
5
or 6 groups I have.
Thanks,
Bill
|
|
|
| Back to top |
|
 |
Bill Hodghead
Guest
|
Posted:
Thu Jan 06, 2005 12:55 am Post subject:
Re: Copying Rules in Bulk |
|
|
Yep PRG is processing rule group or in MOM 2005 terminology "rule group"
The notification workflow accelerator in the mom 2005 reskit is also worth a
look.
Basically you've got it. The alert rule is deployed to each computer in
computer group "Application A". Any alert that satifies the alert rule
criteria on those computers will be sent to the notification group you
specify in the alert rule.
"zinck74" <zinck74@hotmail.com> wrote in message
news:1104867741.656752.203350@z14g2000cwz.googlegroups.com...
| Quote: | OK, so I think I may have it, but I want to re-explain it in my own
words to make sure. I wasn't really sure what PRG means, but I'm
inferring that you are using it interchangeably with rule group.
I have a computer group called Application A. I then setup a rule
group called Application A. I associate the rule group Application A
with the computer group Application A. In this rule group I create an
appropriate alert rule. In this alert rule I don't specify a rule
group. This is the only rule within this rule group, right? Obviously
there could be more, but for my purposes here, that's all I really
need, correct? Since this rule group is associated with the computer
group Application A and I've not associated the alert rule to a
specific rule group, then any alert generated from the computer group
this rule group is associated with will use this new alert rule.
I guess I had thought that if you created an alert rule without a rule
group specified that it would send out an alert for EVERYTHING.
Whereas what you seem to be saying is that it does send out an alert
for everything, BUT within the confines of the computer group that the
rule group is associated. Is this all correct? If it is, that will be
SOOO much easier and nicer. Please let me know if my assesment is
correct.
Thanks!!
Bill
Bill Hodghead [MSFT] wrote:
OK you don't want to be messing with the rules directly. As you point
out
there are 100's of them. Control the deployment and notification
through
computer groups.
Here' a notification technique that that can be useful for for doing
things
like geographic monitoring. Create your own rule groups and create an
alert
rule in that rule group, don't match any rule groups in the criteria.
Associate the PRG with a particular computer group. In this way you
get to
match all the alerts from a particular computer(s) but of course it
will
match any alerts from any PRGs that are associated with that
computer(s).
"zinck74" <zinck74@hotmail.com> wrote in message
news:1104521417.440579.127070@z14g2000cwz.googlegroups.com...
I want to send out alerts to different groups of people based on
what
application is creating the alert. People that are concerned about
application A don't want to receive alerts about application B.
And
from what I've found you can't customize an alert to a computer
group.
This one little thing would have been great. If I could setup
multiple
alerts that said something like below then this would have been
much
easier, but I haven't seen how to do something like that. If you
know
how I could do that, I would be very thankful.
Alert Rule 1
Send to NotificationGroup A if ErrorLevel = Critical or higher AND
ComputerIsMemberOfComputerGroup = ComputerGroupA
Alert Rule 2
Send to NotificationGroup B if ErrorLevel = Critical or higher AND
ComputerIsMemberOfComputerGroup = ComputerGroupB
That's the main reason, but then a secondary reason is that just
letting the computer groups and rules that come out of the box
manage
everything and adding and removing overrides just seems messy.
What I
had wanted to do is just setup a computer group for each
application.
Each computer that belongs to that application is explicitly added
to a
parent group. Below that are subgroups based on server type (SQL,
IIS,
Win2k, etc.). The memberships of these groups are based on a
formula
that searches for the type of services it has (which are
essentially
copied from the out of box formulas). They have the addendum that
they
are a member of the parent group. So basically if I get a new
computer
for that app I just add it to the parent computer group and
everything
else is taken care of in terms of monitoring. So if I set it up
this
way then I can just go into the rule group associated with that
application computer group and see exactly what is being monitored.
No
right clicking and checking of overrides and the number of rule
groups
is limited, so they're easier to find. It's more of a personal
preference and housekeeping issue than a functionality issue. But
then
with the first, more important issue it seems to be a necessity
anyway.
If you have any ideas on the best ways to accomplish this, it would
be
great. Since I have to copy each rule one by one it is extremely
time
consuming. For SQL especially there are over 500 rules...ugh! I
also
tried creating a generic MP filled with the most common rules for
SQL,
IIS, etc. so that if I get a new app, I can just import it again,
rename it and associate it with the new computer group. But my
guess
is that there is some GUID or whatnot beneath it because it updated
the
existing MP that I created it from and didn't add a new one. I was
also fooling around with the idea of creating a SQL script and
doing
everything from the backend, but there is so much I don't know
about
how everything interacts that this could be bad. :) So if you have
any
more ideas, it would be appreciated.
TIA,
Bill
Bill Hodghead [MSFT] wrote:
Why are you creating separate copies of the rules for each group?
This will
eventually make your job harder when you have to update rules or
policies.
Instead create separate computer groups and use overrides to
enable/disable
rules by group.
"zinck74" <zinck74@hotmail.com> wrote in message
news:1104443729.865134.308380@c13g2000cwb.googlegroups.com...
Is there any nice way to copy rules in bulk? The way I have my
rules
setup for ease of administration is to setup a set of rules for
each
set of servers I'm monitoring. So in this instance I'll have
SQL
rules
for Set A, SQL rules for set B, etc. It would be nice just to
be
able
to drag a folder from one parent folder to copy to another
parent
folder, but this doesn't seem to work. ANd i can't even copy a
whole
bunch of rules from a folder to another. I have to go one by
one...PLUS it adds that anoyiing "Copy of" in front of it. Is
there
any easier way of doing this? It'll take me hours on hours for
the
5
or 6 groups I have.
Thanks,
Bill
|
|
|
| Back to top |
|
 |
|
|
|
|