Symantec Management Platform (Notification Server)

 View Only
  • 1.  Custom Inventory - Command Line Results

    Posted Oct 03, 2022 02:20 PM
    Hello everyone,

    I have been requested to create a custom inventory.  While we have many in our environment, this one is a little unique.  We are being requested to run a specific .exe with command line parameters to determine each client's status as it relates to that application's configuration.  In the end, we want to run the command line the team has provided us with and store the output from that command line.

    I have some thoughts, but I would welcome any other thoughts on the best way to go about this and if anyone has done this in the past.

    Thanks!


  • 2.  RE: Custom Inventory - Command Line Results

    Broadcom Employee
    Posted Oct 06, 2022 01:24 AM
    If you are running a script, you could use the Advanced button and on the first tab (script), click the "Save script output with task status". You'll get the results on a per device basis.


  • 3.  RE: Custom Inventory - Command Line Results

    Posted Oct 06, 2022 08:32 AM
    Thanks for your reply Jesse.  Yes, we can do this, but with over 23k devices, we need to be able to gather the data dynamically and return the data to the database to allow for reporting via SQL.

    I believe we have a solution to this now.  Thanks!


  • 4.  RE: Custom Inventory - Command Line Results

    Posted Oct 06, 2022 10:15 AM
    Hi Jeff,

    TaskOutput is stored in a SQL Table called TaskOuptutProperty
    Here is the KB: https://knowledge.broadcom.com/external/article/178611/how-to-find-task-output-data-in-the-syma.html



  • 5.  RE: Custom Inventory - Command Line Results

    Posted Oct 06, 2022 10:28 AM
    Edited by Jeff Stanton Oct 06, 2022 10:30 AM
    Thanks Johannes!  We have found a way to capture the data we need in its own custom inventory.