[Check_mk (english)] Running a script at specific time

I need to have a script that does some checks run at at hh:50. How can this be done?

Cron?

- --
Live long and prosper
Robin `ypid` Schneider

···

On 07.07.2016 20:52, Rick Kohrs wrote:

I need to have a script that does some checks run at at hh:50. How can
this be done?

On *nix, use cron.
On Windows, use the task scheduler. (haven’t tried hourly tasks, but
I would hope it works)

Have you script write it's output to a file, then have a check_mk

check (local, plugin, etc)
read and process the output file when the agent runs. (basically
cache the results till the
next HH:50 run)

···

On 07/07/2016 02:52 PM, Rick Kohrs
wrote:

    I need to have a script that does some checks run

at at hh:50. How can this be done?

_______________________________________________
checkmk-en mailing list

checkmk-en@lists.mathias-kettner.dehttp://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Forgot to mention that Passive Checks might come in handy, in combination with
Cron.

- --
Live long and prosper
Robin `ypid` Schneider

···

On 07.07.2016 21:11, Rick Kohrs wrote:

Originally I had a script that was triggered by cron and wrote out a file.
The file was then picked up by a script running via check_mk. Our
preference is to avoid using cron.

The check_mk agent can pick up files in a spool directory (usually
/var/lib/check_mk_agent/spool) and append their contents to its output.

No need to implement a plugin or local check if your job or application
is able to produce an agent section.

Regards

···

On 07.07.2016 21:19, Jam Mulch wrote:

On *nix, use cron.
On Windows, use the task scheduler. (haven't tried hourly tasks, but I
would hope it works)

Have you script write it's output to a file, then have a check_mk check
(local, plugin, etc)
read and process the output file when the agent runs. (basically cache
the results till the
next HH:50 run)

--
Robert Sander
Heinlein Support GmbH
Linux: Akademie - Support - Hosting

Tel: 030-405051-43
Fax: 030-405051-19

Zwangsangaben lt. §35a GmbHG:
HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
Geschäftsführer: Peer Heinlein -- Sitz: Berlin