Мониторинг SecurityGateway for Email Servers в DumbMonit
Через агентNeeds the agent on the Windows server: Windows services, mail queue folders and disk space, plus the gateway ports answering and the REST API counters (12.5 and later).
ДокументацияОфициальный сайт: SecurityGateway for Email Servers
Описания на английском, как в самом продукте. Подписи на странице — на вашем языке.
Что проверяет DumbMonit
SecurityGateway is watched with the DumbMonit agent installed on the Windows server that runs it. Its Windows services, its queue folders and the disk space of its data can only be read on the server itself. The agent reads them locally and sends them to DumbMonit; the SecurityGateway monitor then ties the agent to what DumbMonit checks from the outside: the gateway ports and, on SecurityGateway 12.5 or later, the version and the performance counters its REST API publishes (delivery queue, quarantine, SMTP sessions). Without the agent, DumbMonit only sees the gateway ports and, with an API key, the REST API counters. The page of the monitor says so in a banner: *Agent not installed or not…
Типичное применение. Mail gateway: agent-read Windows services and queues, delivery queue and other counters
Примеры
- SecurityGateway for Email Servers
Как подключается
Что понадобится
- API key (12.5 and later, recommended)Also reads the version and the performance counters through the REST API. Leave the credential empty to watch the services only.
Учётная запись не нужна.
Сетевые порты, которые нужно открыть
8080/TCPAgent readings (default port, 443 behind a TLS proxy)25/TCPSMTP check (default)4000/TCPWeb interface check (default)4443/TCPOnly with an API key (HTTPS, default) or web_https in the Services option465/TCPOnly with smtps in the Services option
Шаги настройки: Install the agent on the gateway server, then add this monitor
On the Windows server that runs SecurityGateway, add a Server with agent monitor in DumbMonit and run its PowerShell command in an elevated PowerShell. The agent finds SecurityGateway by itself.
Back here, enter the gateway address and choose that agent in Agent installed on this server. DumbMonit pre-selects the one with the same host name.
Recommended, for the performance counters: in SecurityGateway 12.5 or later, open Setup/Users → Accounts → Administrators → New and create the account below, with a long unique password.
dumbmonitGive the account the role listed below, and restrict it to the DumbMonit address in IP Restriction Options.
Sign in as that account, open Setup/Users → Accounts → API Keys and create a key with an expiry date, then paste the key in DumbMonit.
To check more ports than SMTP and the web interface, set the Services option to a list like this one.
smtp,web_https
Обратите внимание. The Windows services, mail queue folders and disk space of SecurityGateway can only be read on the server itself: without the agent, DumbMonit sees the gateway ports and, with a key, the REST API counters. SecurityGateway has no read-only role or narrower key: create the key from the dedicated account, never your own, and give it an expiry date.