Changes between Version 4 and Version 5 of how-to/servers/puppet/setup-nagios-monitor


Ignore:
Timestamp:
May 3, 2013, 12:39:40 PM (6 years ago)
Author:
Ross
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • how-to/servers/puppet/setup-nagios-monitor

    v4 v5  
    7575
    7676=== Finally add the hostgroup to nagios manifest ===
    77 This is not a mandatory step.  If the monitor should be run on all servers, then add the hostgroup/service here.  Otherwise leave it out.
     77This is not a mandatory step.  If the monitor should be run on all servers, then add the hostgroup/service here.  Otherwise leave it out, but be sure to include in the monitor script a line that specifies under what context the script should be run.  For example (from mf-monitor-fcgid):
     78
     79{{{
     80# Only run if fcgid is installed
     81[ ! -e "/etc/apache2/mods-enabled/fcgid.conf" ] && exit 0
     82}}}
    7883
    7984'''projects/puppet/modules/mayfirst/manifests/nagios.pp'''