Firewall and Port Requirements For Zenoss 4.2 Deployments
Firewall and Port Requirements For Zenoss 4.2 Deployments
2 Deployments
Applies To
Zenoss Resource Manager 4.2.X
Tested On
Zenoss Resource Manager 4.2.3
Summary
This article details the set of network ports and protocols that must be enabled for a Zenoss instance to function
properly. The exact requirements for a specific Zenoss installation depend on how its components are
distributed and/or replicated from the Zenoss master server, and what classes of devices are being monitored.
In most cases, the port numbers used by Zenoss daemons are set by their configuration file(s) in
$ZENHOME/etc. Some monitoring templates use a configuration property to specify the target port on
monitored devices.
In the default, single-server installation, all communication between Zenoss components is through the
loopback network (lo) and local (“unix”) sockets.
This document only addresses those ports used by a standard Zenoss Service Dynamics Resource Management
installation with the Windows Monitoring ZenPack installed. Impact and Analytics port requirements will be
documented in separate articles. For ZenPacks not included in the standard installation, consult the Resource
Management Extended Monitoring guide or the individual ZenPack’s documentation.
(various) 22 (SSH) TCP OUT Zenoss master server Outbound SSH access is required
on the master server.
zends (mysql) /var/lib/zends/zends.sock unix — zenactiond, One instance is required. The
13306 TCP IN zencatalogservice, object database and event
database can be located on
zeneventd, separated instances. Local
zeneventserver, connections use the unix socket.
zenhub, zenjobs, zope Remote connections
conventionally go to TCP port
13306. Can be run off-host.
Note that by default, the master server also runs the Hub and Collector daemons detailed in subsequent sections.
1. For performance, Zenoss normally runs multiple instances of the Zope daemon (two, by default). Each instance
is automatically configured with a unique incoming HTTP port. By default, the initial instance listens on port
9081 and each additional instance uses the port number equal to that of the previous instance plus one (9082,
9083, etc.). See the zenwebserver chapter of the Resource Management Extended Monitoring guide for
information on how to manage the number of concurrent Zope servers.
2. Local connections to ZenDS are through the /var/lib/zends/zends.sock unix socket.
1. The “ZenHub” and XML-RPC port numbers are specified when the hub is created. They default to the lowest port
numbers greater than 8789 and 8081, respectively, which are not being used by an existing hub.
1. zencommand: In addition to running commands on monitored devices, the zencommand daemon is also used to
run commands (for example, Nagios plugins) on the collector. Those commands often then connect to the
monitored device. See the Additional Monitoring Port Usage section below for more information.
2. zeneventlog, zenwin: These daemons use Windows RPC to communicate with the WMI service on the remote
device. By default, Windows RPC allocates a dynamic port, in addition to port 135, in the range of 49152–65535
or 1025–5000 depending on the version of Windows. See the Service overview and network port requirements
for Windows Microsoft support article for more information.
3. zeneventlog: This daemon will attempt to monitor the Windows event logs of any devices where the
zWmiMonitorIgnore configuration property is set to False (unchecked) and the zWinEventlog configuration
property is set to True (checked), which is the default configuration on the /Server/Windows device class.
4. zenjmx: The zenjmx daemon provides monitoring of remote Java® applications using Java Monitoring Extensions
(JMX) using either RMI (Remote Method Invocation) or JMXMP (JMX Messaging Protocol). Device class specific
configuration properties are used to define the remote port and authentication credentials.
Note that the RMI protocol requires a second connection that, by default, goes to a dynamically allocated
(essentially random) port number. See the Java 2 Platform Standard Edition chapter in the Resource Manager
Extended Monitoring guide for more information.
Device classes marked with a dagger (†) are used primarily as containers for sub-classes (or other special purposes).
Zenoss recommends that you do not add devices to these classes, but to an appropriate subclass instead.
DNS Monitoring 53 (Domain) UDP OUT zencommand Provided by the DigMonitor and
DnsMonitor monitoring
templates. Invokes the
check_dig or check_dns
Nagios plugin respectively.
FTP Service Monitoring 21 (FTP) TCP OUT zencommand Provided by the FtpMonitor
monitoring template. Invokes
the check_ftp Nagios plugin.
IRC Service Monitoring 6667 (IRCD) TCP OUT zencommand Provided by the IRCD
monitoring template. Invokes
the check_ircd Nagios
plugin.
Jabber® Service 5223 TCP OUT zencommand Provided by the JabberMonitor
Monitoring monitoring template. Invokes
the check_jabber Nagios
plugin.
LDAP Response Time 389 (LDAP) TCP OUT zencommand Provided by the LDAPServer
Monitoring monitoring template. Invokes
the check_ldap or
check_ldaps Nagios plugin.
Microsoft Message 445 (MS-DS) TCP OUT zenwinperf Provided by the MSMQQueue
Queuing (MSMQ) monitoring template.
Monitoring
Microsoft Internet 445 (MS-DS) TCP OUT zenwinperf Provided by the IIS monitoring
Information Services (IIS) template.
Monitoring
MySQL® Monitoring 3306 TCP OUT zencommand Provided by the MySQL
monitoring template.
Network News Transport 119 (NNTP) or TCP OUT zencommand Provided by the NNTPMonitor
Protocol (NNTP) 563 (NNTPS) monitoring template. Invokes
the check_nntp or
Monitoring check_nntps Nagios plugin.
Network Time Protocol 123 (NTP) UDP OUT zencommand Provided by the NTPMonitor
(NTP) Monitoring monitoring template. Invokes
the check_ntp Nagios plugin.
SQL Transactions * TCP OUT zencommand Provided by the SQL data source
type.
*The destination port number
depends on the SQL server and
is specified in the data source
properties.
WebSphere® Application 80 (HTTP)* TCP OUT zenwebtx Provided by the Websphere
Server monitoring template.
*A custom port number can be
set in the Initial URL data source
property.