Provided by: argus-client_5.0.2+git20250321.41f65e2-2ubuntu1_amd64 

NAME
rasqlcheckconf - write argus(8) data into mysql database tables.
SYNOPSIS
rasqlcheckconf [raoptions] [-- filter-expression]
DESCRIPTION
rasqlcheckconf writes argus data into a mysql database.
The principal function of rasqlcheckconf is to compare an argus.conf file with the entries in a MySQL
database table. Using the same syntax and strategies for all other ra* programs, rasqlcheckconf creates
databases and database tables, as needed based on the print specification on the either the command-line
or the .rarc file.
rasqlcheckconf by default, will compare /etc/argus.conf with the entries in the argusConf table in the
argus database. If the database is different, rasqlcheckconf will return a non-zero RETURN VALUE. If
the "-M replace" option is provided, rasqlcheckconf will replace the database table, with the items in
the argus.conf file.
Using the standard ra* client command line options, you can specify particular argus.conf files, and
modify the database and table names use for comparison.
RASQLCHECKCONF SPECIFIC OPTIONS
rasqlcheckconf, like all ra based clients, supports a number of ra options.
There are no rasqlcheckconf(1) specific options.
INVOCATION
This invocation compares the default /etc/argus.conf configuration with the default database and table,
or ones that are specified in the users .rarc file.
rasqlcheckconf
This invocation compares the default /etc/argus.conf configuration with a specific database table.
rasqlcheckconf -r mysql://root@localhost/argus/argusConf
This invocation compares an alternate argus.conf configuration with a specific database table, and
replaces the database entries if there are differences.
rasqlcheckconf -f argus.conf -r mysql://root@localhost/argus/argusConf -M replace
RETURN VALUES
rasqlcheckconf exits with one of the following values:
0 All entries matched.
1 The contents of the database table did not match the configuration file
2 The database table was empty or did not exist
COPYRIGHT
Copyright (c) 2000-2024 QoSient. All rights reserved.
SEE ALSO
rasql(1), ra(1), rarc(5), argus(8),
AUTHORS
Carter Bullard (carter@qosient.com).
rasqlcheckconf 5.0.2 12 August 2023 RASQLCHECKCONF(1)