8
Configuration from the Command Line 178
14.1 Accessing config from the command line 178
14.1.1 SerialPortconguration 180
14.1.2 AddingandremovingUsers 183
14.1.3 AddingandremovinguserGroups 184
14.1.4 Authentication 185
14.1.5 NetworkHosts 186
14.1.6 TrustedNetworks 187
14.1.7 CascadedPorts 187
14.1.8 UPSConnections 188
14.1.9 RPCConnections 189
14.1.10 Environmental 190
14.1.11 ManagedDevices 190
14.1.12 PortLog 191
14.1.13 Alerts 192
14.1.14 SMTP&SMS 194
14.1.15 SNMP 195
14.1.16 Administration 195
14.1.17 IPsettings 195
14.1.18 Date&Timesettings 196
14.1.19 Dial-insettings 196
14.1.20 DHCPserver 197
14.1.21 Services 198
14.1.22 NAGIOS 198
14.2 General Linux command usage 199
Advanced Configuration 201
15.1 Custom Scripting 201
15.1.1 Custom script to run when booting 201
15.1.2 Running custom scripts when alerts are triggered 202
15.1.3 Examplescript-Powercyclingonpatternmatch 203
15.1.4 Examplescript-Multipleemailnoticationsoneachalert 203
15.1.5 DeletingcongurationvaluesfromtheCLI 204
15.1.6 Power cycle any device upon a ping request failure 207
15.1.7 Runningcustomscriptswhenaconguratorisinvoked 208
15.1.8 Backing-upthecongurationandrestoringusingalocalUSBstick 208
15.1.9 Backing-upthecongurationoff-box 209
15.2 Advanced Portmanager 210
15.2.1 Portmanager commands 210
15.2.2 External Scripts and Alerts 211
15.3 Raw Access to Serial Ports 212
15.3.1 Access to serial ports 212
15.3.2 Accessing the console/modem port 212
15.4 IP- Filtering 213
15.5 SNMP Status Reporting and Traps 214
15.5.1 RetrievingstatusinformationusingSNMP 214
15.5.2 Checkrewallrules 214
15.5.3 EnableSNMPservice 214
15.5.4 /etc/cong/snmpd.conf 217
15.5.5 AddingmultipleremoteSNMPmanagers 218
Table of Contents