ospatrol-control

ospatrol-control is a script to start, stop, configure, or check on the status of OSPatrol processes. ossc-control can enable or disable client-syslog, database logging, agentless configurations, and debug mode.

ospatrol-control argument options

start
Start the OSPatrol processes.
stop
Stop the OSPatrol processes.
restart
Restart the OSPatrol processes.
reload

Restart all OSPatrol processes except ospatrol-execd. This allows an agent to reload without losing active response status.

Note

This is only available on an OSPatrol agent.

status
Determine which OSPatrol processes are running.
enable

Enable OSPatrol functionality.

database

Enable the ospatrol-dbd daemon for logging to a database.

Available: Server and local installs only.

Note

Database support must be compiled in at install time.

client-syslog

Enable ospatrol-csyslogd for logging to remote syslog.

Available: Server and local installs only.

agentless

Enable ospatrol-agentlessd for running commands on systems without OSPatrol agents.

Available: Server and local installs only.

debug
Run all OSPatrol daemons in debug mode.
disable

Disable OSPatrol functionality.

database

Disable the ospatrol-dbd daemon for logging to a database.

Available: Server and local installs only.

Note

Database support must be compiled in at install time.

client-syslog
Disable ospatrol-csyslogd for logging to remote syslog.

Available: Server and local installs only.

agentless

Disable ospatrol-agentlessd for running commands on systems without OSPatrol agents.

Available: Server and local installs only.

debug
Turn off debug mode.

ospatrol-control example usage

Example: Running ospatrol-control

# /var/ospatrol/bin/ospatrol-control

Usage: /var/ospatrol/bin/ospatrol-control {start|stop|restart|status|enable|disable}