rootcheck options are available in the the following installation types:
All rootcheck options must be configured in the /var/ossec/etc/ossec.conf or /var/ossec/etc/shared/agents.conf and used within the <ossec_config> tag.
XML excerpt to show location if part of ossec.conf:
<ossec_config>
<rootcheck>
<!--
rootcheck options here
-->
</rootcheck>
</ossec_config>
XML excerpt to the Location if part of agent.conf
<agent_config>
<rootcheck>
<!--
rootcheck options here
-->
</rootcheck>
</agent_config>