Modules

What is a module?

Modules are units of information stored within an agent. They are the monitoring elements used to extract information from the device or server that the agent points to.

Modules have different data types, such as boolean, numeric, or alphanumeric. Depending on the information collected by the module, it will be of one type or another.

Each module can only store one type of metric. Within the same agent, there cannot be two modules with the same name.

All modules have an associated status, which can be:

  • Not initiated: Where no data has been received yet.
  • Normal: Data is being received with values outside the warning or critical thresholds.
  • Warning: Data is being received with values within the warning threshold.
  • Critical: Data is being received with values within the critical threshold.
  • Unknown: The module has been working but has stopped receiving information for a certain period of time.

What types of modules are there?

There are several types of modules within Pandora FMS:

  • Data module: This is a type of local monitoring module used to perform checks on the system where the Endpoint is located, such as the device's CPU usage or its free memory.
  • Network module: This is a type of remote monitoring module used to perform checks to verify the connection with the device or server the agent points to, such as whether it is running or if a particular port is open.
  • Plugin module: This is a type of local or remote monitoring module used to perform custom checks through the creation of scripts. With them, more advanced and extensive checks can be performed than those offered directly through the Pandora FMS Web Console.
  • WMI module: This is a type of local monitoring module used to perform checks on MS Windows® systems via the WMI protocol, such as obtaining a list of installed services or the current CPU load.
  • Prediction module: This is a type of predictive monitoring module used to perform different arithmetic operations by querying data from other "base" modules, such as the average CPU usage of monitored servers or the sum of connection latency.
  • Web module: This is a type of web monitoring used to perform checks on a website's status and obtain data from it, such as seeing if a page is offline or if its response contains a specific word.
  • Web analysis module: This is a type of web monitoring used to perform simulations of a user's web browsing, such as navigating to a website, entering credentials, or filling out forms.

Each of these module types may be used or not depending on the type of agent being created. As mentioned previously, a data module, being a local monitoring module, can only be generated within an EndPoint.