Performance impact: Alarms stored in Event Server DB; excessive alarms cause database bloat and UI slowdowns — aggregate, don't alert per instance
Production trap: alarm_if_fail: 0 is default — a silent failure overnight means no one knows until customers complain
Biggest mistake: Sending failure emails to unmonitored shared mailbox — alarms without response process are no alarms at all
✦ Definition~90s read
What is AutoSys Alarms and Notifications?
AutoSys is a distributed job scheduling system from CA Technologies (now Broadcom) that orchestrates batch workloads across Unix, Windows, and mainframe environments. Its alarm_if_fail attribute controls whether a job triggers an alarm when it exits with a non-zero code.
★
AutoSys alarms are the smoke detectors of your batch environment.
By default, this attribute is set to 0 (disabled), meaning a job can fail silently — no alert, no page, no email. This default exists because AutoSys was designed for high-volume, fault-tolerant batch processing where transient failures are often retried or expected.
But in practice, it means teams discover failures hours late, during morning check-ins, or worse, when downstream jobs start producing garbage data. The silent failure problem is compounded by AutoSys's notification system: alarm_if_fail only controls the internal alarm flag, not email or SNMP traps.
For email alerts, you must separately configure notification attributes (notify_addr, notify_on_failure), which many teams forget to set. The result is a system where a job can fail, retry, fail again, and never notify anyone — unless you explicitly override the defaults.
This is why production AutoSys environments almost always set alarm_if_fail: 1 globally via a job profile or template, and why the $SCHEDULER_ON_CALL variable is used to route alerts to on-call rotations. Without these overrides, you're running a batch system that fails silently by design.
Plain-English First
AutoSys alarms are the smoke detectors of your batch environment. When something goes wrong — a job fails, a machine goes offline, a job runs for too long — the alarm fires and the right people get notified before the problem becomes a crisis.
⚙ Browser compatibility
Latest versions — ✓ supported
Chrome
Firefox
Safari
Edge
✓
✓
✓
✓
AutoSys has a built-in alarm system that lets you define exactly what events should trigger alerts and who should be notified. Without alarms, your batch jobs could silently fail overnight and nobody would know until users start reporting missing reports in the morning. With well-configured alarms, your team knows within minutes.
But alarms are dangerous. Set them too broadly and your team ignores them (alarm fatigue). Send them to the wrong mailbox and nobody reads them. Default alarm_if_fail: 0 means your critically important job fails every night at 2am and nobody ever hears about it.
By the end you'll know how to set up job failure alarms, email notifications, machine monitoring, and runtime bounds alerts. You'll also know the specific mistakes that cause alarms to be ignored or to never fire at all.
Why AutoSys alarm_if_fail Defaults to 0 — Silent Failures
AutoSys alarm_if_fail is a job attribute that controls whether a failure triggers an alarm notification. When set to 0 (the default), a job that ends in FAILURE status will not generate any alarm — it fails silently. This is the core mechanic: alarm_if_fail=0 means the system treats the failure as a non-event for notification purposes, even though the job's exit code is non-zero.
In practice, alarm_if_fail operates independently of job termination logic. A job can fail, trigger downstream dependencies, and log errors — but if alarm_if_fail=0, no email, SNMP trap, or operator console alert is sent. This is often confused with the job's 'failure' flag; they are not the same. The attribute only controls notification, not job state or rerun behavior.
Use alarm_if_fail=1 for any job where a failure requires human intervention — critical batch processes, data pipelines, or SLA-bound tasks. Leaving it at 0 is acceptable only for jobs where failure is expected or handled by other logic (e.g., cleanup jobs that can fail harmlessly). In production, silent failures from alarm_if_fail=0 are a leading cause of undetected data loss and missed SLAs.
⚠ Silent Failure Trap
alarm_if_fail=0 does not prevent job failure — it only suppresses the alarm. Your job can be failing for hours with no notification.
📊 Production Insight
A nightly ETL job had alarm_if_fail=0 because the original developer assumed 'failure' meant 'expected error'. The job failed at 2 AM due to a schema change; the downstream report was empty for 8 hours before a user noticed.
Symptom: No alert, no email, no console event — the job simply showed FAILURE in the history log, which nobody monitored.
Rule of thumb: If a job failure would cause a business impact within 30 minutes, set alarm_if_fail=1. If you can tolerate a delay, set it to 1 anyway and route alarms to a low-priority channel.
🎯 Key Takeaway
alarm_if_fail defaults to 0 — you must explicitly set it to 1 to get failure notifications.
Silent failures are the most dangerous class of production incidents because they have no signal.
Treat alarm_if_fail as a required attribute in every job definition; never rely on the default.
thecodeforge.io
Autosys Alarms Notifications
alarm_if_fail — the basic failure alert
The simplest alarm is alarm_if_fail. Set it to 1 on any job, and AutoSys raises an alarm in the Event Server when that job fails. You can then configure alarm actions to send email, page, or invoke a script.
io/thecodeforge/autosys/alarm_basic.jilBASH
1
2
3
4
5
6
7
8
9
10
11
12
insert_job: critical_eod_job
job_type: CMD
command: /scripts/critical_eod.sh
machine: prod-server-01
owner: batchuser
date_conditions: 1
days_of_week: all
start_times: "22:00"
alarm_if_fail: 1 /* raise alarm if job fails */
max_run_alarm: 60 /* also alarm if still running after 60 minutes */
min_run_alarm: 5 /* alarm if completes in less than 5minutes (suspicious) */
alarm_if_terminated: 1 /* alarm if job is killed/terminated */
📊 Production Insight
alarm_if_fail: 0 is the default. Many legacy jobs were defined without it and have been failing silently for years.
Run an audit: autorep -J % -q | grep -B5 alarm_if_fail | grep -v alarm_if_fail: 1 to find jobs without failure alarms.
Rule: Every production job should have alarm_if_fail: 1 unless explicitly documented as non-critical.
🎯 Key Takeaway
Set alarm_if_fail: 1 on all critical jobs — the default is 0 (no alarm). Run annual audits to ensure compliance.
Use max_run_alarm and min_run_alarm for runtime bounds alerts; min_run_alarm catches jobs that end too fast (possible logic error).
Rule: A failure without an alarm is a silent outage. Configure alarms before the first production run.
Alarm Configuration Decision Tree
IfJob is critical (financial, customer-facing, compliance)
→
UseSet alarm_if_fail: 1, max_run_alarm: p99 runtime + 20%, notification_emailaddress to on-call group
IfJob is non-critical but should be monitored
→
UseSet alarm_if_fail: 1 but send email to team mailbox (not pager). Review failures daily.
AutoSys supports variables in notification_msg: %s = job name, %m = machine name, %t = timestamp, %x = exit code. Use these to make your alert emails informative enough that the on-call engineer knows what failed and where to look.
📊 Production Insight
notification_msg_on_failure should always include the log file path and exit code. Without these, the on-call engineer has to log into AutoSys, find the job, find the machine, then find the log.
The %x (exit code) variable is often omitted but it's the single most useful piece of information for triage.
Rule: Include %s, %m, %x, and the full path to the job's log file in every failure notification. The engineer should not have to look anything up.
🎯 Key Takeaway
Use notification_emailaddress for direct email alerts; include log file paths and exit code (%x) in notification_msg.
Sending to a shared mailbox nobody monitors defeats the purpose — alarms need a response process.
Rule: notification_emailaddress should point to a pager or SMS gateway for critical jobs, not just an internal mailbox.
thecodeforge.io
Autosys Alarms Notifications
Machine and system alarms
Beyond job-level alarms, AutoSys can alarm on machine events — when an agent goes MISSING or when the Event Processor has issues.
io/thecodeforge/autosys/machine_alarms.jilBASH
1
2
3
4
5
6
7
8
/* Configure machine-level alarms */
update_machine: prod-server-01
max_load: 100
alarm_on_missing: 1 /* alarm when agent goes offline */
/* View active alarms */
# autorep -a /* show all active alarms */
# sendevent -E ALARM_ACK /* acknowledge an alarm */
📊 Production Insight
A machine that goes MISSING is worse than a job failure — it affects all jobs on that machine. Yet many sites don't monitor it.
alarm_on_missing: 1 should be set on every production machine. When a machine goes offline, all running jobs on it fail immediately.
Rule: Configure machine alarms before deploying new agents. Add to standard machine template: update_machine: new_host alarm_on_missing: 1.
🎯 Key Takeaway
Set alarm_on_missing: 1 on all production machines — a missing agent takes down all jobs on that host.
Use autorep -a to view active alarms; ALARM_ACK acknowledges without fixing root cause.
Rule: Alarms without an acknowledgement process are just noise. Assign ownership and track resolution.
The $SCHEDULER_ON_CALL Variable Death Spiral — Overriding Alarms at Scale
You've got a hundred jobs. They all call $SCHEDULER_ON_CALL when they fail. Fine for a dozen. But when a box job spawns 40 downstream failures in under a minute, everyone gets paged simultaneously. Your team starts ignoring pages. That's how incidents turn into fires.
The root cause? AutoSys evaluates SCHEDULER_ON_CALL globally per job definition. No debouncing. No dedup. If you're overriding this variable globally to a PagerDuty integration, you're bypassing the one layer that could save your on-call: escalation rules.
Instead, use a per-job escalation chain with conditional notification triggers. Set alarm_if_fail to your PagerDuty service ID, then control the noise tiers with minimum failure thresholds. Global variables are for static config, not firehose suppression. If you must override, scope it to a specific box or machine group using the JOB: prefix.
GlobalVariableOverride.ymlYAML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// io.thecodeforge — devops tutorial
// Bad: blind global override that pages everyone
insert_job: finance_end_of_day_box job_type: BOX
box_name: finance_etl_box
alarm_if_fail: 1
notification: fail_writer
SCHEDULER_ON_CALL: pagerduty_integration_policy
// Good: scoped override with escalation control
insert_job: finance_etl_transaction job_type: CMD
machine: prod_finance_db_01
command: /scripts/etl/load_transactions.sh
alarm_if_fail: 2
notification: fail_writer
condition: success(finance_etl_box)
// Foreach job in finance_etl_box, override only this job's variable
// Not the whole scheduler scope
Output
Job: finance_etl_transaction Status: FAILED Page: ONLY when failure count >= 2 within box window
⚠ Production Trap:
Never set SCHEDULER_ON_CALL at the global agent level for critical workloads. You'll lose the ability to differentiate a single transient failure from a cascading disaster.
🎯 Key Takeaway
Scope your SCHEDULER_ON_CALL overrides per job, not per agent. Use alarm_if_fail thresholds to suppress noise before it reaches PagerDuty.
thecodeforge.io
Autosys Alarms Notifications
The Silent Retry Trap — Why alarm_if_fail Defaults to 1 and max_exit_codes Lie
Here's a classic: you set max_retry 3, max_exit_codes 0, and alarm_if_fail 1. You think it works. One day a job fails with exit code 1 on its third retry. AutoSys retries 3 times, each one fails, then it sends an alarm. Your on-call gets paged 45 minutes after the first failure. Why? Because alarm_if_fail triggers AFTER the last retry — every attempt succeeds? Every failure counts.
max_exit_codes only works for the final attempt. If your job fails on retry 2 with exit code 1, AutoSys treats that as a success if 1 is in your max_exit_codes list. But if it fails on retry 3 with exit code 5 (not in the list), alarm_if_fail fires. You've effectively masked failures for 2/3 of the retries, then screamed about the last one. That's not alerting. That's lying to yourself.
Set alarm_if_fail to 0 if your max_exit_codes list is exhaustive and retry logic handles the noise. Otherwise, keep it at 1 and audit your runbook. You want to know about the retry that failed, then the retry that succeeded — not the silent one that never happened.
RetrySilentFailure.ymlYAML
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// io.thecodeforge — devops tutorial
// This job masks 2 failures, screams on the 3rd
insert_job: api_daily_reconcile job_type: CMD
machine: prod_api_01
command: /apps/api/scripts/reconcile.sh
alarm_if_fail: 1
max_retry: 3
max_exit_codes: 0,1,2
// What actually happens:
// Attempt1: exit 1 (masked, counts as success because 1 in max_exit_codes)
// Attempt2: exit 1 (masked again)
// Attempt3: exit 5 (NOT in max_exit_codes, alarm fires)
// Better: be transparent about failure
// Set alarm_if_fail 0 and use a separate monitor for retry patterns
If you're using max_exit_codes to suppress exit codes you don't care about, you're one deployment away from a silent outage. Instead, set alarm_if_fail to 0 and build a simple health-check that monitors retry count percentage over time.
🎯 Key Takeaway
alarm_if_fail fires only after the final retry. If you mask exit codes with max_exit_codes, you're not reducing noise — you're delaying your response.
● Production incidentPOST-MORTEMseverity: high
The Silent Friday Night Payroll Failure
Symptom
The payroll job ran every Friday at 2am. On this Friday, the script failed due to a database connection timeout. AutoSys logged the failure, marked the job status as FAILURE, and stopped. No alarm fired. No email was sent. The team didn't know until Monday morning when the finance department asked why payroll hadn't run. The job could have been re-run in 20 minutes, but the team lost the entire weekend window.
Assumption
The team assumed that AutoSys automatically alerted on job failures. They didn't know that alarm_if_fail defaults to 0. They also assumed that because they had a dashboard, someone would notice. But no one checked the dashboard over the weekend. They also had no runbook for monitoring auto-recovery or fallback alerts.
Root cause
The job definition JIL file lacked alarm_if_fail: 1. It was omitted entirely, and the default is 0 (no alarm). The team had configured email notifications for successful completion but not for failures. The operations team monitored the dashboard only during business hours. The failure alert was never triggered, and the on-call engineer had no way of knowing about the failure. The job was critical but treated as non-critical in the alarm configuration because no one had reviewed the JIL defaults.
Fix
1. Updated the job definition: alarm_if_fail: 1.
2. Added notification_emailaddress: payroll-ops@company.com and notification_msg_on_failure: "Job %s failed on %m at %t with exit code %x. Check log /logs/autosys/payroll_run.err".
3. Added a separate max_run_alarm: 60 to detect hung jobs.
4. Configured the on-call rotation to include weekend coverage with pager duty integration.
5. Added a weekly audit script that lists all jobs with alarm_if_fail: 0 and flags them for review.
Key lesson
alarm_if_fail: 0 is the default. You must explicitly set it to 1 on every critical job. Do not assume AutoSys alerts on failure.
A failure without an alarm is a silent outage. Review all JIL files annually to ensure critical jobs have alarms enabled.
Dashboards are not alarms. If no one is looking at the dashboard when the failure occurs, it's not monitoring.
Document the on-call escalation process. The failure alert must reach a human, not just a log file.
Production debug guideSymptom → Action mapping for common alarm failures in AutoSys environments.5 entries
Symptom · 01
Job failed but no alarm/email received — outage went undetected
→
Fix
Check if alarm_if_fail: 1 is set. Default is 0 (no alarm). Modify JIL: update_job: job_name alarm_if_fail: 1. Also check notification_emailaddress and notification_msg.
Symptom · 02
Too many alarms — team stopped paying attention (alarm fatigue)
→
Fix
Reduce alarm volume. Only alarm on critical jobs. Use max_run_alarm and min_run_alarm for bounds alerts, but set thresholds high enough to avoid frequent firing. Consider aggregating non-critical failures into daily summary report instead of real-time alerts.
Symptom · 03
Alarms acknowledged but root cause not fixed — repeating alarms
→
Fix
Implement alarm resolution tracking. After acknowledging, assign ticket number and require RCA. AutoSys can invoke script on alarm (alarm_action) to create ticket. Block new alarms for same job until ticket is resolved, or use different severity levels.
Symptom · 04
max_run_alarm triggers every night for long-running job — false positive
→
Fix
max_run_alarm threshold is too low. Increase it based on historical runtime p99 + 20%. For seasonal jobs, use conditional start conditions or multiple JILs with different thresholds.
Symptom · 05
Notification email not received — check failed but no alert
→
Fix
SMTP configuration in AutoSys may be misconfigured. Check autorep -M for mailer status. Also check if notification_emailaddress contains spaces or invalid characters. Test with sendevent -E ALARM_TEST.
★ AutoSys Alarm Debug Cheat SheetFast diagnostics for alarm issues in production AutoSys environments.
Job failed, no alarm — suspected missing alarm_if_fail−
Immediate action
Check job definition for alarm_if_fail attribute
Commands
autorep -J job_name -q | grep -i alarm_if_fail
echo 'Default is 0 (no alarm). Must set to 1.'
Fix now
Update job: update_job: job_name alarm_if_fail: 1 in JIL, then jil < update.jil or use sendevent -E UPDATE_JOB.
Email notification not sent on failure+
Immediate action
Check notification_emailaddress and SMTP configuration
Update machine: update_machine: prod-server-01 alarm_on_missing: 1 in JIL for machine, then jil < update_machine.jil.
AutoSys Alarm Types
Alarm Type
Attribute
Triggers When
Default Value
Best For
Job failure alarm
alarm_if_fail: 1
Job exits with non-zero code
0 (disabled)
All production jobs
Long run alarm
max_run_alarm: N
Job still running after N minutes
0 (disabled)
Jobs that can hang (file waits, network calls)
Short run alarm
min_run_alarm: N
Job completes in less than N minutes
0 (disabled)
Jobs with expected minimum runtime (data loads)
Termination alarm
alarm_if_terminated: 1
Job is killed (KILLJOB or term_run_time)
0 (disabled)
Jobs that should never be killed manually
Machine offline alarm
alarm_on_missing: 1
Agent machine stops responding
0 (disabled)
All machines hosting critical jobs
⚙ Quick Reference
5 commands from this guide
File
Command / Code
Purpose
iothecodeforgeautosysalarm_basic.jil
insert_job: critical_eod_job
alarm_if_fail
iothecodeforgeautosysnotifications.jil
insert_job: payroll_run
Notification attributes
iothecodeforgeautosysmachine_alarms.jil
/* Configure machine-level alarms */
Machine and system alarms
GlobalVariableOverride.yml
insert_job: finance_end_of_day_box job_type: BOX
The $SCHEDULER_ON_CALL Variable Death Spiral
RetrySilentFailure.yml
insert_job: api_daily_reconcile job_type: CMD
The Silent Retry Trap
Key takeaways
1
Set alarm_if_fail
1 on all critical jobs — the default is 0 (no alarm). Run annual audits to ensure compliance.
2
Use notification_emailaddress for direct email alerts; include log file paths and exit code (%x) in notification_msg.
3
max_run_alarm and min_run_alarm provide bounds-based alerting for jobs running too long or suspiciously fast.
4
Set alarm_on_missing
1 on all production machines — a missing agent takes down all jobs on that host.
5
Alarms need a response process
sending to a shared mailbox nobody monitors defeats the purpose.
Common mistakes to avoid
5 patterns
×
Not setting alarm_if_fail: 1 on critical jobs — expecting default to be 1
Symptom
Job fails silently over weekend. No alarm, no email. Team discovers failure when users complain Monday morning. Outage goes undetected for 48+ hours.
Fix
Update all production jobs: update_job: job_name alarm_if_fail: 1. Run quarterly audit: autorep -J % -q | grep -B5 'alarm_if_fail:' | grep -v 'alarm_if_fail: 1' to catch missing alarms.
×
Not including %x (exit code) and log path in notification_msg
Symptom
On-call engineer receives alert 'Job payroll_run failed' but has no idea why. They must log into AutoSys, find the job, find the machine, then grep for the log file. Triage takes 20 minutes instead of 2.
Fix
Add variables: notification_msg: "Job %s failed on %m at %t with exit code %x. Log: /logs/autosys/%s.err". Include full absolute path to the log file.
×
Sending alarms to unmonitored shared mailbox
Symptom
Alarms sent to batch-ops@company.com. The mailbox has 10,000 unread messages. No one notices new alarms. Failures go undetected.
Fix
Send critical alarms to pager/SMS gateway or ticketing system. For non-critical, send to team channel with expectation of daily review. Never send to a mailbox that is not actively monitored.
×
Setting max_run_alarm too low — false positives every night
Symptom
max_run_alarm: 30 minutes. Job normally takes 25 minutes but occasionally takes 35 minutes due to data volume. Alarm fires every night. Team ignores alarm. Real hung job goes unnoticed.
Fix
Set max_run_alarm to p99 runtime + 20% based on historical data. Use autorep -J job_name -r -t to see runtime history. For seasonal jobs, use multiple JILs with different thresholds or conditional start times.
×
Acknowledging alarm without fixing root cause
Symptom
Same alarm fires every day about same job. Team acknowledges it daily but never investigates. Becoming noise, eventually real alarm gets missed.
Fix
Implement alarm resolution tracking. Require ticket number and root cause analysis for each acknowledged alarm. Block new alarms for same job until ticket is closed. Use alarm_action to create ticket automatically.
INTERVIEW PREP · PRACTICE MODE
Interview Questions on This Topic
Q01SENIOR
How do you configure AutoSys to send an email when a job fails?
Q02JUNIOR
What does max_run_alarm do?
Q03JUNIOR
What variables can you use in AutoSys notification_msg?
Q04JUNIOR
What does alarm_if_fail: 0 mean (the default)?
Q05JUNIOR
How do you acknowledge an AutoSys alarm?
Q01 of 05SENIOR
How do you configure AutoSys to send an email when a job fails?
ANSWER
Two methods: (1) Set alarm_if_fail: 1 and configure notification_emailaddress and notification_msg. AutoSys sends email to the specified addresses when the job fails. The notification_msg can include variables %s (job name), %m (machine), %t (timestamp), %x (exit code). (2) Use alarm_action to call a custom script that sends email, pages, or creates a ticket. The alarm_action script receives the alarm details as arguments. The notification approach is simpler; alarm_action is more flexible for integration with ticketing systems or pager duty.
Q02 of 05JUNIOR
What does max_run_alarm do?
ANSWER
max_run_alarm specifies a runtime threshold in minutes. If the job is still running after that many minutes, AutoSys raises an alarm. It does NOT kill the job (that's term_run_time). It just alerts the team that the job is taking longer than expected. This is useful for detecting hung jobs or jobs that have gotten stuck on a file wait or network call. The threshold should be set based on historical runtime p99 plus a buffer (e.g., 20%). Setting it too low causes false positives and alarm fatigue. Setting it too high delays detection of real hung jobs.
Q03 of 05JUNIOR
What variables can you use in AutoSys notification_msg?
ANSWER
AutoSys supports: %s = job name, %m = machine name, %t = timestamp (when the event occurred), %x = exit code of the job. Example: notification_msg: "Job %s failed on %m at %t with exit code %x. Log: /logs/autosys/%s.err". The %s variable is especially useful for constructing log file paths. The %x variable is critical for triage — it tells the on-call engineer why the script failed (e.g., exit code 2 = file not found, exit code 3 = database connection error).
Q04 of 05JUNIOR
What does alarm_if_fail: 0 mean (the default)?
ANSWER
alarm_if_fail: 0 means that when the job fails, AutoSys does NOT raise an alarm in the Event Server. The job status becomes FAILURE, but no alert is triggered. This is the default setting. Many teams forget to set it to 1, leading to silent failures. Any job that is critical to production must have alarm_if_fail: 1 explicitly configured. Security and compliance audits often require proof that all critical jobs have alarms enabled.
Q05 of 05JUNIOR
How do you acknowledge an AutoSys alarm?
ANSWER
Two methods: (1) Through the Workload Control Center (WCC) interface — navigate to the alarm, select 'Acknowledge'. (2) Using command line: sendevent -E ALARM_ACK -J job_name where job_name is the job that caused the alarm. Acknowledging an alarm removes it from the active alarm list but does not fix the underlying issue. The alarm will reappear if the job fails again on the next run unless the root cause is fixed. Many teams also use sendevent -E ALARM_ACK -A to acknowledge all alarms (not recommended — leads to alarm fatigue).
01
How do you configure AutoSys to send an email when a job fails?
SENIOR
02
What does max_run_alarm do?
JUNIOR
03
What variables can you use in AutoSys notification_msg?
JUNIOR
04
What does alarm_if_fail: 0 mean (the default)?
JUNIOR
05
How do you acknowledge an AutoSys alarm?
JUNIOR
FAQ · 5 QUESTIONS
Frequently Asked Questions
01
How do I get notified when an AutoSys job fails?
Set `alarm_if_fail: 1 and add notification_emailaddress: your-team@company.com to the job definition. Include a notification_msg` with the log file path and %x exit code so on-call engineers know where to look.
Was this helpful?
02
What is max_run_alarm in AutoSys?
max_run_alarm specifies a runtime threshold in minutes. If the job is still running after that many minutes, AutoSys raises an alarm. It doesn't kill the job (that's term_run_time), it just alerts the team that the job is taking longer than expected.
Was this helpful?
03
What are the notification message variables in AutoSys?
AutoSys supports: %s (job name), %m (machine name), %t (timestamp), %x (exit code). Use these in notification_msg and notification_msg_on_success to make alert emails immediately informative.
Was this helpful?
04
What is the default value of alarm_if_fail?
The default is 0, which means no alarm is raised on failure. You must explicitly set alarm_if_fail: 1 on jobs where you want failure alerts. Many teams make this a required attribute in their job definition standards.
Was this helpful?
05
How do I acknowledge an AutoSys alarm?
Use sendevent -E ALARM_ACK or acknowledge through the WCC interface. Unacknowledged alarms accumulate in the alarm list. Establishing an alarm acknowledgement process is important for keeping the alarm list meaningful.