Hello, I need a help regarding generation of xml from the xymon status. When I run the below command in xymon server, It works fine. */usr/local/xymon/client/bin/xymon xymon_server "hobbitdxboard host=hostname test=testname" * But when I try to use the same command in a machine where xymon client is installed, its not retrieving any data.
Thanks Anoop
Is the client allowed to talk to the server on port 1984? Is the server on 1984?
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Anoop Mohan Sent: Tuesday, February 10, 2015 10:48 AM To: xymon at xymon.com Subject: [Xymon] using hobbitdxboard in xymon client
Hello, I need a help regarding generation of xml from the xymon status. When I run the below command in xymon server, It works fine. /usr/local/xymon/client/bin/xymon xymon_server "hobbitdxboard host=hostname test=testname" But when I try to use the same command in a machine where xymon client is installed, its not retrieving any data.
Thanks Anoop This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
On 11 February 2015 at 03:47, Anoop Mohan <anoopw14 at gmail.com> wrote:
When I run the below command in xymon server, It works fine. */usr/local/xymon/client/bin/xymon xymon_server "hobbitdxboard host=hostname test=testname" * But when I try to use the same command in a machine where xymon client is installed, its not retrieving any data.
Check that it works without specifying the hostname and see if you get something. Make sure it's a test that you know exists, such as "conn":
*/usr/local/xymon/client/bin/xymon xymon_server "hobbitdxboard test=conn"*
Is it only the XML output that fails? Have you tried it with "hobbitdboard" instead? Perhaps try a different command such as hostinfo:
*/usr/local/xymon/client/bin/xymon xymon_server hostinfo*
Are you running it in a xymoncmd environment? Try running it like so:
/usr/local/xymon/client/bin/xymoncmd sh -c '$XYMON $XYMSRV hostinfo'
Cheers Jeremy
Den 10-02-2015 kl. 17:47 skrev Anoop Mohan:
Hello, I need a help regarding generation of xml from the xymon status. When I run the below command in xymon server, It works fine.
//usr/local/xymon/client/bin/xymon xymon_server "hobbitdxboard host=hostname test=testname" / But when I try to use the same command in a machine where xymon client is installed, its not retrieving any data. My guess would be that you have some IP access control options on your xymond. It is only the IP's listed in the "--www-senders" and "--admin-senders" that are allowed to query the board status.
If that is the case, then you should see the request rejected in the xymond.log file on the Xymon server.
Regards, Henrik
participants (4)
-
anoopw14@gmail.com
-
henrik@hswn.dk
-
jlaidman@rebel-it.com.au
-
Paul.Root@CenturyLink.com