Changes between Version 4 and Version 5 of howto/SetupXymonServer
- Timestamp:
- Nov 16, 2010, 5:03:03 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/SetupXymonServer
v4 v5 6 6 * Requires: MacPorts >= 1.9, xymon-server 7 7 8 ---- 8 9 9 10 == Introduction == … … 13 14 The 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). 14 15 16 ---- 15 17 16 18 == Installation == … … 22 24 }}} 23 25 26 == Variants == 27 28 === SNMP === 29 30 There'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 {{{ 33 sudo port install xymon-server +snmp 34 }}} 35 36 You 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 ---- 24 39 25 40 == Configuration == … … 29 44 === Step 1: ''Tune the number of shared message queues'' === 30 45 31 Xymon server needs at least 9 IPC message queues to run. Unfortunately Mac OS X ships with a default max of 8.46 Xymon server needs at least 9 IPC message queues to run. Unfortunately Mac OS X 10.6 ships with a default max of 8. 32 47 33 48 Check how much shared segments a process can use on your system: … … 56 71 Xymon "make install" ends with: 57 72 58 You must configure your webserver for the Hobbitwebpages and CGI-scripts.59 A sample Apache configuration is in /opt/local/lib/xymon/server/etc/ hobbit-apache.conf73 You must configure your webserver for the Xymon webpages and CGI-scripts. 74 A sample Apache configuration is in /opt/local/lib/xymon/server/etc/xymon-apache.conf 60 75 If you have your Administration CGI scripts in a separate directory, 61 76 then you must also setup the password-file with the htpasswd command. … … 63 78 So the following commands should do it: 64 79 {{{ 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)/ 66 81 $ sudo /usr/sbin/apachectl restart 67 82 }}} … … 96 111 To 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/ 97 112 113 ---- 98 114 99 115 == Operate Xymon server == … … 102 118 103 119 {{{ 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] 105 121 }}} 106 122 123 ---- 124 125 107 126 [wiki:howto <- Back to the HOWTO section]