Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
Alerting on Failed Puppet Status

How can I setup Puppet to email failed reports to an address?

I’ve setup puppet.conf like this

[master]
    server = puppet.site.net
[main]
    #dns_alt_names = puppet.site.net
    report = true
    #pluginsync = true
    # The Puppet log directory.
    # The default value is '$vardir/log'.
    logdir = /var/log/puppet

    # Where Puppet PID files are kept.
    # The default value is '$vardir/run'.
    rundir = /var/run/puppet

    # Where SSL certificates are kept.
    # The default value is '$confdir/ssl'.
    ssldir = $vardir/ssl

[agent]
    # The file in which puppetd stores a list of the classes
    # associated with the retrieved configuratiion.  Can be loaded in
    # the separate ``puppet`` executable using the ``--loadclasses``
    # option.
    # The default value is '$confdir/classes.txt'.
    classfile = $vardir/classes.txt

    # Where puppetd caches the local configuration.  An
    # extension indicating the cache format is added automatically.
    # The default value is '$confdir/localconfig'.
    localconfig = $vardir/localconfig

I’ve seen a post. But it’s for everything.

I need only failures. Both on master & clients.
Can someone help me with a working conf & setup?

share|improve this question

marked as duplicate by quanta, voretaq7 Nov 11 '12 at 1:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 1 down vote accepted

You will have more luck using Foreman for this purpose.

If you can code in Ruby, you can add more features in Foreman to email on very specific errors or events, and to different people etc.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.