Munin::...:Plugin(3)
πΈ 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@suggestionsto 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
- nixos 26.05: munin 2.0.76
- nixpkgs unstable: munin 2.0.78
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms