hello,
i think i need to narrow my question:
i created a data custom names "Test" , it created a table in the SQL named: "dbo.Inv_Test"
now from that Ubuntu i know what information i am trying to gather, by using "cat \etc\issue*"
my question is:
how can i take the output from "cat \etc\issue*" and inject it to the "dbo.Inv_Test", what is the unix bash script that is needed to be done?
we've tried this, the command completes successfully, but it's not actually writing the content into anywhere:
#!/bin/bash -x# check that tag-file existsTF="/etc/issue*"if [ -z $TF ] ; then Test=$(cat $TF)else Test="Generic Linux Image"fiexit $Testam i missing something?
by any chance did anyone encounter such a request before?
tnx
Hagai Nachmani
Original Message:
Sent: 07-05-2020 08:27 AM
From: Benjamin Barker
Subject: Get output information from Ubuntu machine into ITMS SQL
You could use a custom inventory, I'd imagine.
https://help.symantec.com/cs/ITMS8.0/INVENTORY/v17356799_v116337854/Creating-a-custom-inventory-script-task?locale=EN_US
Once that's complete, and you've run the custom inventory script on your Ubuntu machines, the data should be in a SQL table named Inv_{custom_data_class_name}
NOTICE: This message is confidential, intended for the named recipient(s) and may contain information that is (i) proprietary to the sender, and/or,(ii) privileged, confidential and/or otherwise exempt from disclosure under applicable Florida and federal law, including, but not limited to, privacy standards imposed pursuant to the federal Health Insurance Portability and Accountability Act of 1996 ("HIPAA"). Receipt by anyone other than the named recipient(s) is not a waiver of any applicable privilege. Thank you in advance for your compliance with this notice.
Original Message:
Sent: 7/5/2020 8:16:00 AM
From: Hagai Nachmani
Subject: Get output information from Ubuntu machine into ITMS SQL
Hello,
we have a image type flg in our Ubuntu images.
We are tryingto get that flg into the ITMS.
How can it be done?
(in windows, you create this procedure by following this guide: <https://knowledge.broadcom.com/external/article?legacyId=HOWTO124425>
But we can't find a similar solution for linux (Ubuntu).
Any idea?
Thanks,
Hagai Nachmani,
---------------------------------------------------------------------
A member of the Intel Corporation group of companies
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.