0 Replies Latest reply on Aug 20, 2013 12:03 AM by oithim_yew

    Automatically restart a services that was not being monitored-Remoteregistry

    oithim_yew

      Hi,

       

      I'm havings these issue where my SAM templates unable to poll the data; it will go into unknown state but it will keep polling. When it was not being monitored, it will use a huge amount of network traffic but once it is able to poll, it is fine. The problem was the node remoteregistry services which needs to be restarted once we found an unknown SAM template. I would like to create an alert to check for any unknown templates and restart the remoteregistry services when it triggers but we are not monitoring the services. I tried to use the psservice but it does not seems to work, anyone who can help? I need the template to:

       

      1. Search for unknown state templates on all nodes
      2. Restart that specific nodes by IP (hardcoding it is not the best way)

       

      Thanks