Adding Monitors Estimated Reading Time: 7 Minutes Monitors can be set up for devices. These monitors watch predefined events and let you know when these events have occurred. TCP, ICMP (Ping), DNS and SSL monitors originate from the Ubersmith instance. Other device module monitors vary between the Ubersmith instance or the appliance. Access the Device Monitors Tab From the Ubersmith Dashboard, click Devices. The All Locations page appears. Select Device and click List Devices. The All Devices page appears. Click the device description for the device you want to add a monitor.The View Device page appears. Select Monitors and click List Monitors. The Device Monitors tab appears. Complete the Add Monitor Page Access the Device Monitors tab. Click Add Monitor. The Add Monitor page appears. Complete the Details Tab In the Label field, enter the name for the monitor. In the Protocol field, select TCP to use a monitor script, ICMP to use ping or ICMP echo test, DNS to use a DNS query/resolution test, SSL to use test connections using SSL/TLS, or Module to use an Ubersmith device module. NOTE: See Adding Monitor Types for more information on monitor scripts. See Adding Device Type Groups and Device Type Modules for more information on modules. In the Address field either select the IP address you want to monitor, or click edit and manually enter the IP address. In the Max Packet Loss field, enter the upper threshold of packet loss, in percentage, to be alerted. NOTE: This is an ICMP field. In the Module field, select the appropriate monitoring module. NOTE: This is a Module field In the Port field, enter the port to monitor. NOTE: This is a TCP and SSL field. In the Script field, select the appropriate script for the monitor. NOTE: This is a TCP and SSL field. In the Notify Address field, enter the email address to notify when the monitor is in a failed state. Use commas to specify multiple addresses. In the Notify Delay field, enter the amount of time to wait after the device first stops responding before sending an initial notification, then select the unit of time. In the Notify Interval field, enter the amount of time to wait before sending out additional email notifications, then select the unit of time. In the Notify Downstream Device Owners field, select Yes to notify the device’s child device owners of the failure, select No to disregard child devices. In the Notify When Monitor Comes Back Up field, select one of the following: Never to never send notifications when the monitor returns up from a down or warning state. From Warn to send a notification when the monitor returns up from a warning state. From Down to send a notification when then monitor returns up from a down state. From Warn and Down to send a notification when the monitor returns up from a warning or down state. Complete the Instructions Tab Click Instructions. In the Extra Instructions field, enter any text to provide additional information or instructions to persons responding to a problem with the device. Complete the Config Tab You can configure constraints for device modules or one-off configurations for monitor scripts. For example, the bandwidth monitoring device module allows alerts to be sent based on traffic rates. The environmental monitoring module allows temperature and humidity alerts to be sent. Fields on this tab are based on the monitor protocol being configured, and have previously been configured on the Monitor Types page. Click Config. Click Save after the appropriate configurations are set. If your Monitor Protocol is TCP or SSL The Config tab for both TCP and SSL contains default fields based on the selected script. NOTE: refer to Monitor Types for adding customized scripts to this tab. Make any necessary changes to tailor the script for your device. Click more to add more fields. Click reset to return the Config tab to its default settings. If your Monitor Protocol is DNS In the Query field, enter the DNS record name to query. In the Query Type field, select the DNS record type to query, for example 'A'. In the Min results field, enter the minimum number of expected results. In the Max results field, enter the maximum number of expected results. In the Match Regex field, enter a regular expression to test the output from the DNS lookup. If your Monitor Protocol is Module And the Module is Webserver Status In the Maximum Active Connections field, enter the number of connection to monitor. And the Module is Bandwidth Monitoring Note: the numbers next to each field display the current data as of the last polling run. In the Minimum bps inbound field, enter the inbound minimum bits per second to monitor. In the Maximum bps inbound field, enter the inbound maximum bits per second to monitor. In the Minimum bps outbound field, enter the outbound minimum bits per second to monitor. In the Maximum bps outbound field, enter the outbound maximum bits per second to monitor. In the Minimum bps total field, enter the total minimum bits per second to monitor. In the Maximum bps total field, enter the total maximum bits per second to monitor. In the Expected eth0 Port Status field, select Up, Down, or Testing. If something other than your chosen status is returned, the monitor will fail. And the Module is My SQL Status In the Is this a slave database host field, select either Yes or No. In the Maximum Slave Delay field, enter the maximum number of seconds for the delay. In the Minimum Slave Processing Rate field, enter the minimum number or writes per second. In the Warn if active connections are greater than field, enter the percent of active connection to warn. And the Module is Reboot Control In the Minimum draw (A) field, enter the minimum amount of power the device is drawing to monitor. In the Maximum draw (A) field, enter the maximum amount of power the device is drawing to monitor. In the Minimum percentage draw (%) field, enter the minimum percentage amount of power the device is drawing to monitor. In the Maximum percentage draw (%) field, enter the maximum percentage amount of power the device is drawing to monitor. And the Module is Server Metrics Some fields are based on the SNMP output for the device, while the rest are generic. The generic fields are explained below. Note: the numbers next to each field display the current data as of the last polling run. In the Minimum ram usage field, enter the minimum megabytes of ram usage to monitor. In the Maximum ram usage field, enter the maximum megabytes of ram usage to monitor. In the Minimum virtual memory usage field, enter the minimum megabytes of virtual memory usage to monitor. In the Maximum virtual memory usage field, enter the maximum megabytes of virtual memory usage to monitor. In the Maximum hard disk usage field, enter the maximum percentage of hard disk usage to monitor. In the Minimum cpu usage field, enter the minimum percentage of CPU usage to monitor. In the Maximum cpu usage field, enter the maximum percentage of CPU usage to monitor. In the Minimum I/O Wait % field, enter the minimum percentage of input/output wait time to monitor. In the Maximum I/O Wait % field, enter the maximum percentage of input/output wait to monitor. In the Minimum Disk I/O transfer field, enter the minimum bits per second of disk input/output wait to monitor. In the Maximum Disk I/O transfer field, enter the maximum bits per second of disk input/output wait to monitor. In the Minimum Disk I/O operations field, enter the minimum disk input/output operations to monitor In the Maximum Disk I/O operations field, enter the maximum disk input/output operations to monitor. In the Maximum System Load field, enter the maximum system load to monitor.