Skip to end of metadata
Go to start of metadata

Diagram

Elements

Notification
References Notes

Specifies a System Monitor notification that includes

  • NotificationInterface - use of the built-in interface for Nagios (and clones) with a NotificationInterface element. This interface does not require external components such as the System Monitor Client, e.g. the nsca_send utility.
  • NotificationCommand - use of a System Monitor command line client that is invoked by JobScheduler. For Nagios (and clones) this could be e.g. the nsca_send utility.
  • NotificationMail - use of a System Monitor mail client that is invoked by JobScheduler.

The JobScheduler Monitoring Interface will use the interfaces or command line tool to report messages to the respective System Monitor.

name
Notification description name
Element Type Required Description
Attribute: name string
Optional Notification description name
NotificationMonitor
  • Occurrence: 1
Required
References Notes

Specifies the System Monitor that is being used for notification: either by a Plugin Interface or by command line invocation.

service_name_on_error

This setting is used for Nagios or derivative software and specifies the service status code for error messages.

service_name_on_success

This setting is used for Nagios or derivative software and specifies the service that is configured in the Service Monitor for receiving informational messages on successful job runs.

The service name must match the corresponding setting in the System Monitor.

service_status_on_error

This setting is used for Nagios or derivative software and specifies the service that is configured in the Service Monitor for messages of job runs with errors and for job recovery messages.

The service name must match the corresponding setting in the System Monitor.

service_status_on_success

This setting is used for Nagios or derivative software and specifies the service status code for success messages.

NotificationObjects [NotificationObjectsType]
  • Occurrence: 1
Required
References Notes

Specifies the objects that are being used for messages: Job, JobChains, Timers, MasterMessage, TaskWarning, TaskIfLongerThan, TaskIfShorterThan.

  • Notifications can be restricted to certain jobs or job chains for which messages are forwarded to a specific System Monitor or System Monitor service.
  • TimerRef includes checks that verify if a certain threshold has been exceeded by a minimum or maximum value. Such checks can include to verify the duration of a job chain or specific values that are reported by jobs.
  • MasterMessage includes problems detected by a JobScheduler Master, e.g. database connection lost.
  • TaskWarning includes job execution warning messages.
  • TaskIfLongerThan includes the feature to send notification in case that the execution of job requires a longer duration than expected.
  • TaskIfShorterThan includes the feature to send notification in case that the execution of job requires a shorter duration than expected.

Write a comment…