[Xymon] How to make link in alert message show hostname instead of "localhost"?

nor krie norkrie at gmail.com
Tue Feb 4 15:13:47 CET 2020


Sorry for the typo, you have to type "xymoncmd" of course...

Am Di., 4. Feb. 2020 um 11:29 Uhr schrieb nor krie <norkrie at gmail.com>:

> Just a small hint: "xymoncmd" is your friend. It will open a new shell
> with all xymon environment variables set, and then you can find out what
> your active settings are.
> Just type "xymond", and then "set | grep WWW" to get your WWW variables.
> Also very useful in custom scripts, if you need the xymon environment.
>
> HTH
>
> Norbert
>
> Am Mo., 3. Feb. 2020 um 16:28 Uhr schrieb Roess, Justin <
> justin.roess at multiplan.com>:
>
>> Believe you’re looking for XYMONSERVERWWWNAME in xymonserver.cfg
>>
>>
>>
>> *Justin Roess*
>>
>>
>>
>> *From:* Xymon <xymon-bounces at xymon.com> *On Behalf Of *Jeff Gilmore
>> *Sent:* Sunday, February 2, 2020 11:03 AM
>> *To:* xymon at xymon.com
>> *Subject:* [Xymon] How to make link in alert message show hostname
>> instead of "localhost"?
>>
>>
>>
>> When my Xymon instance generated alert emails, the link at the bottom
>> links like this:
>>
>>
>>
>> "See http://localhost/xymon-cgi/svcstatus.sh?HOST=choicevoip&SERVICE=conn
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__localhost_xymon-2Dcgi_svcstatus.sh-3FHOST-3Dchoicevoip-26SERVICE-3Dconn&d=DwMFaQ&c=E0AVYOSVkyZIeXdarKjL5A&r=b3gvYyKM-AAVmjvpsEHaoDXWlTDLmcDWKyK0PSgGIkE&m=IVcENxZJ7a5g_8wVZSW6lPZVOh2nu2oHm7ozTaWIrIc&s=Ng4cLBQI9sceX8NMlgT_4MHtN7LP_8DZJ8pDs9ToRjQ&e=>
>>>>
>>
>>
>> Can anyone tell me how to have these links get generated to use the
>> actual hostname instead of localhost?
>>
>>
>>
>> Thanks!
>>
>>
>>
>> Jeff
>>
>>
>>
>>
>> * NOTICE OF CONFIDENTIALITY: Information included in and/or attached to
>> this transmission may be confidential. This transmission is intended for
>> the addressee(s) only. Any unauthorized disclosure, reproduction, or
>> distribution of and /or any unauthorized action taken in reliance on the
>> information in this transmission is prohibited. If you believe that you
>> received this transmission in error, please notify the sender by reply
>> transmission and destroy the transmission without copying or disclosing it.
>> We may also need to contact you for additional information as required by
>> HIPAA or state law.  * _______________________________________________
>> Xymon mailing list
>> Xymon at xymon.com
>> http://lists.xymon.com/mailman/listinfo/xymon
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20200204/b96d0ebd/attachment.htm>


More information about the Xymon mailing list