Using the fileattrs Program
141
Configuration File Example 2
To assign user and operating system information to devices based upon
their address:
*KEY:2
*ATT:NL Type, NL Address, User, O/S
IP, 104.240.20.10, Joe Bloggs, Solaris 2.5
IP, 104.240.20.8, Joe Bloggs, Windows 95
IP, 104.240.20.13, John Smith, Solaris 2.5
IP, 104.240.20.14, General Use, AIX 4.1
If the discovered device has the NL Type IP and an NL Address of
104.240.20.13, this matches the key fields of the third entry and assigns
values to the User (John Smith) and O/S (Solaris 2.5) attributes.
Running fileattrs
The user can have many different configuration files, each running with
its own copy of
fileattrs
and so with its own entry in the
user-defined attribute configuration file. The configuration file should be
passed at the parameter to
fileattrs
.
For example, if two configuration files — COUNTRY.TXT and
MACHINEINFO.TXT — were contained in
c:\data
, then you could add
the following two lines to the user-defined attribute configuration file:
Country fileattrs.exe c:\data\country.txt TRUE
machineinfo fileattrs.exe c:\data\machineinfo.txt TRUE
Attributes would then be assigned to devices based on the contents of
these two configuration files.
If you change the contents of the configuration file, then you must restart
the Traffix Manager Server for your changes to take effect. If
fileattrs
detects a syntax error in the configuration file, the Traffix Manager Server
stops. You can view any error message in the Event List.
How fileattrs Works
When a device is discovered,
fileattrs
does the following:
1
It finds the
KEY
attribute(s) for that device, and sees if it matches any of
the entries listed in the file. If it does, then it assigns the appropriate
values for the attributes listed in
ATT
to that device.
2
The special attribute value
’*’
matches any attribute in the key column.
If no matching entry is found in the configuration file for a particular
device, no attributes are assigned.
Содержание Traffix Transcend Traffix Manager
Страница 10: ......
Страница 18: ......
Страница 24: ...24 CHAPTER 1 TRAFFIX MANAGER OVERVIEW ...
Страница 33: ...II HOW TRAFFIX MANAGER WORKS Chapter 3 Collecting Data Chapter 4 Grouping Network Devices in the Map ...
Страница 34: ......
Страница 46: ...46 CHAPTER 4 GROUPING NETWORK DEVICES IN THE MAP Figure 6 Groupings dialog box ...
Страница 48: ......
Страница 56: ...56 CHAPTER 6 CONFIGURING AGENTS FOR DATA COLLECTION ...
Страница 70: ...70 CHAPTER 8 DISPLAYING TRAFFIC IN GRAPHS ...
Страница 88: ...88 CHAPTER 10 VIEWING EVENTS ...
Страница 114: ......
Страница 120: ...120 APPENDIX A TROUBLESHOOTING TRAFFIX MANAGER ...
Страница 152: ...152 APPENDIX F SUPPORTED RMON 2 DEVICES ...
Страница 156: ...156 APPENDIX G CONFIGURING 3COM STANDALONE RMON 2 AGENTS ...
Страница 160: ...160 APPENDIX I USING RMON 1 AGENTS ...
Страница 168: ......
Страница 184: ...184 INDEX ...