Net_Monitor
[ class tree: Net_Monitor ] [ index: Net_Monitor ] [ all elements ]

Source for file jabber.php

Documentation is available at jabber.php

  1. <?php
  2. require('Net/Monitor.php');
  3. $monitor = new Net_Monitor();
  4. $alerts = array('User1' => array('SMTP' => 'user1@example.com'),
  5.                 'User2' => array('Jabber' => array('server' => 'jabber.org',
  6.                 'recipient' => 'user2@jabber.org',
  7.                 'login' => 'user2',
  8.                 'password' => 'foo')),
  9.                 'User3' => array('Jabber' => array('server' => 'jabber.org',
  10.                 'recipient' => 'user3@jabber.org',
  11.                 'login' => 'user3',
  12.                 'password' => 'bar')) );
  13. $services = array('example.com' => array('DNS'));
  14. $monitor->setAlerts($alerts);
  15. $monitor->setServices($services);
  16. $monitor->checkAll();

Documentation generated on Mon, 11 Mar 2019 15:56:40 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.