Menu

HelpPage

Tobias Frech

Running the plugin with the '''-h''' option gives:

check_mbean_collector v1.1 (nagios-plugins 1.4.11)
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
Copyright (c) 2002 Karl DeBisschop/Truongchinh Nguyen/Subhendu Ghosh
Copyright (c) 2007/2008 Tobias Frech

Retrieve some MBean attribute value from a JBoss server through the collector MBean:
  check_mbean_collector -H host -p port -m mbean_name -a attribute_name -w    warning_level -c critical_level

Usage:
 check_mbean_collector -H host[,host,..] -p port -m mbean-name -a attribute-name -w    warning-level -c critical-level
 check_mbean_collector [-h | --help]
 check_mbean_collector [-V | --version]

  <host>           The server running JBoss.
                   Giving a comma separated list of hosts switches to a check for a singleton in a cluster.
  <port>           The port the deployed collector MBean is listening to
  <mbean_name>     The JMX name of the MBean that includes the attribute, e.g. jboss.system:type=ServerInfo
                   Use the ${some.env} notation to refer to a JVM environment variable on the server.
                   In Nagios config files this must be escaped like this: $$\\{some.env}
  <attribute_name> The name of the MBean attribute to retrieve, e.g. ActiveThreadCount
                   Prefix with * to get the difference between two calls (delta). ${...} can be used.
  <warning_level>  The level as a number from which on the WARNING status should be set
  <critical_level> The level as a number from which on the CRITICAL status should be set
                   If you are checking an attribute that is not a Number the specified text will raise the
                   specific level if it can be found in the textual representation of the attribute
                   If the attribute to check is a collection you can append [] to the attribute's name to compare
                   to the size of the collection

Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.