Re: Offsite puppet errors

Nathan Crawford <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <CAO7MVFpMfi_1bKu4NoxRMA7nufgr5v2t07x7EM97UnAsAWPVQA@mail.gmail.com>
On Mon, Jul 25, 2011 at 5:48 PM, Orion Poplawski <[email protected]>wrote:

> Looking for suggestions as to how to handle this.  When a user's laptop is
> offsite, it cannot connect to the puppet server so I get the following
> logwatch report:
>
> --------------------- Puppet Begin ------------------------
>
>  Failed runs: 47
>
>  **Unmatched Entries**
>  (/File[/var/lib/puppet/lib]) Could not evaluate: getaddrinfo: Name or
> service not known Could not retrieve file metadata for
> puppet://puppet/plugins: getaddrinfo: Name or service not known: 47 Time(s)
>
>  ---------------------- Puppet End -------------------------
>
>
> Which I basically want to ignore.  The full set of puppet logs are:
>
> Jul 25 10:22:48 moa puppet-agent[1404]: (/File[/var/lib/puppet/lib]) Failed
> to
> generate additional resources using 'eval_generate': getaddrinfo: Name or
> service not known
> Jul 25 10:22:48 moa puppet-agent[1404]: (/File[/var/lib/puppet/lib]) Could
> not
> evaluate: getaddrinfo: Name or service not known Could not retrieve file
> metadata for puppet://puppet/plugins: getaddrinfo: Name or service not
> known
> Jul 25 10:22:50 moa puppet-agent[1404]: Could not retrieve catalog from
> remote
> server: getaddrinfo: Name or service not known
> Jul 25 10:22:50 moa puppet-agent[1404]: Using cached catalog
> Jul 25 10:22:50 moa puppet-agent[1404]: Could not retrieve catalog;
> skipping run
>
> Thoughts?  Perhaps a configuration variable "ignore_failed_connections" or
> some such?
>
> --
> Orion Poplawski
> Technical Manager                     303-415-9701 x222
> NWRA/CoRA Division                    FAX: 303-415-9702
> 3380 Mitchell Lane                  [email protected]
> Boulder, CO 80301              http://www.cora.nwra.com
>
>
> ------------------------------------------------------------------------------
> Storage Efficiency Calculator
> This modeling tool is based on patent-pending intellectual property that
> has been used successfully in hundreds of IBM storage optimization engage-
> ments, worldwide.  Store less, Store more with what you own, Move data to
> the right place. Try It Now!
> http://www.accelacomm.com/jaw/sfnl/114/51427378/
> _______________________________________________
> Logwatch-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/logwatch-devel
>

My opinion is that it should be ignored, since it's already printing the
failed runs. Or perhaps the connection failures could be counted and only
printed if $Detail > 5.

- Nathan

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/

_______________________________________________
Logwatch-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/logwatch-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.