[Xymon] (Xymon newbie) -- how to schedule a Xymon monitoring?
Kern Doe
kern_doe at yahoo.com
Thu May 10 01:10:08 CEST 2018
Hey thanks Jeremy, I appreciate it, I'm going to dig into this! I got a lot to learn here .... Let's go GreenThis email contains 100% recycled electrons.
On Wednesday, May 9, 2018, 6:55:25 PM EDT, Jeremy Laidman <jeremy at laidman.org> wrote:
On 10 May 2018 at 07:48, Kern Doe via Xymon <xymon at xymon.com> wrote:
Hello Xymon gurus,
I have a test database script, run by userID db2inst1 on an hourly basis by a cron, producing an output text file containing a flag (a word) red/green, for example:
cat /tmp/chkpublicprivs.out
centos_hp0.NoPublic red db Security WARNING <br> Wed May 9 17:16:33 EDT 2018: PUBLIC access found in abcd database.
Xymon picks this up when I manually kick this off this command:
/home/xymon/server/bin/bb 172.20.10.5 "status `cat /tmp/chkpublicprivs.out`"
When my chkpublicprivs script runs again producing GREEN, it doesn't look like Xymon knows about this. How do we schedule Xymon to run? What parameter that determines that? I know I can put the above Xymon command in a cron but I suspect Xymon has its own scheduling mechanism.
Thank you in advance!!
Kern --
Kern, you are correct. Xymon has a scheduler process called xymonlaunch. On a Xymon server, the configuration file that defines Xymon's scheduled tasks is tasks.cfg. On a Xymon client, the configuration file is called clientlaunch.cfg. The format of clientlaunch.cfg and tasks.cfg is the same. Run "man tasks.cfg" on your Xymon server to read about the format of the file, or view it online here: http://xymon.sourceforge.net/xymon/help/manpages/man5/tasks.cfg.5.html
CheersJeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20180509/bd50e908/attachment.html>
More information about the Xymon
mailing list