#312: nagioscfg.aug has problems parsing nagios cgi.cfg & resource.cfg files
---------------------+---------------------
 Reporter:  anuaimi  |       Owner:  lutter
     Type:  defect   |      Status:  new
 Priority:  major    |   Milestone:  next
Component:  Augeas   |     Version:  0.10.0
 Keywords:  nagios   |  Blocked By:
 Blocking:           |
---------------------+---------------------
 on Ubuntu 12.04, when I run augtool and type
 {{{
 match /augeas//errors
 }}}
 , I see parse errors for cgi.cfg & resource.cfg in /etc/nagios3 subdir.

 Both problems are related to the lens not being flexible enough for the
 file format.
 In resource.cfg, the default file has a key with a $:
 {{{
 $USER1$=/usr/local/nagios/libexec
 }}}

 In cgi.cfg, the default file has an entry where the value has spaces in
 it:
 {{{
 ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$
 }}}

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/312>
Augeas <http://augeas.net/>
a configuration API

_______________________________________________
augeas-devel mailing list
augeas-devel@redhat.com
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to