Opened 17 months ago

Closed 7 months ago

#503 closed defect (fixed)

No documentation how to monitor scheduled tasks

Reported by: dandersson Owned by: mickem
Priority: 1 Milestone: 0.4.1
Component: CheckTaskSchedule Version: 0.3.9
Severity: Bugs Keywords:
Cc:

Description

Is it possible to monitor that scheduled tasks have status:
"Last Result" = 0
"Next Run Time" != Disabled

I can't find a example to do this, or managed to test out how it's done.

I'm trying to monitor a Windows 2003 server. Can it be done with either CheckTaskSched or CheckTaskSched2?

Change History (6)

comment:1 Changed 17 months ago by mickem

I would have to check this as I am not sure...

comment:2 Changed 16 months ago by mickem

  • Milestone set to 0.4.0

comment:3 Changed 16 months ago by mickem

  • Component changed from NRPE to CheckTaskSchedule

comment:4 Changed 16 months ago by mickem

Last result is called exit_code IIRC and that can be checked with both.

Next run I am unsure about, there is a "most_recent_run_time" but that is I would guess the last time it was run. As for disabled dates can have a "null" (ish) value which you can I think check against 0.

I shall see if I have time later this week to look into this a bit more and get you some more details...

Michael Medin

comment:5 Changed 14 months ago by mickem

  • Milestone changed from 0.4.0 to 0.4.1

comment:6 Changed 7 months ago by mickem

  • Resolution set to fixed
  • Status changed from new to closed

There is documentation now,... if not sufficient please re-open...

Note: See TracTickets for help on using tickets.