Check_tasksched Critical Not Found
Posted: Mon Oct 15, 2018 7:34 pm
Nagios 4.3.4
Nsclient 4.2.3
Windows 2016 DC servers
Exchange 2016 CU10 DAG 2 Node2
So I have two Servers running Exchange and they both have the same scheduled tasks
The check fails Critical Exchange Journal NOT FOUND
I ran from command line with same result.
From Node 2 it fails
I attached some images.
I deleted the task and recreated it no luck
Any ideas
Thank you
Tom
Nsclient 4.2.3
Windows 2016 DC servers
Exchange 2016 CU10 DAG 2 Node2
So I have two Servers running Exchange and they both have the same scheduled tasks
The check fails Critical Exchange Journal NOT FOUND
I ran from command line with same result.
From Node 2 it fails
Code: Select all
root@serv017:/usr/local/nagios/etc/objects/windowsservers# /usr/lib/nagios/plugins/check_nrpe -t 50 -H SERV021-N2 -c check_tasksched -a "filter=title eq 'Exchange Journal'" 'critical=most_recent_run_time < -1w' empty-state=critical 'empty-syntax=CRITICAL: Exchange Journal NOT found' 'detail-syntax=${title} is stale more than -1w'
CRITICAL: Exchange Journal NOT found
From Node 1 it works.
root@serv017:/usr/local/nagios/etc/objects/windowsservers# /usr/lib/nagios/plugins/check_nrpe -t 50 -H SERV021-N1 -c check_tasksched -a "filter=title eq 'Exchange Journal'" 'critical=most_recent_run_time < -1w' empty-state=critical 'empty-syntax=CRITICAL: Exchange Journal NOT found' 'detail-syntax=${title} is stale more than -1w'
: All tasks are ok|'Exchange Journal_exit_code'=0;0;0 'Exchange Journal_most_recent_run_time'=1539637200;0;1539044570
I deleted the task and recreated it no luck
Any ideas
Thank you
Tom