--
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to help-cfengin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/40d0751b-c7ae-4297-8aa6-5f8465941789n%40googlegroups.com.
As Aleksey noted, there is an assumption that cf-serverd and cf-monitord are running. No, they aren't strictly required, but they shouldn't be eating a bunch of resources either.
cf-serverd is used for sharing files, handling requests from cf-runagent, and in the Enterprise version, it's what cf-hub talks to in order to get reports about the current state and promise outcomes back to the hub.
cf-monitord measures things providing variables related to those measurements (last measured value, average value, standard deviation of value) and also defines classes related to those measurements indicating if the measured vale is 1, 2, or 3 standard deviations higher or lower than the average, e.g.
[root@hub]# cf-agent --show-evaluated-classes | grep -i mon cf_serverd_VmRSS_low monitoring,source=environment,hardclass cfengine_in_low monitoring,source=environment,hardclass cpu0_low monitoring,source=environment,hardclass cpu1_low monitoring,source=environment,hardclass cpu_low monitoring,source=environment,hardclass diskfree_low monitoring,source=environment,hardclass entropy_misc_in_low monitoring,source=environment,hardclass entropy_misc_out_low monitoring,source=environment,hardclass entropy_postgresql_in_high monitoring,source=environment,hardclass entropy_postgresql_out_low monitoring,source=environment,hardclass entropy_www_alt_out_low monitoring,source=environment,hardclass entropy_www_out_low monitoring,source=environment,hardclass entropy_wwws_in_low monitoring,source=environment,hardclass entropy_wwws_out_low monitoring,source=environment,hardclass io_readdata_low monitoring,source=environment,hardclass io_reads_low monitoring,source=environment,hardclass io_writes_low monitoring,source=environment,hardclass io_writtendata_normal monitoring,source=environment,hardclass loadavg_low monitoring,source=environment,hardclass mem_cached_low_normal monitoring,source=environment,hardclass mem_free_low_normal monitoring,source=environment,hardclass mem_total_high monitoring,source=environment,hardclass messages_normal_anomaly monitoring,source=environment,hardclass,source=persistent messages_normal_dev1 monitoring,source=environment,hardclass messages_normal_dev2 monitoring,source=environment,hardclass,source=persistent otherprocs_low monitoring,source=environment,hardclass postgres_in_high monitoring,source=environment,hardclass rootprocs_low monitoring,source=environment,hardclass smtp_in_low monitoring,source=environment,hardclass ssh_in_low monitoring,source=environment,hardclass ssh_out_low monitoring,source=environment,hardclass unexpected_local_user_count_high monitoring,source=environment,hardclass users_low monitoring,source=environment,hardclass www_alt_out_low monitoring,source=environment,hardclass www_in_low monitoring,source=environment,hardclass www_out_low monitoring,source=environment,hardclass wwws_in_low monitoring,source=environment,hardclass wwws_out_low monitoring,source=environment,hardclass
If you still want to disable things, there are some docs on Configuring component management in the MPF, did you try the things listed there?
- …usebundle => standard_services("cf-serverd", "disable")
but it still restarted. So to debug it directly, I tried those direct "systemctl…" commands.
Might be worth trying to "mask" the cf-serverd unit: usebundle => standard_services("cf-serverd", "mask")
Not sure if that would do it or not.
For 3.17 systemd related service policy was extracted into it's own bundle (but still works via standard_services).