[Xymon] Enable/disable Issue

Uddin, Enaze Enaze.Uddin at experian.com
Thu Oct 10 22:55:41 CEST 2019


Do I need to set a user and password for accessing the "Administration" items?

Apache error_log shows this:

[Thu Oct 10 20:44:00.995632 2019] [cgi:error] [pid 8718] [client xx.xx.xxx.xxxx:xxxxx] script not found or unable to stat: /opt/xymon/cgi-secure/t2b-blue.gif, referer: https://xxxxx.xxxx.com/xymon/xymon-seccgi/enadis.sh

(IP and domain has been omitted by x's)

The directory does not contain the gifs it's trying to find, leading to a cgi:error.

-----Original Message-----
From: Root, Paul T <Paul.Root at CenturyLink.com> 
Sent: Thursday, October 10, 2019 3:38 PM
To: Uddin, Enaze <Enaze.Uddin at experian.com>; Scott Birl <scott.birl at temple.edu>; Xymon MailingList <xymon at xymon.com>
Subject: RE: [Xymon] Enable/disable Issue

Likely authentication.

-----Original Message-----
From: Uddin, Enaze <Enaze.Uddin at experian.com>
Sent: Thursday, October 10, 2019 3:29 PM
To: Scott Birl <scott.birl at temple.edu>; Xymon MailingList <xymon at xymon.com>
Subject: RE: [Xymon] Enable/disable Issue

Ok this worked, thanks!:

$ ./xymon 127.0.0.1 "disable xymon.conn -1 "powered_down_for_now""

So it works through command line as I see it in the GUI, now to figure out why it won't work through the GUI. Is this something to do with Apache and CGIs?

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

1985 ... old notes.  It's since been moved back to 1984.
The reason why I suggested "1m" was because of the posted example:

       $ ./xymon 127.0.0.1 "disable xymon.comm -1 powered down for now"
       Unknown option -1


But yes, -1 should have worked.



-----Original Message-----
From: Root, Paul T <Paul.Root at CenturyLink.com>
Sent: Thursday, October 10, 2019 04:07 PM
To: Scott Birl <scott.birl at temple.edu>; Xymon MailingList <xymon at xymon.com>
Subject: RE: [Xymon] Enable/disable Issue

Port is optional.  It defaults to 1984. Looks like you have your server on 1985, perhaps a proxy on 1984 and the server on 1985. I do that.

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

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 <Enaze.Uddin at experian.com>
Sent: Thursday, October 10, 2019 03:39 PM
To: Scott Birl <scott.birl at temple.edu>; 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=https://imss91-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=http%3a%2f%2fip.of.the.proxy%3aport%2f%5d&umid=769EE153-9494-4305-9E9A-A5A2B40DE20B&auth=19120be9529b25014b618505cb01789c5433dae7-8f25e02eb42e15a711d430059c2f90ea01fcc54c 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 <Paul.Root at CenturyLink.com>; 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=https://imss91-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=http%3a%2f%2fip.of.the.proxy%3aport%2f%5d&umid=769EE153-9494-4305-9E9A-A5A2B40DE20B&auth=19120be9529b25014b618505cb01789c5433dae7-8f25e02eb42e15a711d430059c2f90ea01fcc54c RECIPIENT DATA
RECIPIENT: IP-address, hostname or URL
DATA: Message to send, or "-" to read from stdin

Is my syntax incorrect?
_______________________________________________
Xymon mailing list
Xymon at xymon.com
https://imss91-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=http%3a%2f%2flists.xymon.com%2fmailman%2flistinfo%2fxymon&umid=769EE153-9494-4305-9E9A-A5A2B40DE20B&auth=19120be9529b25014b618505cb01789c5433dae7-54224b52906d4f169dd23b6ec4c223c25c66c598
_______________________________________________
Xymon mailing list
Xymon at xymon.com
https://imss91-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=http%3a%2f%2flists.xymon.com%2fmailman%2flistinfo%2fxymon&umid=769EE153-9494-4305-9E9A-A5A2B40DE20B&auth=19120be9529b25014b618505cb01789c5433dae7-54224b52906d4f169dd23b6ec4c223c25c66c598

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.
_______________________________________________
Xymon mailing list
Xymon at xymon.com
https://imss91-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=http%3a%2f%2flists.xymon.com%2fmailman%2flistinfo%2fxymon&umid=769EE153-9494-4305-9E9A-A5A2B40DE20B&auth=19120be9529b25014b618505cb01789c5433dae7-54224b52906d4f169dd23b6ec4c223c25c66c598

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.


More information about the Xymon mailing list