Munin::...:Plugin(3)

πŸ“¦ version 2.0.78, in nixos 26.05, nixpkgs unstable

🌸 NAME 🌸

Munin::Node::Configure::Plugin β€” Class representing a plugin, along with its installed and suggested services. This is the Munin::...:Plugin(3) manual page, under User Contributed Perl Documentation, bestie ✨


✨ SYNOPSIS ✨

  my $plugin = Munin::Node::Configure::Plugin->new();

πŸ› οΈ METHODS πŸ› οΈ

okay bestie, here's the whole method roster β€” no skips, no cap πŸ’…

  • new(%args) β€” Constructor. Required arguments are 'name' and 'path', which should be the basename and full path of the plugin, respectively. main character energy fr fr 🌟
  • is_wildcard() β€” Returns true if the plugin is a wildcard. In the case of SNMP plugins, only double-wild plugins will return true (ie. 'snmp__memory' would return false, but 'snmp__if_' would return true). iykyk πŸ¦‹
  • is_snmp() β€” Returns true if the plugin is an SNMP plugin. iconic little check 🌈
  • in_family(@families) β€” Returns true if plugin's family is in @families, false otherwise. lowkey a vibe check for families πŸ’…
  • is_installed() β€” Returns 'yes' if one or more links to this plugin exist in the service directory, 'no' otherwise. obsessed with a clear answer πŸŽ€
  • suggestion_string() β€” Returns a string detailing whether or not autoconf considers that the plugin should be installed. The string may also report the reason why the plugin declined to be installed, or the list of suggestions it provided, if this information is available. it's giving receipts ✨
  • installed_services_string() β€” Returns a string detailing which wildcards are installed for this plugin. slay, now we know what's installed πŸ’–
  • services_to_add() / services_to_remove() β€” Return a list of service names that should be added or removed for this plugin. literally the to-do list πŸ‘‘
  • add_instance($name) β€” Associates a link from the service directory with this plugin. cute little link-up 🫢
  • add_suggestions(@suggestions) β€” Adds @suggestions to the list of suggested wildcards for this plugin. They are not validated. no cap, no validation here πŸ™ˆ
  • read_magic_markers() β€” Sets the family and capabilities from the magic markers embedded in the plugin's executable, as specified by <http://munin-monitoring.org/wiki/ConcisePlugins#Magicmarkers>. magic markers? periodt πŸ”₯
  • parse_autoconf_response(@response) β€” Parses and validates the autoconf response from the plugin, in the format specified by <http://munin-monitoring.org/wiki/ConcisePlugins#autoconf>. Invalid input will cause an error to be logged against the plugin. not me catching bad input, iykyk πŸ’€
  • parse_suggest_response(@response) β€” Validates the suggestions from the plugin. Invalid suggestions will cause an error to be logged against the plugin. gentle reminder: keep those suggestions valid bestie 🌸
  • parse_snmpconf_response(@response) β€” Parses and validates the snmpconf response from the plugin, in the format specified by <http://munin-monitoring.org/wiki/ConcisePlugins#suggest>. Invalid or inconsistent input will cause an error to be logged against the plugin. inconsistent input? not today πŸ’…
  • log_error($message) β€” Logs an error for later retrieval. The error will also be displayed if debugging output is enabled. it's giving "I'll remember that" energy 🧚

okay that's the whole page, bestie 🫢 β€” Munin::...:Plugin(3) comes from perl v5.42.3, dated 1980-01-01. slay and goodbye πŸ’œ

πŸ“¦ where this page comes from