smtp error sending test message

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
pconrad
Posts: 19
Joined: Mon Jun 12, 2006 8:29 am

smtp error sending test message

Post by pconrad »

I am unable to send test message via SMTP from my Cacti installation.
This is the message that I receive:

Unable to connect to SMTP Host '10.10.4.123': (13) Permission denied

What needs to be set up in order for Cacti to communicate via SMTP?

I am running
Cacti Version - 0.8.7a
Plugin Architecture - 1.4
Poller Type - CMD.php
Server Info - Linux 2.6.23.1-42.fc8
Web Server - Apache/2.2.6 (Fedora)
PHP - 5.2.4
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, session, pcre, SimpleXML, sockets, SPL, shmop, standard, Reflection, pspell, posix, iconv, hash, gmp, gettext, ftp, filter, exif, date, curl, ctype, calendar, bz2, zlib, openssl, apache2handler, dbase, gd, json, ldap, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp, zip
MySQL - 5.0.45
RRDTool - 1.2.99907080300
SNMP - 5.4.1
Plugins
  • Create Aggregate Graphs (aggregate - v0.64)
    PHP Network Weathermap (weathermap - v0.941)
    Global Plugin Settings (settings - v0.3)
    Thresholds (thold - v0.3.9)
    Syslog Monitoring (syslog - v0.5.2)
    Host Info (hostinfo - v0.2)
    Network Tools (tools - v0.2)
    Network Discovery (discovery - v0.8.3)
Attachments
smtperror.gif
smtperror.gif (14.17 KiB) Viewed 4912 times
"So Long, and thanks for all the fish!" DA
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Check that your SMTP server allows relay requests from your Cacti box IP Address.

It's also possible that you may need SMTP Auth (unless it's Exchange). If it is Exchange, and you have added the Cacti IP into to allow relay list, ensure that you stop and restart the SMTP Virtual Server for the changes to take effect.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
pconrad
Posts: 19
Joined: Mon Jun 12, 2006 8:29 am

Post by pconrad »

Threshold messages are working properly. It's just the test messages that are not working.
"So Long, and thanks for all the fish!" DA
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

THOLD uses the same SETTINGS plugin as the test email message. My guess if that this isn't SMTP related at all, but a security or permissions issue.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
pconrad
Posts: 19
Joined: Mon Jun 12, 2006 8:29 am

Post by pconrad »

That's what I thought, but I cannot find any information on this error message:

(13) Permission denied

What file permissions should I check?
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests