I have gotten all of my monitoring and email notifications working well except one. My notification text contains substitution macros as per the example found in the documentation. Text is here: Hello, this is an automated email from Pandora FMS This alert has been fired because of an error or warning condition in a monitored item: Agent: _agent_ Module: _module_ Module Description: _moduledescription_ Timestamp: _timestamp_ Current Value: _data_ Thanks This works perfectly except for a custom plugin I have to check printer toner supply. The monitoring agent has a module which uses the plugin to return string values with the supply status. This return string is shown in the interface as the "data" for the module. A sample data return is here: Black Cartridge HP CE320A WARNING. See (Link not available anymore) | 'Yellow Cartridge HP CE322A'=31%;25;15;0;100 'Cyan Cartridge HP CE321A'=87%;25;15;0;100 'Magenta Cartridge HP CE323A'=87%;25;15;0;100 'Black Cartridge HP CE320A'=17%;25;15;0;100 The problem is that when I use the _data_ substitution for this module, I only get "N/A" shown in the email alert. For all other alerts I get the data shown on the interface.
Inicio del debate
