DX Unified Infrastructure Management

 View Only

 Export configuration 300 Servers

Jump to Best Answer
Miller Echagarreta's profile image
Miller Echagarreta posted Jul 08, 2022 08:38 AM
Hi Everyone.
I need to export configuration of cdm, processes, sqlserver, net_connect, etc... for 300 servers, it's possible make this easy and fast?
Best Regards.
Luc Christiaens's profile image
Luc Christiaens Best Answer
This is an older script , but should work, else let me know
- rename ext to .lua
- edit and change administrator password & backup location
- execute:"C:\Nimsoft\sdk\nsa\nsa" "C:\Nimsoft\probes\service\nas\scripts\backup_probe_config.lua"
Miller Echagarreta's profile image
Miller Echagarreta
Hi @Luc Christiaens​ thanks for the knowledge
I am trying exec the script but i can't find the /sdk/nsa/nsa.exe. I searched in an installation of IM but I did not find it.
David Michel's profile image
David Michel
It is available via the online archive. 
http://support.nimsoft.com/Files/Archive/00186/nsa-20.50.zip
Miller Echagarreta's profile image
Miller Echagarreta

Hi @Luc Christiaens  and @David-M  Is there a way to list these configurations in an excel or in a notepad, inventory type? This procedure that they shared with me works, but to make a configuration backup. I need at this moment to take a configuration inventory of the 350 servers that I have, where there are cdm, processes, net_connect, oracle, db2, etc...

Example:

robot-a:

     cdm:

          -qos_cpu_usage > 90

          -qos_physicalmemory_usage > 90

     processes:

          -sqlserv.exe

          -sqlagent.exe

          -sqlwriter.exe

Luc Christiaens's profile image
Luc Christiaens

Everything is possible, but you will have to script it (Perl and LUA have both good access to UIM callbacks)

In attachment 2 small examples, 1 for net_connect, the other for url_response, that will:

  • obtain the robots where a net_connect/url_response probe is installed
  • execute a callback: probe_config_get
  • do some filtering to get only interesting info for each profile
  • create csv file in c:\temp directory

This can easily be reworked for other probes (logmon will not be so easy)