Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device.
Atlassian cookies and tracking notice, (opens new window)
Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
/
NMIS 9 Scheduler
Updated Aug 17, 2022

    NMIS 9 Scheduler

    Aug 17, 2022

      NMIS 9 has performed a big change vs NMIS 8 where the main process was executed by a cron job.

      NMIS 9 works as a service with a main process - the scheduler - redirecting all the jobs to a queue. It allows control of the priority, and other improvements.

      The scheduler starts a number of workers that perform the jobs in the queue. 

      The scheduler

      What jobs does the scheduler have? We can have a look at the jobs in progress and scheduler with the following command:

      /bin# ./nmis-cli act=list-schedule

      We can remove the scheduled jobs or one specific job with the following:

      /bin# ./nmis-cli act=delete-schedule id=<schedule_id|ALL> [job.X=...]

      Controlling the nmis workers

      We can control the number of workers with the following parameters in nmis9/conf/Config.nmis file: 

      Max number of workers

      The max number of child processes is controlled by the following parameter:

      'nmisd_max_workers' => 10,

      Worker cycles

      By default, a worker is started by the scheduler and the worker will not die while the scheduler process is alive.

      The worker process will sleep for 30 default seconds if it doesn't have any job to perform. This can be changed with the following parameter: 

      'nmisd_worker_cycle' => 30

      We can change the default behaviour so the worker is killed every N cycles. Another worker process will be started by the scheduler once the worker process reaches the max cycles, if the number of worker processes doesn't reach the max_workers. 

      'nmisd_worker_max_cycles' => 5,

      Scheduler cycle

      The scheduler process will sleep for 10 seconds once it finishes to review all the workers and sends the jobs to the queue. We can control the number of seconds the scheduler is sleeping with the following parameter:

      'nmisd_scheduler_cycle' => 10,
        Community Home

        NMIS
        • Downloads
          Downloads
        • Downloads
          Downloads
        • Downloads
          Downloads
        Results will update as you type.
        • Introduction & Setup
        • Configuration
          • Additional CBQoS SNMP Collection
          • Advanced Configuration Options for Optimising NMIS8
          • Cisco SNMP Configuration and Verfication Process
          • Configuration Files for NMIS
          • Configuring Email Server for NMIS Notifications including Gmail server
          • Configuring NMIS for full LDAP Support
          • Configuring NMIS for Multi-Tenancy
          • Configuring NMIS to use Active Directory Authentication (ms-ldap or ms-ldaps)
          • Configuring NMIS to use Internal Authentication
          • Controlling the Collection of Interfaces, Adjustments and Overrides
          • Import Nodes into NMIS8 - bulk import and integration
          • Linking Nodes to other systems including Web, SSH, Telnet and whatever you need.
          • Making Sounds for Critical Events on the NMIS Dashboard
          • Managing Servers and Services with NMIS8
          • Modelling MIBS that use Indexes using the systemHealth section
          • NMIS8 - Installing NMIS in a Non Standard Location
          • NMIS8 Configuration
          • NMIS8 Node Polling Configuration
          • NMIS9 Documentation
            • Import Nodes into NMIS9 - bulk import and integration
            • Importing NMIS8 configuration into NMIS9
            • NMIS9 Directory Structure conf-default and conf
            • NMIS9 Group Provisioning
            • NMIS9 opstatus data
            • NMIS 8 - Migrate plugins to NMIS 9
            • NMIS 9 Scheduler
          • NMIS 8 - Configuration Options for Server Performance Tuning
          • NMIS 9 - Configuration Options for Server Performance Tuning
          • NMIS - Polling Policy - Configuring Variable Polling Polices
          • NMIS Configuration
          • NMIS Customising the Dashboard Layout - Save Windows and Positions
          • NMIS File Permissions
          • NMIS Threshold Configuration
          • SNMP Traps with Cisco and Other devices
          • Sync or copy NMIS data between two NMIS servers
          • User Management in NMIS
          • Using SNMPv3 with NMIS for Secure Network Management
          • Using Unique Identifiers (UUID) for NMIS Nodes
        • Features
        • Virtual Machine
        • How-To Guides
        • FAQ
        • Release Notes
        • Troubleshooting & Help
        • Opmantek Virtual Machine: Implementing SNMPv3 AES256 in the NMIS9 VM for Secure Network Management
        • NMIS8 VM Installation Guide
        • Virtual Appliance Maintenance: Updating Software
        • NMIS Device Troubleshooting Process
        • Automatically accept EULAs
        • Using NMIS to monitor services
        • Linux Hardening Guides
        • Solutions
        • NMIS9 - WMI Basic Configuration
        • NMIS9 - SNMP Basic Configuration
        • How to Configure WMI on the Windows Server
        • How to test WMI using the wbemtest
        • SNMP Trap and Rsyslog Setup for Ubuntu 20+
        • NMIS_Deps - NMIS Dependency Installer
        • NMIS9 RPC
        • Adding new devices for monitoring using the Administration GUI
        • WMIC Docker Container: Setup and Usage Guide
        • NMIS9 Docker Deployment Guide
        • NMIS StatefulSet for Kubernetes
        • NMIS Server Backup Procedures
        • NMIS 9 Configuration System
          Questions
          Calendars

        You‘re viewing this with anonymous access, so some content might be blocked.
        {"serverDuration": 11, "requestCorrelationId": "a997a3dc117b412da5ff51c71092d347"}