cvs: pear /Net_Monitor/examples growl.php

From: Date: Sun, 18 Sep 2005 21:41:54 +0000
Subject: cvs: pear /Net_Monitor/examples growl.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-34857@lists.php.net to get a copy of this message
cyberscribe Sun Sep 18 17:41:54 2005 EDT Added files: /pear/Net_Monitor/examples growl.php Log: Usage example for Net_Monitor_Alert_Growl http://cvs.php.net/co.php/pear/Net_Monitor/examples/growl.php?r=1.1&p=1 Index: pear/Net_Monitor/examples/growl.php +++ pear/Net_Monitor/examples/growl.php <?php require('Net/Monitor.php'); $monitor = new Net_Monitor(); $alerts = array('User1' => array('SMTP' => 'user1@example.com'), 'User2' => array('Growl' => array('server' => '127.0.0.1')), 'User3' => array('Growl' => array('server' => '127.0.0.1', 'password' => 'foo')) ); $services = array('example.com' => array('DNS')); $monitor->setAlerts($alerts); $monitor->setServices($services); $monitor->checkAll(); ?>

« previous php.pear.cvs (#34857) next »