Hi
Im new with Zabbix, and one point I don't find a information.
I want to monitor a mailserver. And for this I have two questions.
So I create a Host with this data:
Host name: Mailmonitor
Groups: Virtual machines
Agent interfaces: remove IP/DNS because I don't use a agent
Templates: Template App SMTP Service
Perfect. But now I have two problems:
1. Where I must insert the Servername smtp.mydomain.com that the Template Monitor my Server? I read this https://www.zabbix.com/documentation...fig/hosts/host adn think the field Host name is only for a general Name and not for the Domain or IP.
2. I need an other Port for the smtp.mydomain.com. So I edit the Template, create a Macro {$PORT}, and change the Item to net.tcp.service[smtp,,{$PORT}]. Is this the right way?
When I insert the domain in field "Host name", and make the second change, I get "SMTP service is down on smtp.mydomain.com"
Solved. Sorry. The Templates are only for zabbix agent. I have use a new template with {$HOST} MACRO.
Im new with Zabbix, and one point I don't find a information.
I want to monitor a mailserver. And for this I have two questions.
So I create a Host with this data:
Host name: Mailmonitor
Groups: Virtual machines
Agent interfaces: remove IP/DNS because I don't use a agent
Templates: Template App SMTP Service
Perfect. But now I have two problems:
1. Where I must insert the Servername smtp.mydomain.com that the Template Monitor my Server? I read this https://www.zabbix.com/documentation...fig/hosts/host adn think the field Host name is only for a general Name and not for the Domain or IP.
2. I need an other Port for the smtp.mydomain.com. So I edit the Template, create a Macro {$PORT}, and change the Item to net.tcp.service[smtp,,{$PORT}]. Is this the right way?
When I insert the domain in field "Host name", and make the second change, I get "SMTP service is down on smtp.mydomain.com"
Solved. Sorry. The Templates are only for zabbix agent. I have use a new template with {$HOST} MACRO.