Eystein Måløy Stenberg <eystein.stenb...@gmail.com> écrit : > This message will only be printed in inform mode (-I) like for any > other promise. [...] > > You may choose from a varying number of verbosities (error, inform, > verbose, debug). > Maybe you have the level set in your policy somewhere.
You're right: body agent control { [...] inform => "true" ; [...] } The problem is, when I remove that line, I don't get some messages I find useful any more, such as: -> Updated /var/cfengine/inputs/promises.cf from source /var/cfengine/masterfiles/promises.cf on xx.xx.xx.xx because I want to know when the configuration files are updated from the master (which is an unusual event and, as such, deserves to be notified) but I don't want to be reminded that a file system is sensible as promised (which is the way it should be and, as such, doesn't deserve to be notified). Of course, Cfengine doesn't send notifications by e-mail when they don't change so I don't get the "Filesystem %s's content seems to be sensible as promised" often but, in the case of an event that generates a notification, I first receive an e-mail containing "Filesystem %s's content seems to be sensible as promised" followed by that specific notification. Then the next time cf-agent is run, I receive another e-mail containing only "Filesystem %s's content seems to be sensible as promised", which is not useful. No other e-mail is sent thereafter, as long as no other notification has to be sent. Anyway, a file is notheless generated in /var/cfengine/outputs. Maybe I missed something in the documentation and there's a way to receive unusual notifications nonetheless but I can't find it... -- Marc Baudoin STG Interactive _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine