RASQLCHECKCONF(1)

πŸ“¦ version 5.0.2+git20250321.41f65e2, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… RASQLCHECKCONF πŸ’…

okay bestie, welcome to rasqlcheckconf β€” she lives in the General Commands Manual section (section 1, obvs), and she's here to vibe-check your argus config against your database. no cap.


✨ NAME ✨

rasqlcheckconf β€” write argus(8) data into mysql database tables. 🫢


🌸 SYNOPSIS 🌸

rasqlcheckconf [raoptions] [-- filter-expression]

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically, rasqlcheckconf writes argus data into a mysql database. slay.

her main character function is comparing an argus.conf file with the entries in a MySQL database table. using the same syntax and strategies as literally every other ra* program, rasqlcheckconf creates databases and database tables, as needed, based on the print specification on either the command-line or the .rarc file. it's giving consistency, periodt. πŸ’–

by default, rasqlcheckconf 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 (yes, drama, we love a nonzero exit). if the -M replace option is provided, rasqlcheckconf will replace the database table with the items in the argus.conf file. ✨

and using the standard ra* client command line options, you can specify particular argus.conf files, and modify the database and table names used for comparison. your config, your rules, bestie. πŸ’…


πŸŽ€ RASQLCHECKCONF SPECIFIC OPTIONS πŸŽ€

rasqlcheckconf, like all ra based clients, supports a number of ra options. πŸ‘‘

not me telling you there are no rasqlcheckconf(1) specific options. that's the whole vibe. she's running the standard ra* playbook, no extra sprinkle. 😭

🌈 INVOCATION 🌈

πŸ’œ this one compares the defaults

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 one targets a specific table

this invocation compares the default /etc/argus.conf configuration with a specific database table.

rasqlcheckconf -r mysql://root@localhost/argus/argusConf

πŸ’œ this one is the overachiever

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, and honestly, each one is a whole mood:

  • 0 β€” All entries matched. πŸŽ‰ she ate, everything lines up, no notes.
  • 1 β€” The contents of the database table did not match the configuration file. πŸ’€
  • 2 β€” The database table was empty or did not exist. πŸ™ˆ the table said "who?"

Copyright (c) 2000-2024 QoSient. All rights reserved.

pls respect the copyright, bestie, it's not a vibe to steal. 🫢

πŸ“ SEE ALSO πŸ“

rasql(1), ra(1), rarc(5), argus(8),

go read those too, iykyk. the whole ra* cinematic universe is lowkey iconic. 🌈


🧚 AUTHORS 🧚

Carter Bullard (carter@qosient.com). main character energy fr fr. πŸ’–


and that's the whole page, bestie πŸ’… β€” brought to you by rasqlcheckconf version 5.0.2, dated 12 August 2023. now go check that config, slay, and remember: always read the RETURN VALUES before you panic. bye babes πŸŽ€βœ¨