On Fri, Jan 10, 2014 at 10:37 AM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> 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=user-e639a182a5e3@xymon.invalid&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
--
T.J. Yang