insights-client(8)

πŸ“¦ version 3.10.5, in centos-stream 10

πŸ’– insights-client(8) β€” the Red Hat Insights Client tool, but make it make sense πŸ’–

hey bestie!! so you're looking at insights-client(8), the man page for the Red Hat Insights Client tool. don't worry, i got you. we're gonna go through this together and you're gonna understand every bit of it, fr fr. 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

okay so the whole vibe is just:

insights-client [options]

that's it. that's the shape of it. options go in, magic happens. periodt. ✨


🌸 DESCRIPTION 🌸

insights-client is literally designed to help customers proactively resolve issues that are messing with business operations in Red Hat Enterprise Linux and Red Hat Cloud Infrastructure environments. like, it's out here catching problems before they become a whole thing.

you can view alerts or learn more at https://console.redhat.com/insights/. πŸ‘‘

now bestie, real talk: this app is dynamic, which means some options may pop up that aren't even described in this manual. no cap. so please refer to the output of --help for the most up-to-date options, or check out https://access.redhat.com/articles/4099591 for more details. iykyk. πŸ’…


πŸ’… OPTIONS πŸ’…

get comfy, because there are a lot of these and each one is iconic in its own way:

  • -h, --help β€” shows this help message and then dips. classic. ✨
  • --register β€” registers the host to the Red Hat Insights service. welcome to the club, bestie πŸŽ€
  • --unregister β€” unregisters the host. it's giving "it's not me, it's you" energy πŸ™ˆ
  • --display-name=DISPLAYNAME β€” the display name to use for this host. may be used during registration. give it a cute name, you deserve it πŸ’–
  • --group=GROUP β€” adds a tag name group with the specified value to this host. the tag gets saved to the tags file. very organized of you 🌸
  • --retry=RETRIES β€” number of times to retry uploading. and just so you know, there are 180 seconds between tries. patience is a virtue bestie 😭
  • --validate β€” validates the contents of the denylist configuration. checking its vibe, essentially βœ…
  • --quiet β€” only displays error messages to stdout. minimal queen behavior πŸ‘‘
  • --silent β€” displays no messages to stdout. respectfully, silence. πŸ’€
  • --enable-schedule β€” enables automatic scheduling. let it run itself, you're busy 🌈
  • --disable-schedule β€” disables automatic scheduling. sometimes you need a break, and that's okay 🫢
  • --compressor β€” specifies the compression algorithm to use. choices are gz, bz2, xz, and none. defaults to gz. pick your fighter πŸ₯Š
  • --offline β€” collects locally only, does not connect to Insights and does not upload. introvert mode activated 🧚
  • --payload=FILE β€” skips collection and uploads a specified archive. requires --content-type though, don't forget that part 🚨
  • --content-type=TYPE β€” the content type of the archive specified with --payload. gotta label it properly, bestie πŸŽ€
  • --diagnosis β€” retrieves a diagnosis for this host. getting to the root of the matter πŸ”
  • --compliance β€” scans the system with OpenSCAP and uploads the report. very thorough, very slay ✨
  • --check-results β€” retrieves analysis results from the Red Hat Insights service. the receipts!! 🧾
  • --show-results β€” displays analysis results from the Red Hat Insights service. show and tell time πŸ‘€
  • --output-dir=DIR β€” writes the collection to a specified directory. does not perform an upload. local only, keeping it close πŸ’œ
  • --output-file=FILE β€” writes the collection to a specified file. also does not perform an upload. same energy, different destination πŸ¦‹
  • --checkin β€” performs a lightweight hourly check-in. just saying hi, keeping the streak alive ⭐
  • --list-specs β€” shows insights-client collection specs. the full menu, if you will πŸ“
  • --compliance β€” runs a Compliance scan and upload. yes it's listed again, and yes it's still iconic πŸ‘‘ (this is how the original rolls, we don't question it)
  • --module MODULE, -m MODULE β€” runs a module from within the insights.client package. analogous to python -m MODULE. use only as directed β€” don't get creative with it, bestie πŸ™

πŸ”₯ DEBUG OPTIONS πŸ”₯

these are the behind-the-scenes ones. the vip access. the "i know a guy" options. use them wisely:

  • --version β€” displays version. gotta know what you're working with πŸ’…
  • --test-connection β€” tests connectivity to Red Hat. can we reach them? let's find out πŸ“‘
  • --verbose β€” DEBUG output to stdout. all the tea, spilled β˜•
  • --no-upload β€” does not upload the archive. keeping it on the low 🫣
  • --keep-archive β€” does not delete the archive after upload. you're a collector, i respect it πŸŽ€
  • --support β€” creates a support logfile for Red Hat Insights. for when you need backup 🧚
  • --status β€” checks this host's registration status by checking the presence of /etc/insights-client/.registered file. the file is literally the proof, no cap βœ…
  • --net-debug β€” logs network activity to console. watching the wires like it's a reality show πŸ‘€

πŸŽ€ MOTD πŸŽ€

okay so here's the deal: a message will be displayed on login about insights-client if it's installed but hasn't been used at least once yet. it's like a little nudge. a "hey bestie, i'm here" moment πŸ’Œ

wanna change this message? edit the /etc/insights-client/insights-client.motd file. make it say whatever you want, it's your world 🌈

and if you want to prevent this message from being shown on login? create the /etc/motd.d/insights-client symlink pointing to /dev/null. poof, gone. iconic 🫢


✨ LOGGING ✨

insights-client utilizes the 'logrotate' tool to rotate log files. very responsible, very organized πŸ’…

to change log rotation options, edit the /etc/logrotate.d/insights-client file. please refer to the 'logrotate' tool documentation to see all available configuration options. i'm not gonna gatekeep, go read up πŸŽ€


πŸ’œ SEE ALSO πŸ’œ


and that's the whole thing!! you did it, you read the whole man page, and honestly? i'm so proud of you. this was insights-client(8) from Red Hat Insights, and you absolutely ate. no crumbs. πŸ’–βœ¨πŸŽ€

go forth and be insightful, bestie. ily. πŸ«ΆπŸ‘‘

πŸ“¦ where this page comes from