Trace: » The alerting plugin

Table of Contents

The alerting plugin

This plugin works with GLPI versions 0.70 and up.

The plugin allows you to send alerts in the form of an email on:

  • Tickets not closed
  • Computers that are not synchronized with OCS-NG
  • Reservations that will expire
  • Notes that are expired

Configurable delays can be set.

Installation

After decompressing the archive into the plugin folder of GLPI log on as administrator:

Menu: Configuration / Plugins / Alerts / Installation

This will create the tables used by the plugin.

Rights Management

Menu: Configuration / Plugins / Notifications / Rights Management profile

This step allows you to define user profiles that can use the extension.

Tips

You can change the interval of time to delay sending alerts in setup.php

$ PLUGIN_HOOKS [ 'cron'] [ 'alerting_ocs'] = DAY_TIMESTAMP;
$ PLUGIN_HOOKS [ 'cron'] [ 'alerting_tickets'] = DAY_TIMESTAMP;
$ PLUGIN_HOOKS [ 'cron'] [ 'alerting_reminder'] = DAY_TIMESTAMP;
$ PLUGIN_HOOKS [ 'cron'] [ 'alerting_reservations'] = HOUR_TIMESTAMP;
$ PLUGIN_HOOKS [ 'cron'] [ 'alerting_rss'] = HOUR_TIMESTAMP; ==

The potential values:

MINUTE_TIMESTAMP
HOUR_TIMESTAMP
DAY_TIMESTAMP
WEEK_TIMESTAMP
MONTH_TIMESTAMP