LA CONSTITUCIÓN DE UNA COOPERATIVA EN 10 PASOS
ARTÍCULOS 7 A 83 SIN MODIFICACIONES RESPECTO DEL MODELO APROBADO EN LA RESOLUCIÓN
The Support Report provides useful status information that will assist the Black Box Technical Support team to solve any problems you may experience with your console server.
If you do experience a problem and have to contact tech support, make sure you include the Support Report with your email support request. The Support Report is generated when the issue is occurring, and is attached in plain text format.
Select Status: Support Report and you will be presented with a status snapshot. Save the file as a text file and attach it to your support email.
12.4 Syslog
The Linux System Logger in the console server maintains a record of all system messages and errors: Select Status: Syslog
156
724-746-5500 l www.blackbox.com
You can redirect the syslog record to a remote Syslog Server:
Enter the remote Syslog Server Address and Syslog Server Port details and click Apply. The console maintains a local Syslog. To view the local Syslog file:
Select Status: Syslog
To make it easier to find information in the local Syslog file, use the provided pattern matching filter tool.
Specify the Match Pattern that you want to search for (for example, the search for mount is shown below) and click Apply. The Syslog will then be represented with only those entries that actually include the specified pattern.
12.5 Dashboard
The Dashboard provides the Administrator with a summary of the status of the console server and its Managed Devices. You can configure custom dashboards for each user group.
12.5.1 Configuring the Dashboard
Only users who are members of the admin group (and the root user) can configure and access the dashboard. To configure a custom dashboard:
Select System: Configure Dashboard and select the user (or group) you are configuring this custom dashboard layout for.
Remote Console Manager
_____________________________________________________________________
Note: You can configure a custom dashboard for any admin user or for the admin group or you can reconfigure the
default dashboard.
The Status:Dashboard screen is the first screen displayed when admin users (other than root) log into the console manager. If you log in as “John,” and John is member of the admin group and there is a dashboard layout
configured for John, then you will see the dashboard for John upon log-in and each time you click on the Status:Dashboard menu item.
If there is no dashboard layout configured for John, but there is an admin group dashboard configured, then you will see the admin group dashboard instead. If there is no user dashboard or admin group dashboard configured, then you will see the default dashboard.
The root user does not have its own dashboard.
Use the above configuration options to enable admin users to setup their own custom dashboards.
The Dashboard displays six widgets. These widgets include each of the Status screens (alerts, devices, ports ups, rpc, and environmental status) and a custom script screen. The admin user can configure which of these widgets will be displayed where:
Go to the Dashboard layout panel and select which widget is to be displayed in each of the six display locations (widget1 …6).
Click Apply.
Note: The Alerts widget is a new screen that shows the current alerts status. When an alert gets triggered, a
corresponding .XML file is created in /var/run/alerts/. The dashboard scans all these files and displays a summary status in the alerts widget. When an alert is deleted, the corresponding .XML files that belong to that alert are also deleted.
158
724-746-5500 l www.blackbox.com
To configure what is to be displayed by each widget:
Go to the Configure widgets panel and configure each selected widget (for example, specify which UPS status is to be displayed on the ups widget or the maximum number of Managed Devices to be displayed in the devices widget.
Click Apply.
Note: Dashboard configuration is stored in the /etc/config/config.xml file. Each configured dashboard will increase the
config file. If this file gets too big, you can run out of memory space on the console manager.
12.5.2 Creating custom widgets for the Dashboard
T o run a custom script inside a dashboard widget:
Create a file called "widget-<name>.sh" in the folder /etc/config/scripts/ where <name> can be anything. You can have as many custom dashboard files as you want.
Inside this file you can put any code you want. When configuring the dashboard, choose "widget-<name>.sh" in the dropdown list. The dashboard will run the script and display the output of the script commands directly on the screen, inside the specific widget.
The best way to format the output would be to send HTML commands back to the browser by adding echo commands in the script:
echo '<table>'
You can of course run any command and its output will be displayed in the widget window directly.
Below is an example script that writes the current date to a file, and then echoes HTML code back to the browser. The HTML code gets an image from a specific URL and displays it in the widget.
#!/bin/sh
date >> /tmp/test echo '<table>'
echo '<tr><td> This is my custom script running </td></tr>' echo '<tr><td>'
echo '<img src="http://www.vinras.com/images/linux-online-inc.jpg">' echo '</td></tr>'
echo '</table>' exit 0