[Xymon] Server side external scripts not working

Payal Gupta payalg at cdac.in
Thu Apr 18 10:00:53 CEST 2013


Hi All,

I am using xymon 4.3.10.
I have a server side external script in ~xymon/server/ext/.
I have added an entry for the script in ~xymon/server/etc/tasks.cfg as follows:

[test]
   ENVFILE $XYMONHOME/etc/xymonserver.cfg
   CMD $XYMONHOME/ext/test
   LOGFILE $XYMONSERVERLOGS/test.log
   INTERVAL 6m

I have made an entry for the same in hosts.cfg as well.
In browser, a new column is updated with this test name but nothing is being
shown other than a horizontal line.

When i restarted the xymon server, i got this in my LOGFILE :

2013-04-17 16:14:02 Whoops ! Failed to send message (Connection failed)
2013-04-17 16:14:02 ->  Could not connect to Xymon daemon at xymon-server-ip:1984
(Connection refused)
2013-04-17 16:14:02 ->  Recipient 'xymon-server-ip', timeout 15
2013-04-17 16:14:02 ->  1st line: 'config hosts.cfg'
2013-04-17 16:14:02 Cannot load hosts.cfg from xymond, code 5
2013-04-17 16:14:02 Failed to load from xymond, reverting to file-load

I am not able to understand the problem. Is there anything I had left?

Thanks and Regards,

Payal Gupta
Project Engineer
National PARAM Supercomputing Facility
CDAC Pune
Maharashtra
-------------------------------------------------------------------------------------------------------------------------------

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130418/29809776/attachment.html>


More information about the Xymon mailing list