OCTO_REPORTER(1)

πŸ“¦ version 1.0.6, in ubuntu jammy

πŸ‘‘ OCTO_REPORTER πŸ’…

okay so bestie, this is the manual page for octo_reporter(1), from the User Contributed Perl Documentation section of the manual. Yes, section 1. Yes, it's a Perl thing. Yes, it's iconic. Let's get into it 🫢


✨ NAME ✨

octo_reporter β€” the Octopussy Reporter program. that's it, that's the name, and honestly? it ate πŸ’–


🌸 SYNOPSIS 🌸

the main character invocation, look at her:

octo_reporter --report <report> --device <device> --service <service>
  --taxonomy <taxonomy> --begin YYYYMMDDHHMM --end YYYYMMDDHHMM
  [ --pid_param <string> ] --output <output_file>

and then the lil add-on crews, one per delivery vibe:

Mail options:

--mail_subject <subject> --mail_recipients <recipients>

FTP options:

--ftp_host <host> --ftp_dir <dir>
--ftp_user <user> --ftp_password <password>

SCP options: (SSH Public Key required β€” no key, no entry, bestie πŸ”‘)

--scp_host <host> --scp_dir <dir> --scp_user <user>

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically octo_reporter is the program the Octopussy Project uses to generate Reports. that's the whole assignment. she reports. she generates. she serves. πŸ’…


πŸŽ€ FUNCTIONS πŸŽ€

Help()

Prints Help. literally just prints Help. we love a queen who knows her one job 😌

Progress($msg, $num)

Sets progress status. so you can see how far along things are. very demure, very mindful of your need for feedback ✨

SQL($ref_pos, @args)

Generates SQL line. one line of SQL, freshly generated, no cap 🧚

Get_Messages_To_Parse($services, $taxo, $table, $query, $fields_list)

Returns list of Messages to parse. she fetches the messages, she hands them over, that's the whole vibe πŸ“

Get_TimePeriod_Files($devices, $services, $begin, $end)

Returns list of Files for Devices $devices, Services $services and Period $begin-$end. time period? respected. files? returned. obsessed πŸ’œ

Insert_Data($devices, $services, $taxo, $begin, $end, $table, $query, $field_list)

Inserts data. that's it. she puts the data in. lowkey the most important function here and she doesn't even brag 🌈

End()

Ends Reporter. closing time, lights off, main character exits stage left πŸ‘‘


πŸ’– AUTHOR πŸ’–

Sebastien Thebert <octo.devel@gmail.com> β€” thank you for your service, fr fr 🫑


⭐ SEE ALSO ⭐

go read these too, they're all in the same friend group:

  • octo_dispatcher
  • octo_extractor
  • octo_parser
  • octo_uparser
  • octo_scheduler

and that's the whole page, bestie πŸŽ€ this version is living on perl v5.22.2 and it was dated 2016-05-04 β€” a whole era, and she's still slaying. mwah πŸ’‹

πŸ“¦ where this page comes from