Extreme Networks AG200 User Manual page 178

Version 5.0
Table of Contents

Advertisement

End-user Access
To customize the error messages:
1 Create a file using a text editor, and name it as follows:
/usr/local/nac/scripts/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.
NOTE
While editing the description avoid the use of double quotes "". Use single quotes instead. Double quotes will get
interpreted by the software and can cut the string short or cause the replacement to fail.
2 Restart the
service nac restart
178
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",
process by entering the following command:
nac
Table 8 on page
179).
Sentriant AG Users' Guide, Version 5.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sentriant ag

Table of Contents