Extreme Networks Sentriant AG Software User's Manual page 194

Hide thumbs Also See for Sentriant AG:
Table of Contents

Advertisement

End-user Access
You can create custom error message strings that appear in the test result reports, and on the test results
access window that the end-user views by editing or creating the following file:
/usr/local/nac/scripts/Custom/BaseClasses/CustomStrings.py
To customize the error messages:
1 Create a file using a text editor, and name it as follows:
/usr/local/nac/scripts/Custom/BaseClasses/CustomStrings.py
using the following format:
class CustomStrings:
Where:
The name value (
The message value (
access windows.
For example:
class CustomStrings:
stringTable = {
not found.
myserver.someplace.com/dir/application.exe'>Location Name</a>",
}
NOTE
A "%s" in the description text is a special variable that is interpolated into extra information (passed from
Sentriant AG) such as lists of missing patches, or missing software.
CAUTION
Normally Sentriant AG uses Strings.py. If you create a CustomStrings.py file, make sure that the number of
placeholders (%s) for a given entry is equal to the placeholders for that entry in Strings.py. If CustomStrings.py has
a different (smaller) number of placeholders than the entry in Strings.py had, tests will result in an "unknown error,"
which can result in endpoints getting quarantined when they should not be.
194
stringTable = {
"name1" : "message1",
"name2" : "message2",
}
) matches the name of the test (see
name1
is the text you want to appear in the reports and on the end-user
message1)
"checkAntiVirusUpdates.String.1" : "The required anti-virus software was
Install the software from this location <a href='http://
"name2" : "message2",
Table 7 on page
195)
Sentriant AG Software Users Guide, Version 5.3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sentriant ag 5.3

Table of Contents