Changes between Initial Version and Version 1 of OMDpost-install-checklist

Show
Ignore:
Timestamp:
10/03/11 17:07:56 (8 years ago)
Author:
jonmills (IP: 152.54.8.104)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OMDpost-install-checklist

    v1 v1  
     1All paths relative to $OMD_ROOT: 
     2 
     3== ~/local/bin ==  
     4(place eventhandler scripts here) 
     5 
     6== ~/etc/check_mk/main.mk == 
     7(see [wiki:OMDconfiguration]) 
     8 
     9== ~/etc/check_mk/conf.d/* == 
     10(see [wiki:OMDconfiguration]) 
     11 
     12== ~/etc/check_mk/multisite.mk ==  
     13(edit starturl) 
     14{{{ 
     15# URL to show as welcome page (in the 'main' frame). 
     16# You can use relative URL or absolute URLs like 'http://server/url' 
     17# Default is 'main.py' 
     18start_url = 'view.py?view_name=hostsbygroup' 
     19}}} 
     20 
     21== ~/etc/nagios/conf.d/commands.cfg ==  
     22(add email commands to top of file) 
     23{{{ 
     24# 'notify-host-by-email' command definition 
     25define command{ 
     26        command_name    notify-host-by-email 
     27        command_line    /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ 
     28        } 
     29 
     30# 'notify-service-by-email' command definition 
     31define command{ 
     32        command_name    notify-service-by-email 
     33        command_line    /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ 
     34        } 
     35}}} 
     36 
     37== ~/etc/apache/conf.d/omd.conf == 
     38(edit redirect at top) 
     39{{{ 
     40#RedirectMatch ^/nagios$  /nagios/omd/ 
     41#RedirectMatch ^/nagios/$ /nagios/omd/ 
     42RedirectMatch ^/nagios$  /nagios/check_mk/ 
     43RedirectMatch ^/nagios/$ /nagios/check_mk/ 
     44}}} 
     45 
     46== ~/etc/apache/conf.d/auth.conf == 
     47(custom edit, e.g. to provide LDAP auth) 
     48 
     49== ~/share/check_mk/checks/qemu == 
     50Add this check so that you can use Check_MK to inventory the VMs hosted by the KVM hypervisor. 
     51 
     52== ~/.euca[/eucarc] ==  
     53(so omd user can run euca commands) 
     54 
     55== ~/.profile == 
     56 (source eucarc file using absolute path to file) 
     57 
     58== ~/tmp == 
     59*Fix Group-Write Permissions 
     60 
     61{{{ 
     62cd ~/tmp 
     63chmod -R g+w . 
     64}}} 
     65 
     66* The 'apache' user is a member of the group with same name as $OMD_SITE.  If you don't do this, then the webserver can't write to $OMD_ROOT/tmp, meaning that many, many things will break -- including the ability to create a PHP session -- meaning the whole site fails to work.