[augeas-devel] [Augeas] #312: nagioscfg.aug has problems parsing nagios cgi.cfg & resource.cfg files
Augeas
trac at fedorahosted.org
Wed Dec 5 11:52:28 UTC 2012
#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
More information about the augeas-devel
mailing list