home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.2 Applications 1996 August / Silicon_Graphics_812-0542-002.iso / relnotes / sysmon / ch2.z / ch2
Text File  |  1996-08-03  |  10KB  |  325 lines

  1.  
  2.  
  3.  
  4.                                   - 1 -
  5.  
  6.  
  7.  
  8.        2.  _I_n_s_t_a_l_l_a_t_i_o_n__I_n_f_o_r_m_a_t_i_o_n
  9.  
  10.        This chapter lists supplemental information to the _I_R_I_S
  11.        _S_o_f_t_w_a_r_e _I_n_s_t_a_l_l_a_t_i_o_n _G_u_i_d_e.  The information listed here is
  12.        product-specific; use it with the Installation Guide to
  13.        install this product.
  14.  
  15.        2.1  _D_e_s_k_t_o_p__S_y_s_t_e_m__M_o_n_i_t_o_r__S_u_b_s_y_s_t_e_m_s
  16.  
  17.        The Desktop System Monitor includes these subsystems:
  18.  
  19.        _s_y_s_m_o_n._b_o_o_k_s._E_r_r_o_r_H_e_l_p        This subsystem contains help
  20.                                      information for system
  21.                                      messages.
  22.  
  23.        _s_y_s_m_o_n._b_o_o_k_s._H_e_l_p             This subsystem contains help
  24.                                      information for the Desktop
  25.                                      System Monitor applications.
  26.  
  27.        _s_y_s_m_o_n._m_a_n._s_y_s_m_o_n             This subsystem contains manual
  28.                                      pages for the Desktop System
  29.                                      Monitor programs.
  30.  
  31.        _s_y_s_m_o_n._s_w._n_o_t_i_f_i_e_r            This subsystem contains tools
  32.                                      for providing desktop
  33.                                      notification of critical
  34.                                      system errors.
  35.  
  36.        _s_y_s_m_o_n._s_w._v_i_e_w_e_r              This subsystem contains the
  37.                                      System Log Viewer.
  38.  
  39.  
  40.        2.2  _D_e_s_k_t_o_p _S_y_s_t_e_m _M_o_n_i_t_o_r _S_u_b_s_y_s_t_e_m _D_i_s_k _S_p_a_c_e
  41.             _R_e_q_u_i_r_e_m_e_n_t_s
  42.  
  43.        This section lists the subsystems (and their sizes) of the
  44.        Desktop System Monitor option.
  45.  
  46.        If you are installing this option for the first time, the
  47.        subsystems marked ``default'' are the ones that are
  48.        installed if you use the ``go'' menu item.  To install a
  49.        different set of subsystems, use the ``install,''
  50.        ``remove,'' ``keep,'' and ``step'' commands in _i_n_s_t to
  51.        customize the list of subsystems to be installed, then
  52.        select the ``go'' menu item.
  53.  
  54.        Note:  The listed subsystem sizes are approximate. Refer to
  55.               the _I_R_I_S _S_o_f_t_w_a_r_e _I_n_s_t_a_l_l_a_t_i_o_n _G_u_i_d_e for information
  56.               on finding exact sizes.
  57.  
  58.        Subsystem Name                     Subsystem Size
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                   - 2 -
  71.  
  72.  
  73.  
  74.                                           (512-byte blocks)
  75.        _s_y_s_m_o_n._b_o_o_k_s._E_r_r_o_r_H_e_l_p (default)          420
  76.        _s_y_s_m_o_n._b_o_o_k_s._H_e_l_p (default)               334
  77.        _s_y_s_m_o_n._m_a_n._r_e_l_n_o_t_e_s (default)              11
  78.        _s_y_s_m_o_n._m_a_n._s_y_s_m_o_n (default)                 6
  79.        _s_y_s_m_o_n._s_w._n_o_t_i_f_i_e_r (default)              272
  80.        _s_y_s_m_o_n._s_w._v_i_e_w_e_r (default)                431
  81.  
  82.  
  83.  
  84.        2.3  _I_n_s_t_a_l_l_a_t_i_o_n__M_e_t_h_o_d
  85.  
  86.        This section lists the installation method for the Desktop
  87.        System Monitor subsystems.  Refer to the _I_R_I_S _S_o_f_t_w_a_r_e
  88.        _I_n_s_t_a_l_l_a_t_i_o_n _G_u_i_d_e for complete installation instructions.
  89.  
  90.        Subsystem Name                Method of Installation
  91.        _s_y_s_m_o_n._b_o_o_k_s._E_r_r_o_r_H_e_l_p         IRIX
  92.        _s_y_s_m_o_n._b_o_o_k_s._H_e_l_p              IRIX
  93.        _s_y_s_m_o_n._m_a_n._r_e_l_n_o_t_e_s            IRIX
  94.        _s_y_s_m_o_n._m_a_n._s_y_s_m_o_n              IRIX
  95.        _s_y_s_m_o_n._s_w._n_o_t_i_f_i_e_r             IRIX
  96.        _s_y_s_m_o_n._s_w._v_i_e_w_e_r               IRIX
  97.  
  98.  
  99.  
  100.        2.4  _P_r_e_r_e_q_u_i_s_i_t_e_s
  101.  
  102.        The InSight product (insight.sw.data) is a prerequiste for all book
  103.        subsytems.
  104.  
  105.        2.5  _C_o_n_f_i_g_u_r_a_t_i_o_n__F_i_l_e_s
  106.  
  107.        The file /etc/syslog.conf must contain the line:
  108.  
  109.        """"****....ccccrrrriiiitttt                  ||||////uuuussssrrrr////ssssbbbbiiiinnnn////ssssyyyyssssmmmmoooonnnnpppppppp     ////vvvvaaaarrrr////aaaaddddmmmm////SSSSYYYYSSSSLLLLOOOOGGGG""""
  110.  
  111.        This line must only be delimited by tabs. By default, this
  112.        should be installed from the eoe.sw.unix subsystem.  If you
  113.        have modified your local /etc/syslog.conf file, merge in
  114.        this line from the file /etc/syslog.conf.N and type 'killall
  115.        1 syslogd' to enable system error notification.  If you do
  116.        not install or use the system monitor's notification, you
  117.        may remove the sysmon subsystem and remove the sysmonpp line
  118.        from /etc/syslog.conf.  Removal of this filter will only
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.                                   - 3 -
  131.  
  132.  
  133.  
  134.        effect the notification system, it will not effect the
  135.        System Log Viewer, _s_y_s_m_o_n(1M).
  136.  
  137.        The _s_y_s_e_r_r_p_a_n_e_l(1M) program can be used to configure system
  138.        error notification for each user.  _s_y_s_e_r_r_p_a_n_e_l(1M) can be
  139.        launched from the Desktop Customize System Errors ToolChest.
  140.        A configuration file $HOME/.syserr is saved in the user's
  141.        home directory. If this file does not exist, the system
  142.        defaults are read from /usr/lib/sysmon/syserr.config.  Below
  143.        is an example of that file with the default values:
  144.  
  145.        NNNNOOOOTTTTIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN====1111
  146.        AAAAUUUUDDDDIIIIOOOO====1111
  147.  
  148.        NNNNOOOOTTTTIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN can be turned on or off (set to 1 or 0), via
  149.        the syserrpanel(1M) visual notification button.  If visual
  150.        notification is off, you will not be notified of critical
  151.        errors on the desktop, but they will still be recorded in
  152.        the IRIX console window and the system log
  153.        (/var/adm/SYSLOG).  Use _s_y_s_m_o_n(1M), the System Log Viewer,
  154.        to view the log file.
  155.  
  156.        AAAAUUUUDDDDIIIIOOOO notification can be either turned on or off (set to 1
  157.        or 0), via the _s_y_s_e_r_r_p_a_n_e_l(1M) audio notification button.
  158.  
  159.        System wide changes can be made to
  160.        /usr/lib/sysmon/notification.config in order to turn
  161.        messages on or off and modify the type of notification. See
  162.        syserr(1M).
  163.  
  164.        2.6  _D_i_s_t_r_i_b_u_t_e_d__E_n_v_i_r_o_n_m_e_n_t
  165.  
  166.  
  167.        This section describes how to monitor multiple machines from
  168.        a central location.  The central hostname (also called the
  169.        collector) is often aliased to loghost for notification and
  170.        SYSLOG file browsing.  Large sites may want to take
  171.        advantage of user configurable notification, for paging
  172.        system administrators, etc. The remote system do not need to
  173.        have sysmon installed, nor do they need to be SGI systems.
  174.        Any UNIX system which runs syslogd will work.  To add a
  175.        system, follow this steps:
  176.  
  177.        login to the remote system
  178.  
  179.          1.  rlogin host -l root
  180.  
  181.          2.  Edit the file /etc/syslog.conf and add the following 2
  182.              lines for SGI systems:
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.                                   - 4 -
  197.  
  198.  
  199.  
  200.              kern.debug      |/usr/adm/klogpp        @loghost
  201.              *.debug;kern.none                       @loghost
  202.  
  203.              Kloggp is specific to SGI systems, so on non-sgi
  204.              systems should just add this line:
  205.  
  206.              *.debug         @loghost
  207.  
  208.              Where 'loghost' is the name of your central host.
  209.              Note: the fields in the above lines are delimited by
  210.              tabs *only*.  (See the man page on syslogd for more
  211.              configuration information)
  212.  
  213.              Remote configuration file managers, such as rrrrddddiiiisssstttt(1c)
  214.              and IRIXpro's pppprrrrooooppppeeeellll software can simplify this
  215.              process.
  216.  
  217.          3.  /etc/killall -HUP syslogd   (to signal syslogd to
  218.              reread it's config)
  219.  
  220.              Data should now be forwarded to the loghost.  Run
  221.              sysmon on the loghost (Make sure 'View hostname" is
  222.              toggled on.)  You should see the syslogd "restart"
  223.              message for the remote system.  If not, log a syslog
  224.              test message with the "logger" command from the remote
  225.              system:
  226.  
  227.              logger -p1 test
  228.  
  229.          4.  If a large number of machines are forwarding messages
  230.              to the loghost, the SYSLOG file may grow very large.
  231.              By default the system only checks the SYSLOG file
  232.              every week. You may want to edit the file
  233.              /usr/spool/cron/crontabs/root and edit the line:
  234.  
  235.              1       1       *       *       0       umask 033;cd
  236.              /usr/adm;if test -s SYSLOG && test "`wc -c SYSLOG`"
  237.              -ge 10240; then mv -f SYSLOG oSYSLOG;touch SYSLOG;
  238.              killall 1 syslogd; fi
  239.  
  240.              To:
  241.  
  242.              1       1       *       *       *      umask 033;cd
  243.              /usr/adm;if test -s SYSLOG && test "`wc -c SYSLOG`"
  244.              -ge 1000000; then mv -f SYSLOG oSYSLOG;touch SYSLOG;
  245.              killall 1 syslogd; fi
  246.  
  247.              After making this change, cron will check if the size
  248.              of SYSLOG is greater than 1 Megabyte at 1:01 am every
  249.              night and if so, rotate the log to oSYSLOG.  You'll
  250.              want to adjust the rotate size depending on the
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.                                   - 5 -
  263.  
  264.  
  265.  
  266.              performance of your system running ssssyyyyssssmmmmoooonnnn(1M) and the
  267.              amount of data you want to save.
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.