[Xymon] XYMON column not displaying [SEC=UNCLASSIFIED]
Jeremy Laidman
jlaidman at rebel-it.com.au
Thu Apr 5 05:23:26 CEST 2012
Dennis
The "NEEDS" is not required, so perhaps best to remove it until you start
to get something.
The addition of the service name in the client's hosts.cfg is also not
needed (unless you are using xymongrep in your script to determine which
hosts to test); but it can't hurt.
You need to be sure that the script is running. First, set the interval to
10 seconds (so you're not waiting around for something to happen), then add
something near the top of the script like "touch /tmp/testfile", and see of
the file gets created or timestamp updated.
Also check the xymonlaunch.log file to be sure that the change to tasks.cfg
has been detected by xymonlaunch.
It might help if you can show us the script you're using.
Cheers
Jeremy
On Thu, Apr 5, 2012 at 11:41 AM, Dennis W <dennisw at agd.gov.au> wrote:
> UNCLASSIFIED//
>
> Hi,****
>
> ** **
>
> I have a custom script running on my XYMON server. The following link
> shows the basic setup****
>
> ** **
>
> http://www.xymon.com/xymon/help/xymon-tips.html#scripts****
>
> ** **
>
> As seen the server side script is essentially the same with the exception
> that I run a python script that returns a COLOR and RESULT. With a few
> slight modifications I can run this script from /ext and it echo’s the
> correct results. So far so good.****
>
> ** **
>
> Additionally, as I am running XYMON 4.3. I added a new section to the
> tasks.cfg file along with a NEEDS xymond that is not included in the
> [myscript] example from the attached link.****
>
> ** **
>
> I updated the hosts.cfg file and added the new service against the IP
> address and name of a client server. NOT my monitoring server.****
>
> ** **
>
> When I restart XYMON all seems to be running successfully. The Log file
> does not report any errors and as I said before with a few slight mods I
> can echo the correct results to the screen.****
>
> ** **
>
> The issue I am having is that even though all appears to be doing its job
> the new column does not appear on my monitoring page. Any ideas?****
>
> ** **
>
> Would appreciate the guidance.****
>
>
> Dennis****
>
> UNCLASSIFIED//
>
> ------------------------------
> If you have received this transmission in error please notify us
> immediately by return e-mail and delete all copies. If this e-mail or any
> attachments have been sent to you in error, that error does not constitute
> waiver of any confidentiality, privilege or copyright in respect of
> information in the e-mail or attachments.
>
> ------------------------------
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120405/f6c57f0c/attachment.html>
More information about the Xymon
mailing list