On Thu, 18 Apr 2013, Payal Gupta wrote:
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
Hopeing, it's a typo and you're entry looks like
[test] ENVFILE $XYMONHOME/etc/xymonserver.cfg CMD $XYMONHOME/ext/test LOGFILE $XYMONSERVERLOGS/test.log INTERVAL 6m
how looks your entry for this host in host.cfg and how looks the
1st line: 'config hosts.cfg'
1st line in your hosts.cfg ?
how looks your entry for xymond in your tasks.cfg ?
by the way, you needn't restart the server, after 5 minutes it should run anyway ...
cheers, martin
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.
0