In Micetro's system settings, you can enable sending SNMP traps to alert when certain events occur, such as when the number of free IP addresses in monitored subnets falls below a user-definable threshold.
To monitor Micetro Central, you can use either:
- The standard Linux MIBs — if Micetro Central is running on Linux
- Windows tooling — if Micetro Central is running on WindowsNote: The same information sent out as an SNMP (if configured) is also added to the Windows Events Log.
Micetro only supports SNMP v2c in Micetro Central, which can be enabled in the Enable sending SNMP traps section of the system settings. To enable sending SNMP traps:
- Enter the Manager name: the hostname of the computer that should receive the SNMP traps.
- Enter the Manager port: the port number the Manager listens to for the SNMP traps.
- Enter the name of the Community: the community string (password) to use for the SNMP traps.
Once SNMP traps are enabled, Micetro sends traps for general messages.
Example SNMP trap config for Micetro Central
The following example describes the SNMP trap configuration for Micetro Central when SNMP traps are enabled.
Example:
Micetro sends an SNMP trap that notifies the system that
a DHCP scope cannot be synced from a DHCP server because it conflicts with a subnet
or another scope. This would be provided as a trap with the OID:
.1.3.6.1.4.1.10029.1.1.1.
The message would be in .1.3.6.1.4.1.10029.1.1.1.3 as a string
[OctetString], for example, "Unable to add the DHCP scope "192.168.2.0/24" from
server "externaldns2.company.example.com." because it conflicts with the IP address
range "192.168.2.0/24"".
If you enable monitoring
on a subnet level, such as defining the minimum number of free IP
addresses, Micetro would also send a trap when this
threshold is exceeded. The trap would have the OID
.1.3.6.1.4.1.10029.1.1.2.1.
In OID .1.3.6.1.4.1.10029.1.1.2.1.1, the defined threshold is
denoted as Integer. In OID
.1.3.6.1.4.1.10029.1.1.2.1.3, this threshold is denoted as the
number of free IP addresses in the subnet (lower than the threshold).
Refer to this MIB, which includes a collection of objects and provides general message data from Micetro Central's monitoring capabilities. It also includes brief notes on the meanings of the OIDs.