322
ProScan Portlet | Change Management – ProScan
Perl / Java (Groovy) Language Policies
In addition to regular expressions, you can enter Config Terms that use either Perl or Java (Groovy)
language capabilities for scans. The following sections describe these.
• Perl
• Java (Groovy)
These scans are compiled at runtime, and the Java scan uses the Groovy libraries, included with
OpenManage Network Manager. As always, you must install Perl on Windows application servers if
you want to use that type of Config Term (it typically comes with other supported operating
systems).
Perl
When you select Perl as the type of Config term, an editor appears that lets you enter Perl scans.
As the screen says
$input_source
is what the code scans. The following is example of the type
of Perl you can enter that scans for contents like
description
in shut down interfaces, and prints
output “Success” visible in the Audit viewer when it finds a matching term like
description
in
whatever source you select:
if($input_source =~ m/shutdown/){
print("Success");
}
elsif($input_source =~ m/description/){
print("Success");
Содержание OpenManage Network Manager
Страница 1: ...Dell OpenManage Network Manager version 5 1 Web Client Guide ...
Страница 14: ...14 A Note About Performance Preface ...
Страница 98: ...98 Schedules Portal Conventions ...
Страница 141: ...Vendors Key Portlets 141 Vendors Snap Panel The snap panel displays the icon for the selected vendor ...
Страница 142: ...142 Vendors Key Portlets ...
Страница 232: ...232 File Management File Servers ...
Страница 242: ...242 Deploy Configuration ...
Страница 290: ...290 Key Metric Editor Monitoring Metrics This panel s display depends on the selected device ...
Страница 340: ...340 ...
Страница 374: ...374 Adaptive CLI Records Archiving Policy Actions and Adaptive CLI ...
Страница 380: ...380 Glossary ...
Страница 388: ...388 388 Index ...