Hi all,

I am using Puppet 3.7.3 and have a question about tagmail.

My tagmail.conf is setup to send email only when there is err and above:
*err, alert, emerg, crit: us...@test.com*

I have a module to check javalinks:

class javalinks {

file {       
    "/usr/java/latest": 
    ensure => link,
    noop   => true,
  }
}

I want the module to ensure /usr/java/latest is a link, but don't do 
anything (noop => true). 
I want to get an email notifcation if the link is missing.

If I don't have such a link, run "puppet agent -t" on the machine will 
display this on console:

*      Notice: /Stage[main]/Javalinks/File[/usr/java/latest]/ensure: 
current_value absent, should be link (noop)*

Since it is "Notice" level log, I don't get any email notification. 

So here is my question:

*How could I get email notification for this specific Notice message, 
without changing my tagmail.conf log level?* 

Thanks,
Stacey

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/3ba15882-3483-433f-ae5f-7ad287ec226a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to