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

Robert Sander r.sander at heinlein-support.de
Thu Jul 7 21:54:56 CEST 2016


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)

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
-- 
Robert Sander
Heinlein Support GmbH
Linux: Akademie - Support - Hosting
http://www.heinlein-support.de

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20160707/784e60b3/attachment.sig>


More information about the checkmk-en mailing list