Removing Non-Existent Machines from AutoPing Output
search cancel

Removing Non-Existent Machines from AutoPing Output

book

Article ID: 400526

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

The autoping -M ALL command is attempting to ping machines that no longer exist in the environment.

These machines do not appear in the autorep -m ALL output. 

Environment

AutoSys Workload Automation

Cause

This discrepancy indicates that there are job definitions referencing these outdated machines within the AutoSys database.

Resolution

To prevent autoping from attempting to ping these non-existent machines, you need to identify and update or remove the jobs that reference them.

  • Below SQL can be used as a reference to identify jobs referencing non-existent machines: 

     select job_name from ujo_job where is_active=1 and is_currver=1 and job_type = 99 and mach_name not in (select mach_name from ujo_machine)

 

  •  For each job identified by the query:
    • If the job is still needed, modify the job definition to reference a valid, existing machine.
    • If the job is no longer required, delete the job definition from AutoSys.

 

After updating or deleting the jobs, the autoping -m ALL command should no longer attempt to ping the removed machines.