Issue #4076 has been updated by Daniel Pittman.

Description updated
Status changed from Unreviewed to Accepted

I would love to move the Nagios support out into a module, rather than the 
core, but until we do that we still own this problem.
----------------------------------------
Bug #4076: Naginator creates config it can't parse
https://projects.puppetlabs.com/issues/4076

Author: Dis Connect
Status: Accepted
Priority: Normal
Assignee: 
Category: nagios
Target version: 
Affected Puppet version: 0.25.5
Keywords: 
Branch: 


Parsing a config it wrote out earlier:

    Could not prefetch nagios_host provider 'naginator': Could not parse 
configuration for nagios_host: line 212: syntax error at ' ' in 
/etc/nagios/nagios_host.cfg

The stanza it is objecting to contains "parents " (no value).

Also, the parser is _incredibly_ slow: 
(Changes are due to the failed parser, there were no changes.)

    Changes:
                Total: 313
    Resources:
              Applied: 311
               Failed: 2
          Out of sync: 312
            Scheduled: 4024
              Skipped: 1
                Total: 4311
    Time:
       Config retrieval: 230.79
                 Cron: 0.01
                 Exec: 10.04
                 File: 9.53
           Filebucket: 0.00
                 Host: 0.23
                Mount: 1.19
       Nagios command: 0.04
          Nagios host: 15.76
       Nagios service: 141.28
              Package: 41.20
             Schedule: 0.00
              Service: 2.65
       Ssh authorized key: 0.02
               Sysctl: 0.00
                Total: 452.73
    warning: Value of 'preferred_serialization_format' (pson) is invalid for 
report, using default (b64_zlib_yaml)
    notice: Finished catalog run in 1878.84 seconds
    .
    real        35m31.650s
    user        31m3.720s
    sys 0m22.260s




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to