[Xymon] Server side external scripts not working

Root, Paul T Paul.Root at CenturyLink.com
Thu Apr 18 10:28:51 CEST 2013


Looks like you have an email address where a hostname/ip address should be.   The “Could not connect to Xymon daemon at xymon-server-ip:1984 (Connection refused)” is kind of the giveaway.

From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Payal Gupta
Sent: Thursday, April 18, 2013 3:01 AM
To: xymon at xymon.com
Subject: [Xymon] Server side external scripts not working

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/566eb5aa/attachment.html>


More information about the Xymon mailing list