Main configuration file location
URL HTML path
URL CGI-BIN path
Process check command
Alert window suppression
CGI refresh rate
Custom HTML table colors
Main Configuration File Location |
Format: | main_config_file=<file_name> |
Example: | main_config_file=/usr/local/netsaint/etc/netsaint.cfg |
This specifies the location of your main configuration file. The CGIs need to know where to find this file in order to get information about configuration information, current host and service status, etc.
Physical HTML Path |
Format: | physical_html_path=<path> |
Example: | physical_html_path=/usr/local/netsaint/share |
This is the physical path where the HTML files for NetSaint are kept on your workstation or server. NetSaint assumes that the documentation and images files (used by the CGIs) are stored in subdirectories called docs/ and images/, respectively.
URL HTML Path |
Format: | url_html_path=<path> |
Example: | url_html_path=/netsaint |
If, when accessing NetSaint via a web browser, you point to an URL like http://www.myhost.com/netsaint, this value should be /netsaint. Basically, its the path portion of the URL that is used to access the NetSaint HTML pages.
URL CGI-BIN Path |
Format: | url_cgibin_path=<path> |
Example: | url_cgibin_path=/cgi-bin/netsaint |
If, when accessing NetSaint's CGI programs via a web browser, you point to an URL like http://www.myhost.com/cgi-bin/netsaint, this value should be /cgi-bin/netsaint. Basically, its the path portion of the URL that is used to access the NetSaint CGI-BIN programs.
Process Check Command |
Format: | process_check_command=<command_line> |
Example: | process_check_command=/usr/local/netsaint/libexec/check_netsaint /usr/local/netsaint/var/status.log 5 '/usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg' |
This is the command that the CGIs should use to check the status of the NetSaint process. This provides the CGIs (as well as yourself) with some idea of whether or not NetSaint is still running. If the CGIs cannot determine whether or not NetSaint is running on the local machine, some features like external commands in the extended information and command CGIs may not be available. The process check command that you specify should follow the same guidelines that are required of the plugins.
Notes:
Alert Window Suppression |
Format: | suppress_alert_window=<0/1> |
Example: | suppress_alert_window=1 |
This option allows you to specify whether or not you want to permanently suppress the host alert window in the status CGI. Normally the alert window will be displayed if one or more hosts is down or unreachable.
CGI Refresh Rate |
Format: | refresh_rate=<rate_in_seconds> |
Example: | refresh_rate=90 |
This option allows you to specify the number of seconds between page refreshes for the status, statusmap, and extinfo CGIs.
Custom HTML Table Colors |
Formats: |
html_table_fg_color=<HTML_color> html_table_bg_color=<HTML_color> html_table_bg_odd_color=<HTML_color> html_table_bg_even_color=<HTML_color> |
Examples: |
html_table_fg_color=#DCE5C1 html_table_bg_color=#7172A2 html_table_bg_odd_color=#E1E2ED html_table_bg_even_color=#EEEEF4 |
These options allow you to override the default colors used in the HTML tables produced by the CGIs. The <html_table_bg_color> and <html_table_bg_color> options are used to control the background and foreground colors used in the table headers. The <html_table_bg_odd_color> and <html_table_bg_even_color> options are used to specify alternating background colors used in table rows that contain data. These options are completely option. If you do not define any colors to be used in the tables, the default program colors will be used.