Hi,
We have scheduled multiple discovery job to run at different times. Is there a way to find out if it has executed, start and completed times.
Regards,
Sridhara.
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it!  Learn more
Hi,
We have scheduled multiple discovery job to run at different times. Is there a way to find out if it has executed, start and completed times.
Regards,
Sridhara.
There are mam.discovery.log and mam.scheduler.log. ARe those jobs not showing these logs? or are you thinking of DFM jobs on probe?
Similar to following: from server
2024-12-07 09:26:51,459 INFO [Starter for "scheduler_init" (during Writer server startup). (customer 1, id name: Default Client)][CustomerId:1] - *** Scheduler has started at framework***
2024-12-07 09:26:52,203 INFO [Starter for "scheduler_init" (during Writer server startup). (customer 1, id name: Default Client)][CustomerId:1] - 7 of 7 jobs were loaded from cmdb.
2024-12-07 09:26:52,337 INFO [Starter for "scheduler_init" (during Writer server startup). (customer 1, id name: Default Client)][CustomerId:1] - scheduler job [KPI Dashboard Dump@customer1,MAM_JOBS] and Trigger [KPI Dashboard Dump@customer1_trigger0,MAM_JOBS_trigger_group] were inserted to scheduler
2024-12-07 09:26:52,337 INFO [Starter for "scheduler_init" (during Writer server startup). (customer 1, id name: Default Client)][CustomerId:1] - job [KPI Dashboard Dump@customer1,MAM_JOBS] was added to scheduler
2024-12-07 09:26:52,338 INFO [Starter for "scheduler_init" (during Writer server startup). (customer 1, id name: Default Client)][CustomerId:1] - scheduler job [Run Live discovery@customer1,MAM_JOBS] and Trigger [Run Live discovery@customer1_trigger0,MAM_JOBS_trigger_group] were inserted to scheduler
2024-12-07 09:26:52,338 INFO [Starter for "scheduler_init" (during Writer server startup). (customer 1, id name: Default Client)][CustomerId:1] - job [Run Live discovery@customer1,MAM_JOBS] was added to scheduler
2024-12-07 09:26:52,372 INFO [Starter for "scheduler_init" (during Writer server startup). (customer 1, id name: Default Client)][CustomerId:1] - scheduler job [SoftwareElementDisplayLabel@customer1,MAM_JOBS] and Trigger [SoftwareElementDisplayLabel@customer1_trigger0,MAM_JOBS_trigger_group] were inserted to scheduler
2024-12-07 09:26:52,372 INFO [Starter for "scheduler_init" (during Writer server startup). (customer 1, id name: Default Client)][CustomerId:1] - job [SoftwareElementDisplayLabel@customer1,MAM_JOBS] was added to scheduler
2024-12-07 09:26:52,376 INFO [Starter for "scheduler_init" (during Writer server startup). (customer 1, id name: Default Client)][CustomerId:1] - scheduler job [DeleteOldSAPTransports@customer1,MAM_JOBS] and Trigger [DeleteOldSAPTransports@customer1_trigger0,MAM_JOBS_trigger_group] were inserted to scheduler
2024-12-07 09:26:52,376 INFO [Starter for "scheduler_init" (during Writer server startup). (customer 1, id name: Default Client)][CustomerId:1] - job [DeleteOldSAPTransports@customer1,MAM_JOBS] was added to scheduler
2024-12-07 09:26:52,377 INFO [Starter for "scheduler_init" (during Writer server startup). (customer 1, id name: Default Client)][CustomerId:1] - scheduler job [CreateSapDoubleStackInstance@customer1,MAM_JOBS] and Trigger [CreateSapDoubleStackInstance@customer1_trigger0,MAM_JOBS_trigger_group] were inserted to scheduler
2024-12-07 09:26:52,377 INFO [Starter for "scheduler_init" (during Writer server startup). (customer 1, id name: Default Client)][CustomerId:1] - job [CreateSapDoubleStackInstance@customer1,MAM_JOBS] was added to scheduler
2024-12-07 09:26:52,378 INFO [Starter for "scheduler_init" (during Writer server startup). (customer 1, id name: Default Client)][CustomerId:1] - scheduler job [SiteScope Application Host Upgrade@customer1,MAM_JOBS] and Trigger [SiteScope Application Host Upgrade@customer1_trigger0,MAM_JOBS_trigger_group] were inserted to scheduler
2024-12-07 09:26:52,378 INFO [Starter for "scheduler_init" (during Writer server startup). (customer 1, id name: Default Client)][CustomerId:1] - job [SiteScope Application Host Upgrade@customer1,MAM_JOBS] was added to scheduler
Hi Misaq,
Thanks for the information.
Regards,
Sridhara.
1. As Misaq mentioned Logs are a nice place to look at with baregrep, but they can be easily overwritten.
2. You can also use the methods viewJobExecHistory and viewExecutionTimelineByJob from each probe as suggested here.
https://community.opentext.com/it_ops_mgt/ucmdb/f/discussions/319350/how-to-check-start-and-finish-time-of-each-discovery-job
This will export each run of the job
3. There use to be a utility called JET (Job Execution Timeline) that generates a Gantt chart.
Does anyone know from where to get that utility ?
4. For the last run - Previous Invocation (Last Start Time) and Last Duration can be found in the CMS UI in the Probe Dashboard (even if you still use the old discovery). Click on each probe and add the relevant columns
Cheers!
Emil