<div dir="ltr"><div>Something like this should work:<br></div><div><br></div><div style="margin-left:40px">./xymon 127.0.0.1 "disable xymon.conn 1m "powered\ down\ for\ now""</div><div style="margin-left:40px">./xymon 127.0.0.1 "disable xymon.conn -1 "powered\ down\ for\ now""<br></div><div><br></div><div>Need to escape the spaces with backslashes in the message and also put the <message> in it's own quotation marks. I do commands like this from the command line all the time. Using "-1" will also work to "disable until OK", instead of specifying a duration like "1m".<br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div>--</div><div>Matt Vander Werf</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 10, 2019 at 3:52 PM Scott Birl <<a href="mailto:scott.birl@temple.edu">scott.birl@temple.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Is the port required for the RECIPIENT?<br>
<br>
Try running:  ./xymon --debug <a href="http://127.0.0.1:1985" rel="noreferrer" target="_blank">127.0.0.1:1985</a> "disable xymon.comm 1m powered_down_for_now"<br>
<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: Uddin, Enaze <<a href="mailto:Enaze.Uddin@experian.com" target="_blank">Enaze.Uddin@experian.com</a>> <br>
Sent: Thursday, October 10, 2019 03:39 PM<br>
To: Scott Birl <<a href="mailto:scott.birl@temple.edu" target="_blank">scott.birl@temple.edu</a>>; Xymon MailingList <<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>><br>
Subject: RE: [Xymon] Enable/disable Issue<br>
<br>
This is what I get now:<br>
<br>
$ ./xymon 127.0.0.1 "disable xymon.comm 1m powered_down_for_now"<br>
Xymon version 4.3.28<br>
Usage: ./xymon [--debug] [--merge] [--proxy=<a href="http://ip.of.the" target="_blank">http://ip.of.the</a>.proxy:port/] RECIPIENT DATA<br>
  RECIPIENT: IP-address, hostname or URL<br>
  DATA: Message to send, or "-" to read from stdin<br>
<br>
Is using xymon a valid host considering I see it in the list of hosts to disable on the Enable/disable page? Not sure if that's the issue.<br>
<br>
-----Original Message-----<br>
From: Xymon <<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a>> On Behalf Of Scott Birl<br>
Sent: Thursday, October 10, 2019 2:34 PM<br>
To: Xymon MailingList <<a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a>><br>
Subject: Re: [Xymon] Enable/disable Issue<br>
<br>
Instead of "-1" trying using "1m" (for 1 minute).<br>
<br>
<br>
Ive always had problems with spaces with the "why", so where you have<br>
    powered down for now<br>
I had to change to<br>
    powered_down_for_now<br>
<br>
... so just in case you get another error.<br>
<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: Xymon <<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a>> On Behalf Of Uddin, Enaze via Xymon<br>
Sent: Thursday, October 10, 2019 02:53 PM<br>
To: Root, Paul T <Paul.Root@CenturyLink.com>; <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
Subject: Re: [Xymon] Enable/disable Issue<br>
<br>
<br>
Ok I tried again and I get this:<br>
<br>
$ ./xymon 127.0.0.1 "disable xymon.comm -1 powered down for now"<br>
Unknown option -1<br>
Xymon version 4.3.28<br>
Usage: ./xymon [--debug] [--merge] [--proxy=<a href="http://ip.of.the" target="_blank">http://ip.of.the</a>.proxy:port/] RECIPIENT DATA<br>
RECIPIENT: IP-address, hostname or URL<br>
DATA: Message to send, or "-" to read from stdin<br>
<br>
Is my syntax incorrect?<br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>