Tags
inactive devices Device removal settings Portal Set-up duplicate devices Malware File Name Security Sub-System Communication Client UI settings Communication Client Tray remove a department ticket submission configure department synchronize department submit ticket distributing Bandwidths client updates device management Bandwidth conservation malware activity virus scope autoruns Proxy servers fallback flag Inactive discovered devices SNMP Apple Device Enrollment Program set up service explorer manually deploy Comodo EDR agent parent process multiple ticket selection selected tickets security events folder transfer discoveries network management remote folder TLS TLS1.2 pci dss pci compliance ITarian Portal Endpoint Manager vdi environment vdi clone environment instant clone documentation vendor notice security dashboard events resolution remote tool partner onboard itarian unknown file hunter TLS Encryption procedure parameters pass profiles history performance metrics real time remote endpoints download browse service URL Security Components system Global Software Inventory 2 minutes Integrate intagrate Active Directory Portable Interception SSL enable reporting Rule Threat Protection Rule Advance spam Customize archived outgoing incoming administrator validate domains add Antispam type PCI data loss Location Network information start software session extensions appoinments resource connection computers Comodo Rescue Disk infected opportunity opportunities custom relationship management quote COMODO-CRM protect mac device email notifications registry COM Quarantined point system restore msi contained applications processes security client events Release date department registration particular os section Two Factor Authentication Login interface dashboard report generate Direct Download Link One drive Google drive HIPS mode cleanup automatic suspicious suspicious certificates shellcode injection detect Elevated Access system user access default charging groups move current malware list store push IP address ip installer acronis auto-remediation server machine icon Product Logos Rebrand backup Device Control data Chromoting WebRTC ports Protocol skip offline manual time entries ticket assignee Help Guide Tour schedule Reschedule appointment unknown application protection virtual desktop Local Verdict server manage calculation cost configuration charging SD contract prepaid hours products classification inventory analyze Device list OS patches global search bar Tool bar Windows Defender Security Center file group white Citrix record SPF work billable time onsite email template template variables emails Gmail SMTP disable Add collaborators admin action Audit logs feature requests submit vote remotely Reset proxy swg secure web gateway dome error disk ticket detail page thread section tickets section internal notes Sub-help topic help topic features Application control white_list Patch Management child parent scheduled customized get to headers columns company restrict customer technician remote access list iOS devices field Reports iOS device APN Certificate MAC OS X options Linux block Comodo Client Communication (CCC) allow Comodo Client Security (CCS) network zones active component tray icon hide show packages additional install block port baseline installation package bulk implement restrict firewall endpoints security and communication global export virus import Database folders files define exclusions change staff admin rating check reassign assign permissions new role create for user of device enroll associated use how profile specific Removing Devices Uninstall windows profile Configuration templates latest version clients comodo file ratings monitoring custom All Devices Ratings Track widgets Agent valkyrie malware files Kill chain report automated establishing endpoint remote session Users prevent Android organization windows assets Mac OS billing identified threats Sort Closed inside Program executed containment service desk remote control Locally runs update scan antivirus SLA Business Hours control CCS Password access Client Auto Specific Device Response Application Third party Status View Logs intended devices alert fails Company Information Configure Verdict Patch Procedures Executable Comodo Internet Security ITSM Analysis Command Line Heuristic Filter Unrecognized Trusted File Rate Malicious Purge Calendar Device Exclusion USB Admin Panel Settings ticket Default system-wide Specific Path Details Monitor Multi Set Currency Connected Who Quick Actions Comparison Version Enterprise Managed Service Provider C1 Portal Remote management Comodo Remote Control ticket management staff panel assign tickets
More

How to use monitors to track endpoint performance

Release Time
11/21/2019
Views
none

Click ‘Applications’ > ‘Endpoint Manager’ > ‘Configuration Templates’ > ‘Monitors’

  • A monitor is a script that tracks the activity on a managed endpoint and alerts you if its conditions are met.
     
  • For example, you could create a monitor that alerts you if CPU usage goes above 75% for a certain length of time.
     
  • Monitors are added to configuration profiles which are in-turn applied to devices.
     
  • A single monitor can be used in multiple profiles. A single profile can include any number of monitors.
     
  • Endpoint Manager ships with a set of predefined monitors that you can quickly deploy. You can also create custom monitors to track items of your choice.

This article explains how to create a monitor, add it to a profile, and view monitor logs.

Create a monitor

  • Login to ITarian
     
  • Click 'Applications' > 'Endpoint Manager'
     
  • Click 'Configuration Templates' > 'Monitors'

 

There are two types of the monitor:

  • Predefined Monitors - A collection of monitors from Comodo which perform a range of useful monitoring tasks. These can be used in custom profiles, but cannot be edited.
     
  • My Monitors - Custom monitors that you create. These monitors are saved in the 'My Monitors' folder. You can add custom sub-folders as required.

