Man page - rasqlcheckconf(1)
Packages contas this manual
- racount(1)
- rasqlcheckconf(1)
- radns(1)
- ratrace(1)
- racluster(1)
- rastrip(1)
- raconvert(1)
- rastream(1)
- radium(8)
- rasort(1)
- rahisto(1)
- raevent(1)
- radium.conf(5)
- rapath(1)
- rasplit(1)
- ralabel(1)
- rasqltimeindex(1)
- racompare(1)
- ra.conf(5)
- ranonymize(5)
- radns.conf(1)
- rasql(1)
- rarc(5)
- rabins(1)
- racolor.conf(5)
- radump(1)
- ranonymize(1)
- ramanage.conf.5(5)
- rafilteraddr(1)
- rapolicy(1)
- rasqlinsert(1)
- ragrep(1)
- ra(1)
- radecode(1)
- ratop(1)
- ragen(1)
- ralabel.conf(5)
- racluster.conf(1)
- ragraph(1)
- ramanage(1)
apt-get install argus-client
Manual
| RASQLCHECKCONF(1) | General Commands Manual | RASQLCHECKCONF(1) |
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).
| 12 August 2023 | rasqlcheckconf 5.0.2 |