Re: CFEngine Help: Re: bug? ifvarclass in reports after any::

2011-08-05 Thread Ramon Bastiaans
Yes, because the other report with SOME_CLASS works fine in conjunction with cpath_vol. I also added a "debug" shellcommand that prints the class cpath_vol with /bin/echo. That also works and prints the class actual name, so I'm pretty sure it is defined. On 08/05/2011 08:09 AM, no-re...@cfe

bug? ifvarclass in reports after any::

2011-08-04 Thread Ramon Bastiaans
Hi, It seems to me using "ifvarclass" does not work after a "any::" statement. I'm trying to use a dynamic class to generate an alert. For example: reports: # this does not work ? any:: "Disk space for $(path) is below $(space) and is LOW" ifvarcl

Re: [cf-2] Copying symlink targets?

2010-01-21 Thread Ramon Bastiaans
I think this is what you are looking for: linktype=copy or linktype=none "If this value is set to copy or none, symbolic links will be replaced by actual copies of the files they point to." Kind regards, - Ramon. On 01/19/2010 09:15 PM, Paul Krizak wrote: The documentation seems to suggest

Re: How do you monitor your cfengine client instances?

2010-01-21 Thread Ramon Bastiaans
Create a cronjob/script that checks if cfexecd is running. */15 * * * * root/etc/cfengine/check_cfdaemons.cf If you use cfagent as interpreter it will even send you an email if the daemons were restarted/crashed. - Ramon. root# cat /etc/cfengine/check_cfdaemons.cf #!/usr/sbin/cfage