Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check SQL Agent Jobs Failed
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
I use to execute this check only once per day in the morning.
define service{
use generic-service
host_name mysqlserver
servicegroups SqlAgentJobs
service_description Check SQL Agent Jobs on Failure
check_command check_sqlagent_jobs
check_period goodtime
contact_groups sqlmail
notifications_enabled 1
notification_interval 1440
notification_period goodtime
notification_options c,u
}
define command{
command_name check_sqlagent_jobs
command_line $USER1$/./check_nrpe -H $HOSTADDRESS$ -n -p 5666 -t 60 -c check_sql_jobs
}
you have to define in timeperiods.cfg the interval goodtime or use your own interval.
define service{
use generic-service
host_name mysqlserver
servicegroups SqlAgentJobs
service_description Check SQL Agent Jobs on Failure
check_command check_sqlagent_jobs
check_period goodtime
contact_groups sqlmail
notifications_enabled 1
notification_interval 1440
notification_period goodtime
notification_options c,u
}
define command{
command_name check_sqlagent_jobs
command_line $USER1$/./check_nrpe -H $HOSTADDRESS$ -n -p 5666 -t 60 -c check_sql_jobs
}
you have to define in timeperiods.cfg the interval goodtime or use your own interval.
Reviews (0)
Be the first to review this listing!