verify-agent-conf

verify-agent-conf verifies the OSPatrol agent.conf configuration. It exits silently if the configuration is correct.

verify-agent-conf example usage

Example 1: Running verify-agent-conf on a working agent.conf

# /var/ospatrol/bin/verify-agent-conf
#

Example 2: Running verify-agent-conf on a non-working agent.conf

# /var/ospatrol/bin/verify-agent-conf
2011/07/12 21:22:07 ospatrol-config(1226): ERROR: Error reading XML file '/var/ospatrol/etc/shared/agent.conf': XML ERR: Bad formed XML. Element not opened (line 13).