Xymon Mailing List Archive search

Enable/disable Issue

list Scott Birl
Thu, 10 Oct 2019 19:52:45 +0000
Message-Id: <user-e6e2e7c8b782@xymon.invalid>

Is the port required for the RECIPIENT?

Try running:  ./xymon --debug 127.0.0.1:1985 "disable xymon.comm 1m powered_down_for_now"


-----Original Message-----
From: Uddin, Enaze <user-49e8fb0c13e1@xymon.invalid> 
Sent: Thursday, October 10, 2019 03:39 PM
To: Scott Birl <user-e9368a101f99@xymon.invalid>; Xymon MailingList <xymon at xymon.com>
Subject: RE: [Xymon] Enable/disable Issue

This is what I get now:

$ ./xymon 127.0.0.1 "disable xymon.comm 1m powered_down_for_now"
Xymon version 4.3.28
Usage: ./xymon [--debug] [--merge] [--proxy=http://ip.of.the.proxy:port/] RECIPIENT DATA
  RECIPIENT: IP-address, hostname or URL
  DATA: Message to send, or "-" to read from stdin

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.

-----Original Message-----
From: Xymon <xymon-bounces at xymon.com> On Behalf Of Scott Birl
Sent: Thursday, October 10, 2019 2:34 PM
To: Xymon MailingList <xymon at xymon.com>
Subject: Re: [Xymon] Enable/disable Issue

Instead of "-1" trying using "1m" (for 1 minute).


Ive always had problems with spaces with the "why", so where you have
    powered down for now
I had to change to
    powered_down_for_now

... so just in case you get another error.


-----Original Message-----
From: Xymon <xymon-bounces at xymon.com> On Behalf Of Uddin, Enaze via Xymon
Sent: Thursday, October 10, 2019 02:53 PM
To: Root, Paul T <user-76fdb6883669@xymon.invalid>; xymon at xymon.com
Subject: Re: [Xymon] Enable/disable Issue


Ok I tried again and I get this:

$ ./xymon 127.0.0.1 "disable xymon.comm -1 powered down for now"
Unknown option -1
Xymon version 4.3.28
Usage: ./xymon [--debug] [--merge] [--proxy=http://ip.of.the.proxy:port/] RECIPIENT DATA
RECIPIENT: IP-address, hostname or URL
DATA: Message to send, or "-" to read from stdin

Is my syntax incorrect?