Tags
Comodo dialog box Windows UAC user access rights verification phone number password reset security code forgot password Android threat history generates alert lock device Android devices Mac OS devices mobile devices passcode Lock log SIEM log forwarding log storage log storage settings scan profile Parental control FLS file-lookup server internet access rights Real-time scan default profiles pre-configured profiles pre-defined profiles customize profile clone profile Clone unknown MAC profile Linux profile cloud-based service Maintenance Window maintenance analysis tool UFH check policy test policy Virtual Appliances DNS Resolver register invite graphs Dynamic IP Dome shield Integration O365 Comodo Office 365 removal tool CCS removal tool Comodo Secure Email Gateway subscriptions service Dome Antispam Valkyrie report info web Comodo SWG tutorial policy DLP PAC file iboss Bluecoat Websense Comodo Dome ICAP Dome Agent traffic URL C1 account SWG portal SSL Encrypted Traffic Dome Cloud enable widget chart endpoint dashboard file groups Rules exceptions Wi-Fi networks Wi-Fi setup security restrictions iCloud auto containment containment settings virtual file system sandbox environment client access control local configuration Comodo Client Security Rebranding Communication Client Rebranding security client re-brand Comodo Clients application rules global rules Portsets port sets Firewall ruleset rule set rulesets global proxy server global proxy antivirus settings Client Proxy remote control tool Firewall protection firewall settings configuration file export profile PowerShell VBS script Windows Standard Account Endpoint Manager Client Communication (EMCC) server security clients updates vulnerable security patches installed Client Communication Communication Client (CC) submission Communication Client tray icon script OS Patch Third Party Patch Installation Uninstallation Discovery additional package External Device Control external ITarian remote Windows device apps signed-in logged-in identify License wizard on-boarding local Comodo Client Security Mac devices Linux devices MSP customers EM profile Mac OS profile MAC OS X device user device configuration profile copy invoice enrollment Logging Settings SIEM tool external server Account Security mobile console EM device owners ownership remove MAC third party application remote uninstallation software inventory duplicate Name Master Image Golden Image Bulk Installation Package Windows Operating Systems summary information local time External IP address OS summary Devices list MDM profile iOS push certificate create APNs Apple account portal APN Apple Push Notification search bar filter options customer device group group membership managed device trust rating old duplicates removal device name MAC address MSP (Managed Service Provider) Versions Marketing & Sales Customer Relationship Management (CRM) Enroll New Device New Ticket quick actions bar release notes security status activity status profile status Sales funnel Secure Internet Gateway application launch Two factor Time zone Language Lockout time Change Password tokens device enrollment User Groups Manage Profiles User List Management customer report customer assessment customers End-User forms auto response attachments time entry address support User Directory scripts Knowledgebase canned Banlist announcements Hostname mail delivery CommandLine Power Shell PowerShell interface File Explorer Commands Interface Remote devices Remote Tools Paranoid Mode Training Mode Custom Ruleset Safe Mode The charging flow edit contracts Charging Flowchart Global Asset Rates Charging Plans Contracts charges calculated Remove role Edit a role staff interface Exclusions data loss prevention (DLP) network discoveries ITarian Remote Access Tool Tarian Remote Access Tool inactive devices Device removal settings Portal Set-up 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 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.
     
  • You add the monitor to a configuration profile which is in-turn applied to your 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 canned monitors that you can quickly deploy. You can also create custom monitors to track items of your choice.
     
  • You can create new monitors from scratch, or clone an existing monitor then edit it as required.

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

The monitors area

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

 

There are two types of 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.

There are two ways to add custom monitors:

Create a new monitor from scratch

  •  Click 'Configuration Templates' > 'Monitors'
     
  •  Click 'Create Monitor'


 

General Settings

  • Enter a label and description for the monitor
     
  • Select the operating system of the target device. Supported operating systems are Windows and Mac OS.
     
  • Specify where to save the new monitor. You can create new sub-folders under 'My Monitors' if required.
     
  • Click 'Create'.
     
  • This opens 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 monitored conditions are met, or (ii) when any monitored 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 if you want more help to configure an alert 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, Network and Disk usage. You are alerted if usage goes above (or below) a certain threshold.
     
  • Disk - Checks free disk space and for large changes to free disk space in short periods, on system drive and other disk drives/partitions.

           Triggers an alert if free disk space in any of the system drive or other drive partitions 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 that 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 additional monitors are only available for Windows: 

  • 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 text you want to search for and the polling interval (in minutes). 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


 

  • Click 'Save' to apply your changes. Repeat the process to create more monitors.
     
  • Next: You have the option to add custom scripts and/or variables or skip to Add the monitor to a profile.

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 and click 'Create'

    Custom script parameters dialogue 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'

Create a new monitor by cloning an existing monitor

  • Cloning a monitor then modifying it is an easy way to create a custom monitor.

Clone a monitor

  • Click 'Configuration Templates' > 'Monitors'
     
  • Browse the folder tree on the left and locate the monitor you want to clone
     
  • Select the source monitor then click 'Clone Monitor':
     


 

  • Change the name, if required, and provide an appropriate description.
     
  • Select the folder where you want to save the monitor. You can create new sub-folders under 'My Monitors' if required.
     
  • Click 'Clone'

Next, we move onto the monitor configuration screen:
 


 

Update the parameters of the monitor as required. All settings are explained in the new monitor section above.

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 most recent change to the monitored parameter.