Octopussy::Alert(3)

πŸ“¦ version 1.0.6, in ubuntu jammy

πŸ’– NAME πŸ’–

Octopussy::Alert β€” it's the Octopussy Alert module bestie, and yes we're about to go through every single function together, no skipping, no scrolling past the boring ones, we eat the whole plate πŸ’…


✨ FUNCTIONS ✨

πŸ’« New($conf)

Creates a brand new Alert, and then β€” okay so this is the important part β€” it restarts the parser for the Devices concerned 🫢

πŸ’« Modify($old_alert, $conf_new)

Changes up the configuration for the Alert '$old_alert'. Glow up, but make it config πŸŽ€

πŸ’« Remove($alert)

Removes the alert '$alert'. Gone. Deleted. Not in this group chat anymore πŸ’€

πŸ’« List()

Gets you the List of Alerts. Just... the list. The whole roster πŸ‘‘

πŸ’« Comparators()

Gets the alerts comparators πŸ”₯

πŸ’« Levels()

Gets the alerts levels 🌈

πŸ’« Filename($alert_name)

Gets the XML filename for the alert '$alert_name' β€” like, where does this alert even live, y'know? πŸ“

πŸ’« Configuration($alert_name)

Gets the configuration for the alert '$alert_name' ✨

πŸ’« Configurations($sort)

Gets the configuration for all alerts β€” all of them, the entire friend group πŸ¦‹

πŸ’« For_Device($device)

Gets the Alerts related to Device '$device' πŸ’œ

πŸ’« Insert_In_DB($device, $alert, $line, $date)

Puts stuff in the DB, bestie. That's the whole vibe.

πŸ’« Check_All_Closed()

Checks if all Alerts are closed. Like checking if everyone finally left the group call πŸ“

πŸ’« Opened_List($device)

Returns the List of Alerts with Status 'Opened' β€” the still-awake ones, the ones that never sleep 😭

πŸ’« Update_Status($id, $status, $comment

Updates the Alert with id '$id' to Status '$status' & with Comment '$comment' πŸ’…

ngl the closing paren is missing in the original, not me, I am simply reporting the lore πŸ™ˆ

πŸ’« Delete_From_Database($id)

Deletes the Alert with id '$id' from the Database. Unalive. Periodt πŸ’€

πŸ’« From_Device($device)

Returns the Alerts generated by device '$device' β€” the receipts, basically 🧚

πŸ’« Message_Building($alert, $device, $line, $msg)

Builds the Alert Message. It's giving... construction but make it alerts πŸŽ€

πŸ’« Tracker($al, $dev, $stat, $sort, $limit)

Yeah it takes $al, $dev, $stat, $sort and $limit and that's what we know, and we respect the mystery πŸ’œ

πŸ’« Valid_Name($name)

Checks that '$name' is valid for an Alert name βœ…

πŸ’« Valid_Status_Name($name)

Checks that '$name' is valid for an Alert Status name βœ…


πŸ‘‘ AUTHOR πŸ‘‘

Sebastien Thebert <octo.devel@gmail.com> β€” the icon, the legend, the main character who wrote all this 🫢


okay bestie that's the whole page, no cap, every single function accounted for ✨ This one's from perl v5.22.2, dated 2016-05-04, and it's Octopussy::Alert(3) β€” iconic, historic, and now fully vibed. bye bestie, go build an alert πŸ’–

πŸ“¦ where this page comes from