Scheduling discoveries

After a full discovery completes, you can schedule further discoveries by inserting the time, date, and day for discoveries to run in the FullDiscovery.stch stitcher file.

Procedure

  1. Back up the NCHOME/precision/disco/stitchers/FullDiscovery.stch file.
  2. Create separate instances of the FullDiscovery.stch file for each domain in the network.
    To create a domain-specific instance, insert .domain into the file name.
    For example, FullDiscovery.NCOMS.stch.
    If you do not have separate FullDiscovery.stch files for each domain, all the domains on the network are discovered.
  3. Schedule the discovery of the first domain.
    In a FullDiscovery.domain.stch file, uncomment one of the ActOnTimedTrigger lines. Then, change it to run the discovery at a certain time.
    For example, to schedule the discovery for 11:00 PM every day, change the line as follows:
    ActOnTimedTrigger(( m_TimeOfDay ) values ( 2300 ) ; );
  4. Repeat the steps in the FullDiscovery.stch file for each domain on the network.

Examples

  • To schedule a discovery on the sixth day of the week since Sunday (that is, on Saturdays) at 11 PM:
    ActOnTimedTrigger(( m_DayOfWeek , m_TimeOfDay )
     values ( 6 , 2300 ) ; ) ;
    
    Sunday = 0, Monday = 1, Tuesday = 2, Wednesday = 3, Thursday = 4, Friday = 5, Saturday = 6.
  • To schedule a discovery on the 13th day of each month at 2 PM:
    ActOnTimedTrigger(( m_DayOfMonth , m_TimeOfDay )
    values ( 13 , 1400 ) ; );
  • To schedule a discovery at intervals of 13 hours:
    ActOnTimedTrigger(( m_Interval ) values ( 13 ) ; );