AAT::NSCA(3)

πŸ“¦ version 1.0.6, in ubuntu jammy

πŸ’– AAT::NSCA πŸ’–

okay bestie, so this is AAT::NSCA β€” it's the AAT NSCA module, and it's literally right here in the User Contributed Perl Documentation section of your man pages. no cap, that's the whole vibe. it's giving "small module, big job" and we're obsessed 🫢


✨ FUNCTIONS ✨

so there's exactly two of them, and honestly? iconic minimalism.

🌸 Configuration($appli)

takes $appli and hands you back the NSCA Configuration. that's it, that's the function. it just… gives you the config. slay πŸ’…

πŸ¦‹ Send($appli, $level, $msg, $nagios_host, $nagios_service)

this one's the main character fr fr. it sends an NSCA message β€” and the message it sends is '$msg' β€” and it goes out with the level '$level'. so you're passing in your $appli, your $level, your $msg, your $nagios_host and your $nagios_service, and off it goes. πŸ’Œ

bestie reminder: those five args are positional and the original lists them in that exact order β€” $appli, $level, $msg, $nagios_host, $nagios_service. don't shuffle them, she's not that kind of function πŸ™ˆ

πŸ‘€ SEE ALSO πŸ‘€

if you want the rest of the friend group, here they all are, no gatekeeping:

  • AAT(3)
  • AAT::Syslog(3)
  • AAT::Theme(3)
  • AAT::Translation(3)
  • AAT::User(3)
  • AAT::XML(3)

iykyk 🌈


πŸ‘‘ AUTHOR πŸ‘‘

this masterpiece was written by Sebastien Thebert <octo.devel@gmail.com> β€” absolute legend behaviour, we love to see it. πŸ’œ


and that's a wrap, bestie! this page came to you from perl v5.22.2, dated 2016-05-04, and it's filed under AAT::NSCA(3). go forth and send those messages, you got this πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from