[Xymon] Reference tag in hosts.cfg

T.J. Yang tjyang2001 at gmail.com
Fri Jan 10 18:24:41 CET 2014


On Fri, Jan 10, 2014 at 10:37 AM, Henrik Størner <henrik at hswn.dk> wrote:

> Den 10-01-2014 15:15, Andy Smith skrev:
>
>  Hi,
>>
>> Could I request that this trivial change be added at some stage please.
>> It introduces the ability to include a tag in hosts.cfg which has no
>> purpose other than provide an arbitary reference. eg
>>
>> configdbid=12345
>>
>> In my case '12345' would be the ID of a record in an asset database and
>> I can use this to construct a query that delivers useful support
>> information.  It could also be used the other way round and provide a
>> way to maintain hosts.cfg in a mysql db or some such.  Let me know what
>> you think.
>>
>
> Hmm ... hostnames are supposed to be a unique id for the servers in
> hosts.cfg - why can't you use that?
>
>


I am in similar situation with Andy.  but I am looking a quick way to link
to other asset systems that doesn't use "asset name" but "asset id" for
searching.

My asset system has a web interface as
http://test.com/hostinfo?host=DatabaseID to display the asset information
of a hostname using numeric ID.
My current approach is to use hostinfo.csv + bit of code changes(R1) to
provide a one click away reach other data sources (like IBM BigFix, Ticket
System,  Puppet ...).


R1:
http://sourceforge.net/mailarchive/forum.php?thread_name=CAD2GW8rWdKp3MgF-R%2BpJsNmmRVBuuq2eXW3bjVWkTODtST2rag%40mail.gmail.com&forum_name=xymon-developer

May be above quick/easy hack will work for Andy's case. But this hack
 ditch the original purpose of hostinfo.csv.

I am hoping the asset URL link can be in "info" column as  a clickable
tag/link.
 this approach will save me some explanation on how to get to a xymon
host's other information.


tj


> Regards,
> Henrik
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>



-- 
T.J. Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140110/27dc49f8/attachment.html>


More information about the Xymon mailing list