Notification daemon: vovnotifyd
The vovnotifyd daemon is used to deliver notifications to selected recipients about functions that are related to job events.
On Accelerator, this delivery function is associated with the MAILTO property of the jobs. (This association does not apply to other Altair Accelerator products.)
The notifications are related to health checks, such as taskers that are down, jobs that are stuck or waiting too long, and so on. These conditions are detected by Accelerator or Monitor. Predefined system health check procedures are included with the Altair Accelerator.
The content and the email delivery of the notifications can be configured by using the forms and text fields on the browser, or by creating and editing files that use CLI commands.
Config files | vnc.swd/vovnotifyd/config.tcl vnc.swd/vovnotifyd/config_smtp.tcl vnc.swd/vovnotifyd/config_export.tcl |
Info file | vnc.swd/vovnotifyd/info.tcl |
Auxiliary files | $VOVDIR/tcl/vtcl/vovhealthlib.tcl $VOVDIR/local/vovhealthlib.tcl vnc.swd/vovnotifyd/vovhealthlib.tcl |
Timing of Notifications
You can use the TIMEVAR definitions to control the timing at which license expiration and other emails are sent.
source $env(VOVDIR)/tcl/vtcl/vovflexlmdlib.tcl
package require vovurlutils
global HEALTHLIB_PRODUCT_MAP HEALTH_PROCS env
set HEALTHLIB_PRODUCT_MAP(doTestHealthMyFeature) "nc"
# registerHealthCheck doTestHealthMyFeature -checkfreq 10 -forceCheckfreq -mailfreq 10 -forceMailfreq
lappend HEALTH_PROCS(list) doTestHealthMyFeature
proc doTestHealthMyFeature { args } {
global HEALTH_PROCS
set homeUrl $HEALTH_PROCS(homeURL)
# VovMessage "now running doTestHealthMyFeature"
set subject "TestMyHealthFeature"
set body "\nHi,\n\nWe ran TestMyHealthFeature.\n"
doMailNotify doTestHealthMyFeature "@ADMIN" $subject $body
}
TIMEVAR doTestHealthMyFeature {
Tue {
suppressMail doTestHealthMyFeature 1
}
06:00-08:00 {
suppressMail ALL 0
suppressMail doTestHealthMyFeature 0
}
default {
suppressMail ALL 1
suppressMail doTestHealthMyFeature 1
}
}
Where calling suppressMail
with a "1" for the specified health check
will suppress the mailings for that TIMEVAR. suppressMail
accepts
either the name of a specific health check, or "ALL" to control all defined health
check routines.
Configure vovnotifyd via the Browser
- Health Checks
- By default, all procedures are monitored. Procedures that are designated as not required can be disabled.
- SMTP Configuration
- SMTP Configuration is used to configure the notification system. Note: To query LDAP for email addresses, LDAP must first be configured. For details about LDAP configuration, refer to LDAP Integration.
- E-Mail Maps
- E-Mail Maps are used to add, update or remove the email addresses of the users that receive notifications. By default, email addresses are sent directly via either the user ID or user@sourcedomain. In addition, alternate email addresses can also be entered per recipient.
Configure vovnotifyd via the CLI
Autostart vovnotifyd
% cd `vovserverdir -p .`
% mkdir autostart
% cp $VOVDIR/etc/autostart/start_vovnotifyd.tcl autostart