Download ManageEngine OpManager :: User Guide

Transcript
ManageEngine OpManager 8 :: User Guide
4. If you want to specify more complex criteria using Regular Expression, select
'Advanced Criteria' and then enter the line in the text field
Simple Criteria
Criteria
Should contain
all lines
Description
The configuration to be checked for
compliance should contain all the lines
specified by you. Even if a single line is
not found, it will be pronounced as
'violation'. DeviceExpert goes about
checking the lines (specified by you)
one-by-one against the configuration
file. It is not necessary that the lines
should be present exactly in the same
order as specified by you. Since the
check is done line-by-line, it is enough if
the all the lines are present anywhere in
the configuration.
Example
Criteria: Should contain all
lines
Configuration lines to
check:
snmp-server community public
RO
snmp-server community
private RW
snmp-server community
public1 RO
snmp-server community
private1 RW
Violation:
If any or all the lines are NOT
present in the configuration
file (irrespective of the order of
the presence of the lines)
Should not
contain any line
Exactly opposite to the above. The
configuration to be checked for
compliance should NOT contain any of
the lines specified by you. Even if a
single line is found, it will be pronounced
as 'violation'. DeviceExpert goes about
checking the lines (specified by you)
one-by-one against the configuration
file. The order of the lines are not
important.
Should contain
exact set
This is similar to 'Should contain all
lines', but the difference is that the order
of the lines is taken into consideration. If
you
have
specified
four
lines,
DeviceExpert will go about checking if
all the four lines are present in the same
order as specified. If the lines are not
present exactly as specified, it will be
pronounced as rule violation.
Criteria: Should not contain
any line
Configuration lines to
check:
snmp-server community public
RO
snmp-server community
private RW
snmp-server community
public1 RO
snmp-server community
private1 RW
Violation:
If any or all the lines are
present in the configuration
file (irrespective of the order of
the presence of the lines)
Criteria: Should contain exact
set
Configuration lines to
check:
snmp-server enable traps hsrp
snmp-server enable traps
config
snmp-server enable traps
entity
snmp-server enable traps
envmon
Violation:
If all the lines are NOT present
in the configuration file in the
same order (and same set) as
specified
AdventNet, Inc.
173