PDA

View Full Version : how to set SMTP and POP3 on Zabbix


uknet80
03-05-2010, 13:16
Hi Guys,

I am connected to the zabbix server but I see error messages:
Email*(SMTP)*server*is*down*on*{HOSTNAME}
IMAP*server*is*down*on*{HOSTNAME}
POP3*server*is*down*on*{HOSTNAME}
News*(NNTP)*server*is*down*on*{HOSTNAME}

Do i have to install mail server (sendmail) on my linux that is running Zabbix_server? Or I could just provide SMTP server, if that is the case where can is change the SMTP and POP3 setting on the zabbix web browser?

ufocek
03-05-2010, 14:07
Hi,

That mean, you don't have runing this services, and you can disable this item and trigger monitor.

uknet80
03-05-2010, 15:21
what I need is to be able to receive an emails when a service goes down, example if web goes down on a server i want to recive an email how can i do that. the packages I have one my server are:

php-cli
php-ldap
php
php-bcmath
php-mysql
php-imap
php-pdo
php-pecl-mailparse
php-gd
php-common
php-snmp
php-mbstring
php-xml

by the way I have exchange running on windows server, i should be able to use that server for sending emails if some thing hapens, is in it?

alixen
03-05-2010, 16:06
Hi,


by the way I have exchange running on windows server, i should be able to use that server for sending emails if some thing hapens, is in it?
Yes.
You have to create a new media in Administration/"Media types" to define how Zabbix will connect to Exchange.

Regards,
Alixen

uknet80
04-05-2010, 07:40
now I use Linux machine as Zabbix server and agent, but still i get error host not found as shown bellow:

server hostname is (test.linux.local), i have this record under DNS and /etc/hosts file, I can ping test.linux.local, linux.local, test and localhost too.

zabbix_agentd.conf file configuration is

Server=127.0.0.1
Hostname=test.linux.local
LogFile=/tmp/zabbix_agentd.log

zabbix_server.log
Sending list of active checks to [127.0.0.1] failed: host [test.linux.local] not found

zabbix_agentd.log
No active checks on server: host [test.linux.local] not found

netstat -tupln
tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN 4232/zabbix_agentd
tcp 0 0 0.0.0.0:10051 0.0.0.0:* LISTEN 4185/zabbix_server

any idea how to solve this?
thanks

uknet80
20-05-2010, 17:04
Hi,


Yes.
You have to create a new media in Administration/"Media types" to define how Zabbix will connect to Exchange.

Regards,
Alixen

Thanks for help it is SOLVED, problem was agent names

uknet80
20-05-2010, 17:05
Hi,

That mean, you don't have runing this services, and you can disable this item and trigger monitor.

Thanks for help it is SOLVED, problem was agent names

idhakal
07-07-2011, 19:57
Hi guys
My operating system is Centos and I am having same problem with zabbix.

I am totally new on Centos and zabbix. How can i create a new media in Adminitration/"Media types" to define how zabbix will connect to exchange.

Thanks in advance

Ishor

alixen
08-07-2011, 15:50
You want send e-mail notifications to an MS-Exchange (Windows Server) ?
Your Exchange must be configured like an SMTP server, and in "Media Type", you choose :
Type : Email
SMTP server : your Exchange IP address or FQDN
SMTP helo : yourzabbix.yourdomain
SMTP email : zabbix@yourdomain

Regards,
Alixen

Jonathan
28-07-2011, 14:42
Hi!

I am a new user of Zabbix and i don't know how configure the server smtp for send email!
Can you help me?