Ok,
I need to debug SMTP with TLS and User/login authentification for observium ( actually mail doesn’t work) . There is my config.php :
// Enable alerter (not available in CE) $config['poller-wrapper']['alerter'] = TRUE;
// Set up a default alerter (email to a single address)
$config['email']['enable'] = TRUE; $config['email']['from'] = 'dr07.monitoring@cnrs.fr'; $config['email']['default'] = NULL; $config['email']['default_only'] = FALSE;
$config['email']['backend'] = 'SMTP SERVER'; $config['email']['smtp_host'] = 'XXXXX'; $config['email']['smtp_port'] = 587; $config['email']['smtp_timeout'] = 10; $config['email']['smtp_secure'] = 'tls'; $config['email']['smtp_auth'] = TRUE;
$config['email']['smtp_username'] = ‘Observium EMAIL'; $config['email']['smtp_password'] = 'PASSWORD';
I have two Check alert : “device_status equals 1 * *” and “device_status equals 0 * *”
If I try test_alert script “ ./test_alert.php -a 1 –dd” I have no output concerning SMTP protocol only SQL query.
There is a beter way ?
regards
De : observium [mailto:observium-bounces@observium.org] De la part de Adam Armstrong Envoyé : lundi 30 mai 2016 12:19 À : Observium Network Observation System Cc : observium@observium.org Objet : Re: [Observium] No script for testing SMTP configuration
Hi,
The notification system has changed a lot since those docs were written. We now use test_alert.php, which takes the argument of -a and an alert entry id, and will generate notifications for all contacts associated with that alert entry.
Adam.
Sent from BlueMailhttp://www.bluemail.me/r On 30 May 2016, at 11:00, PROST pierrick <pierrick.prost@cnrs.frmailto:pierrick.prost@cnrs.fr> wrote: Hello,
I follow the documentation for configuring SMTP mail : http://www.observium.org/docs/config_options/
For testing , it seem to have a “test_mail.php”, I’m on Observium Professional 0.16.5.7857 but nothing on my root directory.
Pierrick
________________________________
observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium