DX Unified Infrastructure Management

 View Only
  • 1.  manage output from nexec command

    Posted Jun 08, 2015 10:19 AM

    Hello,

    I need to verify the time clock on 100 more or less linux servers.

    I think the best way is to distribute nexec probe, and execute the command locally "chkconfig ntp". If everything is ok the output is "on", otherwise is "off"

    In case of "off" how can I generate an alarm on alarm console so I can manage it through auto operator rules?

    thanks for support



  • 2.  Re: manage output from nexec command

    Posted Jun 08, 2015 12:06 PM

    Use nimalarm utility in /opt/nimsoft/robot/bin

     

    i think ntp_response should do the job as well.



  • 3.  Re: manage output from nexec command

    Posted Jun 09, 2015 02:28 AM

    Hi Jonh, ntp_response is for ntp server. I need to check the client clock.

    What do you mean with nimalarm utility?



  • 4.  Re: manage output from nexec command

    Posted Jun 09, 2015 02:47 AM

    I see now the options for nimalarm utility. But I mean, the nexec probe return a value depending on the command executed, so what are the steps to automatically raise an alarm ?



  • 5.  Re: manage output from nexec command

    Posted Jun 09, 2015 03:22 AM

    As far as I know, you can't. You can make it post the output as a message, but I suspect that wont include any fields necessary for an alarm, so you would have to handle those yourself as well. You might be able to setup logmon to check the nexec log and alarm from there.

     

    -jon