Click 'Create Monitor':

General Settings

  • Enter a label and description for the monitor
     
  • Select the operating system of the target device
     
  • Specify where to save the new monitor. You can create new sub-folders under 'My Monitors' if required.
     
  • Click 'Create'.
     
  • You will be taken to the monitor configuration screen:

 

Modify the following settings if required:

Trigger an alert if - Select when admins should receive an alert. The options are (i) when all conditions are met, or (ii) when any condition is met.

Use Alert Settings - Choose the alert template. The alert template is a collection of settings that determine additional recipients and other settings.

  • The ‘Default Alert’ template is a good starting point. It sends email alerts to admins and creates notifications in the portal itself.
     
  • You can configure your own alert template at  'Configuration Templates' > 'Alerts'.
     
  • See this page for help to configure the template

Auto Remediation on alert - Windows only. Choose how you want to respond to the alert:

  • Taken no action - No automatic response is made to the alert. You can, of course, manually run a procedure in response to the alert.
     
  • Run below procedure - Select a procedure to run on affected endpoints in response to the alert.
     
    • The procedures listed here are defined in the 'Configuration Templates' > ' Procedures' interface.
       
    • Type the first few characters of the procedure and select from the list.
       
    • See this page if you want more help with procedures 
       
  • Click 'Save'

Choose what to monitor

  • Click 'Add Condition'


 

Choose the item you want to monitor:

  • Performance - Checks CPU, RAM and network usage. You are alerted if usage goes above (or below) a certain threshold.
  • Disk - Checks free disk space, or for large changes to free disk space in short periods.

           Triggers an alert if disk space falls below a certain level, or if there are large alterations to disk space in a short time.

  • Process - Checks whether or not a named process is running.
  • Device Status - Checks every managed device to see whether it has been online or offline for a certain length of time.
     
    • Background. Every minute, managed devices send a message to Endpoint Manager to signal they are online. If EM does not receive this signal for three minutes then the device status is set to ‘Offline’. You will get an alert you if a device has been continuously ‘Offline’ (or ‘Online’) for the length of time you specify.

The following monitors are only available for Windows, in addition to the above:

  • File Size - Checks the disk space used by a specific file. Triggers an alert if the file is larger or smaller than the size you specify.
     
  • Folder Size - Checks the disk space used by a directory. Triggers an alert if the folder is larger or smaller than the size you specify.
     
  • Service - Checks whether or not a named service is running. Triggers an alert if the condition is met.
     
  • Event - Checks if a specific event occurs and alerts you accordingly. You must specify the event ID, the criticality of the event, and the source of the event. The monitor checks Windows event logs for the information you enter.
     
  • TCP - Checks whether a specific port is open or closed and alerts you accordingly. This is useful for important ports that need to remain open/closed for operational reasons.

            You need to specify the hostname/ IP of the target port, the port number, the polling interval (in seconds), and whether you want to test for an open or closed state.

  • Ping - Checks whether a host is online or not. You need to specify the hostname, fully qualified domain name (FQDN) or IP of the host, the polling interval (in seconds), and whether you want to test for online or offline status.
     
  • Web Page - Checks whether specific content is present or not present on a web-page. You need to specify the URL, the content you want to search for, the polling interval (in minutes), and the present/not present status. You are alerted if the condition is met.
     
  • Custom Script - Create a python script to monitor for your own set of conditions. Paste your script in the space provided. See Add a custom script to the monitoring condition if you need help with this.
     
  • Security Events - Checks for significant security-related events on the managed endpoint. Example events:
     
    • Malware detected and handled
       
    • Malware detected and not handled
       
    • Unknown application is placed in the container
       
    • An external device was blocked by the device control

                 You can receive an alert when the condition is met, or automatically run a procedure.

  • Security Client Events - Alerts you when there are errors with Comodo Client Security (CCS).

    CCS is the endpoint application that provides the antivirus, firewall and containment services. This monitor checks for any failure in those processes, including:
     
    • Antivirus scan failed or interrupted
       
    • Antivirus database update failed
       
    • Antivirus scan interrupted
       
    • Another antivirus is installed

          You can receive an alert when the condition is met, or automatically run a procedure.

  • OS Patches Event - Alerts you when various types of Windows patch are installed. You can monitor the installation of:
     
    • Critical Updates
       
    • Definition Updates
       
    • Upgrades
       
    • Feature Packs
       
    • Update Rollups
       
    • Service Packs
       
    • Tools
       
    • Updates
       
    • Security updates

Conditions and thresholds

After choosing the items you want to monitor, you can define the conditions upon which you receive an alert. The type of information you need to provide depends on the item monitored. For example, if you select 'Disk', you can specify conditions for one of three values:


 

  • Click 'Create' after specifying the conditions.
     
  • Repeat the process to add more conditions


 

Optional - Add a custom script to the monitor

