DX Unified Infrastructure Management

  • 1.  Error log monitoring

    Posted May 04, 2017 08:04 AM

    Hello All,


    Good day

     

    We need to configure error log monitoring on multiple servers using logmon probe. Is there a way to create template that will copy the path of the file from an existing profile and use the same path on new profile. This saves lot of manual work

    Thanks in advance.



  • 2.  Re: Error log monitoring

    Posted May 04, 2017 12:20 PM

    Hi San,

     

    If you have a recent version of CA UIM you maybe have MCS ? It will allow you to define a monitoring for a group of robots directly in the USM.

     

    If not, you can create a super package with a .cfx file of your profile.

    Look at this : Distributing Multiple Probes and Configuration Files as a Super Package - CA Unified Infrastructure Management - 8.1 - C…  

     

    That allow you for example to deploy the same profiles for ~ 100 logmons without rewriting this profile on each on them manually. 

     

    Hope this is the answer you expected.

     

    Best Regards,

    Thomas



  • 3.  Re: Error log monitoring

    Posted May 05, 2017 03:06 AM

    Hello Thomas,

     

    Thanks for your reply.

     

    Here my question is how to create template to define the path as path of the file is different on each servers. So we need to create template that copy the path from an existing profile and define the same in new profile. 

     

     

    Regards,
    San



  • 4.  Re: Error log monitoring

    Posted May 05, 2017 03:43 AM

    Hi,

     

    Hm ok. Yes i think it's not possible to do that ( or you have to do that with a script ).

     

    Best Regards,

    Thomas



  • 5.  Re: Error log monitoring
    Best Answer

    Posted May 05, 2017 08:30 AM

    The archive package has a pre and post command to execute - look on the misc tab. The probe configurations are just text files - modify the text file and restart the probe is essentially the model to follow. If you want to stay within nimsoft, the pu command allows you to send commands and retrieve data from nimsoft. Look at the controller callbacks (in IM, you can highlight the controller and press Ctrl-P to get a GUI based interface to PU or you can run pu with no command and it will list them for you). There you will find a callback probe_config_set that will set your log file value. if you look at the logmon probe, there is a _restart command, that will restart logmon and reread the cfg file.

     

    Or you can look to see if you can reach the log file by pattern instead of absolute - logmon can work with ?:\logs for instance. Or if you have something that has some rigidity to it, you might be able to do something like "..\..\..\mylogs" so that you essentially find the log relative to the install location of Nimsoft.

     

    -Garin