Changes between Version 4 and Version 5 of howto/SetupXymonServer


Ignore:
Timestamp:
Nov 16, 2010, 5:03:03 PM (13 years ago)
Author:
fclaire@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • howto/SetupXymonServer

    v4 v5  
    66 * Requires: MacPorts >= 1.9, xymon-server
    77
     8----
    89
    910== Introduction ==
     
    1314The Xymon client software (port name "xymon") is collecting information on the host you want to monitor. It gathers everything into a report and sends it towards the Xymon server (port name "xymon-server") over TCP. The destination port to connect to the Xymon server is 1984 in reference to big brother http://en.wikipedia.org/wiki/Big_Brother_(Nineteen_Eighty-Four).
    1415
     16----
    1517
    1618== Installation ==
     
    2224}}}
    2325
     26== Variants ==
     27
     28=== SNMP ===
     29
     30There's only one variant available for the moment: snmp. It provides undocumented and experimental SNMP support within xymon. This variant is disabled by default. To enable it:
     31
     32{{{
     33sudo port install xymon-server +snmp
     34}}}
     35
     36You may search the Internet for "hobbit-snmpcollect", "xymon-snmpcollect", "hobbit-snmphosts.cfg" or "xymon-snmphosts.cfg" for more info about it. There's also an introduction here: http://www.xymon.com/archive/2008/01/msg00378.html
     37
     38----
    2439
    2540== Configuration ==
     
    2944=== Step 1: ''Tune the number of shared message queues'' ===
    3045
    31 Xymon server needs at least 9 IPC message queues to run. Unfortunately Mac OS X ships with a default max of 8.
     46Xymon server needs at least 9 IPC message queues to run. Unfortunately Mac OS X 10.6 ships with a default max of 8.
    3247
    3348Check how much shared segments a process can use on your system:
     
    5671Xymon "make install" ends with:
    5772
    58 You must configure your webserver for the Hobbit webpages and CGI-scripts.
    59 A sample Apache configuration is in /opt/local/lib/xymon/server/etc/hobbit-apache.conf
     73You must configure your webserver for the Xymon webpages and CGI-scripts.
     74A sample Apache configuration is in /opt/local/lib/xymon/server/etc/xymon-apache.conf
    6075If you have your Administration CGI scripts in a separate directory,
    6176then you must also setup the password-file with the htpasswd command.
     
    6378So the following commands should do it:
    6479{{{
    65 $ sudo mv /opt/local/lib/xymon/server/etc/hobbit-apache.conf /etc/apache2/(other|sites)/
     80$ sudo mv /opt/local/lib/xymon/server/etc/xymon-apache.conf /etc/apache2/(other|sites)/
    6681$ sudo /usr/sbin/apachectl restart
    6782}}}
     
    96111To view the Xymon webpages, wait 5 minutes to give Xymon time to generate the index page, open your web browser and go to http://localhost/xymon/
    97112
     113----
    98114
    99115== Operate Xymon server ==
     
    102118
    103119{{{
    104 $ sudo -u [xymon|_xymon] /opt/local/lib/xymon/server/hobbit.sh [stop|start|restart]
     120$ sudo -u [xymon|_xymon] /opt/local/lib/xymon/server/xymon.sh [stop|start|restart]
    105121}}}
    106122
     123----
     124
     125
    107126[wiki:howto <- Back to the HOWTO section]