Forum: Cfengine Help
Subject: Re: number of cf-monitor processes
Author: Authority
Link to topic: https://cfengine.com/forum/read.php?3,19125,19133#msg-19133

Your description of the functionality of the promise is the same as mine, so I 
guess it's good we're reading it the same.

Took us a while, but we finally got back to my original question.  I should 
*not* expect multiple instances of cf-monitord to be running.  Very good, then 
my promise is as it should be.

 !! Process count for 'cf-monitord' was out of promised range (2 found)
I: Made in version 'not specified' of '/var/cache/cfengine/inputs/promises.cf' 
near line 317
I: Comment: Cfengine 3 environment monitor

So this showstate thing I am unfamiliar with.  Should I do something like this 
and get a complete listing of processes?

reports:
    restart_cf_monitord::
        'Restarting cf-monitord"
            showstate => {"rootprocs" , "otherprocs"};

Or is there a way to get just a list of what my process promise matched?

Unfortunately setting verbose is not really a very good option as I don't have 
any means of predicting on what systems and at what times my promise needs to 
be repaired due to two cf-monitord processes.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to