DX Infrastructure Manager

Expand all | Collapse all

Running Probe Report utility from command line

  • 1.  Running Probe Report utility from command line

    Posted 10-24-2017 03:07 AM

    Hello, 

    I'm trying to find a way to get the monitoring profile for a server.

    for example, what processes are monitored, what disks are monitored and the thresholds... 

     

    There is a utility (in nimsoft/bin) calls Probe Report that can create these kind of reports, but i can't find a way to run it automatically from command line.

    Is that possible in any way ? 

     

    Can i get the threshold in another way ? from the database ? 

     

    Thanks,

    Amit.



  • 2.  Re: Running Probe Report utility from command line

    Broadcom Employee
    Posted 10-24-2017 04:01 AM

    Hello.

    ProbeReport utility can only be run in GUI mode.

     

    I recommend that you take a look at this. This is an excellent tool.

     

    https://communities.ca.com/community/ca-infrastructure-management/unified-infrastructure-management/blog/2016/07/22/probe-of-things-a-custom-probe-that-does-things

     

    Regards,

    Yu Ishitani 



  • 3.  Re: Running Probe Report utility from command line

    Posted 10-24-2017 07:38 AM

    On top of that, if you're exclusively using MCS, you could find those information doing some SQL magic!



  • 4.  Re: Running Probe Report utility from command line

    Posted 10-24-2017 08:46 AM

    Hello, 

     

    Probe of things is excellent, but i'm trying to find a way to get the threshold of a server from third party system.

    The probe of things is storing the data on it's own database and it's not easily  accessible.

     

    Also, I don't use the MCS so this is also not an option.

     

    Isn't there an easy way to get the info using lua ? 

    The probe report has all the data i need but i cannot run it and export the data automatically.... 

     

    Thanks.

    Amit.



  • 5.  Re: Running Probe Report utility from command line

    Posted 10-24-2017 09:08 PM

    Here is a LUA script that was the foundation for the probe of things data gathering. 


    https://github.com/BryanKMorrow/uim/blob/master/lua/audit.lua


    This stores the information in a SQLite database in the nas folder, but you could easily modify it to print to a CSV or something. 


    Bryan



  • 6.  Re: Running Probe Report utility from command line

    Posted 10-25-2017 01:27 AM

    Hello Bryan, 

    Thank you very much !!

     

    Please correct me if i'm wrong, the script suppose to create a new table (probe_audit) in the NIS DB, which is the SQL CA_UIM.... 

     

    The script is running, but i cannot find the table there... 

    Thanks,

    Amit.



  • 7.  Re: Running Probe Report utility from command line

    Posted 10-25-2017 04:26 AM

    Hi Bryan,

     

    Got it to work. 

    Had to add [] to the 'key' value it the create and insert command (key -> [key])

     

    Very useful script. 

    Thanks,

    Amit.