You can create custom scripts in python and define which items should be monitored. You can also define the threshold before an alert is generated.

You can also add dynamic variables to the script. Values for the variables are fetched at run time.

  • Choose 'Custom script' from the 'Add Condition' drop-down


 

  • Name - Create a label that identifies the purpose of the script.
     
  • Description - Enter a short description of the script.
     
  • Check Period -  The time interval at which the script should run on the device. Ensure the check period is greater than the time taken for the script to run, so there is no overlap in successive executions.
     
  • Trigger monitoring alert if custom script failed - Select if you want to be notified if the script did not run successfully.
     
  • Script - Enter your Python script in the text editor.

          Note 1: Keep the following lines intact in the editor and enter your script below these:
 


 

Note 2: If you want an alert to be triggered if the condition is met set the argument to alert parameter to 1, i.e. 'alert(1)'.

 If you do not want an alert to be triggered even if the condition is met set the argument to alert parameter to 0, i.e. 'alert(0)'.

Note 3: You can import an existing script procedure in EM if you wish to create a new custom monitor script using an existing procedure as a starting point. Python script monitors by the ITarian development team are available in the 'Monitors' folder under 'Configuration Templates' > 'Procedures' > 'Predefined Procedures'.

  • Click 'Add Existing Procedure' and choose the existing procedure.
     
  • Edit the script as per your requirement as per Note 1.
     
  • See this page for more details on procedures.

Note 4: In addition to the above, ITarian hosts a plethora of scripts at https://scripts.itarian.com/. Feel free to download python scripts for use here. If you require custom scripts from ITarian, please raise a request at https://forum.itarian.com/forum/script-library/4460-script-requests-itarian-team-will-write-the-scripts-for-you-for-free

Note 5: You can add variable parameters to your custom scripts. The values for the parameters are fetched at run time. Click here to know-how.

  • Click 'Create'

Optional - Add variables to your custom script

You can include variables whose values are dynamically populated when the monitor runs.

  • Click 'Configuration Templates' > 'Monitors'
     
  • Click 'Create Monitors'
     
  • Complete the form as explained above.
     
  • Click 'Add Condition' and select 'Custom script'
     
  • See 'Add Custom Monitoring Conditions' explained above.
     
  • Scroll down to the script area and enter the following code:

           name=itsm.getParameter('parameterName')

 

  • Repeat the process to add more parameters
     
  • Complete the script ans click 'Create'

    Custom script parameters dialog box appears:
     



     
    • Type - Select the parameter type from the drop-down. Available types are:

      Integer

      Float

      Unicode

      List

    •  ​​​​​​Value - Enter the appropriate parameter value.
       
  • Click 'Save'

Add a monitor to a profile

  • Log into ITarian
     
  • Click 'Applications’ > ‘Endpoint Manager’
     
  • Click 'Configuration Templates' > 'Profiles'
     
  • Open the profile applied to your target devices
     
    • Open the 'Monitors' tab

      OR
       
    • Click 'Add Profile Section' > 'Monitors', if you haven’t yet added the section
       
  • Click 'Add Monitor'


 

Choose Monitor(s) - Add monitors to the profile. Type the first few letters of a monitor name and select from the suggestions.

  • Repeat the process to add more monitors to the profile
     
  • Click 'OK' to add the monitors

The monitors screen shows all monitors added to the profile:



The monitors will be implemented on devices during the next sync. You will receive alerts whenever the conditions of a monitor are met.

View monitor logs

  • Log into ITarian
     
  • Click 'Applications’ > ‘Endpoint Manager’
     
  • Click 'Configuration Templates' > 'Monitors'
     
  • Click the name of a monitor to open its details screen
     
  • Click the 'Logs' tab.

The logs tab shows all instances where the conditions of the monitor were breached:


Details are shown in three tabs:

1) Logs - Date and time the event occurred, the condition that was broken.

  • Time - Date and time of the event.
     
  • Status - Shows whether or not the device is currently exceeding the monitored condition.

           On - The device is currently exceeding the thresholds of the monitor

          Off - The device is currently operating within the thresholds of the monitor

  • Additional Information - Details on the condition monitored and the breach

2) Tickets - Shows service desk tickets which were auto-generated in response to the breached condition:


 

  • Link  - A link to the support ticket created for the breach event.
     
  • Status - Shows whether the ticket is open or closed
     
  • Created On - The date and time at which the ticket was created.

3) Statuses:


 

  • Condition Type - The category of the monitor. Click the type to view its exact conditions and thresholds. An example is shown below:

  • Value - The thresholds set for the parameter.
     
  • Status - The current state of the monitored parameter on the device.
     
    • Green - The device is operating within the thresholds of the monitor
       
    • Grey - Unknown
       
    • Red - The device is exceeding the conditions of the monitor.
       
  • Status Changed at - The date and time of the last change in the state of the monitored parameter.