• Content count

  • Joined

  • Last visited

  • Days Won


Community Reputation

27 Excellent

About Mosh

  • Rank
    Community All Star
  1. I too need this. At the moment we have to use two NOC widgets, which of course uses up more screen real-estate, especially if you just want to wadd one item to a NOC widget.
  2. I hadn't noticed that until now! There should be an option to disable sound for alerts on devices that are within an SDT period.
  3. I have also noticed an oddity. If you add a note to the alert and save it, then go back in to Ack the alert, the Ack dialog does not contain the note, so you have to type it in again. Ack should pick the last note added.
  4. A quick way to achieve this could be to add a None option to the overall alert option. That way for single checkpoint configurations, the individual location would still alert and contain the ping and traceroute info and the overall would not generate a second alert.
  5. Where there is only one checkpoint defined for a web service check, in particular for internal web service checks, please make it so that an overall failure alert also includes the ping and traceroute info in the tooltip, see attached. Currently this tool tip info is only available for individual checkpoint alerts. If there is only one checkpoint location, then the ping and traceroute info should be included in the overall alert too. This would be very useful in reducing alerts. At the moment where I have one checkpoint (because that is all that is needed) I have to generate two alerts for the same incident, one with the useful ping and traceroute and the overall one (which is redundant in a single checkpoint scenario).
  6. Awesome, thanks.
  7. There is no way to backup Alert Rules configuration in LogicMonitor so I came up with this ConfigSource for LMConfig to keep track of configuration changes to Alert Rules. Groovy Script /* ConfigSource Retrieves and stores the JSON document for alert rules. Define the following custom properties on a collector object: api.accessId api.accessKey api.accountName Mosh Jahán Rentokil Initial May 2017 */ import org.apache.http.HttpEntity import org.apache.http.client.methods.CloseableHttpResponse import org.apache.http.client.methods.HttpGet import org.apache.http.impl.client.CloseableHttpClient import org.apache.http.impl.client.HttpClients import org.apache.http.util.EntityUtils import javax.crypto.Mac; import javax.crypto.spec.SecretKeySpec; import org.apache.commons.codec.binary.Hex; def debugMode = false; def apiAccessId; def apiAccessKey; def apiAccountName; if (debugMode == false) { try { apiAccessId = hostProps.get("api.accessId"); } catch (all) { println "(debug::fatal) Missing custom property api.accessId"; return 1; } try { apiAccessKey = hostProps.get("api.accessKey"); } catch (all) { println "(debug::fatal) Missing custom property api.accessKey"; return 1; } try { apiAccountName = hostProps.get("api.accountName"); } catch (all) { println "(debug::fatal) Missing custom property api.accountName"; return 1; } } else { // Hardcode values for debug here apiAccessId = ""; apiAccessKey = ""; apiAccountName = ""; } def resourcePath = "/setting/alert/rules"; def url = "https://" + apiAccountName + "" + "/santaba/rest" + resourcePath; // Calculate signature epoch = System.currentTimeMillis(); requestVars = "GET" + epoch + resourcePath; hmac = Mac.getInstance("HmacSHA256"); secret = new SecretKeySpec(apiAccessKey.getBytes(), "HmacSHA256"); hmac.init(secret); hmacSigned = Hex.encodeHexString(hmac.doFinal(requestVars.getBytes())); signature = hmacSigned.bytes.encodeBase64(); // HTTP GET CloseableHttpClient httpclient = HttpClients.createDefault(); httpGet = new HttpGet(url); httpGet.addHeader("Authorization" , "LMv1 " + apiAccessId + ":" + signature + ":" + epoch); response = httpclient.execute(httpGet); responseBody = EntityUtils.toString(response.getEntity()); statusCode = response.getStatusLine().getStatusCode(); // Output response if (statusCode == 200) { println "AlertRulesJSON:" + responseBody; } else { println "Request failed " + statusCode; } httpclient.close(); return 0;
  8. Please add drag and drop function to the Services tree control so that groups and elements can be managed using drag and drop as is the case with the device groups tree control.
  9. I need this too please. Use case: Device A in in Group X and Group Y. I need managers of managers of Group X to see only Ping alerts, and managers of Group Y to see only alerts from a custom DataSource.
  10. Additionally, the pop-up panel width is less than that of the alert widget in our dashboard design, so now my users have to resize columns or scroll horizonatally, whereas in the alert widget they have columns setup to make best use of the size of the display they are using.
  11. Hi Annie, Yeah, my users really are annoyed about the extra mouse click on the alert widget in a dashboard. The quick access to graphs is nice, but it doesn't make up for new irritation.
  12. I keep saying to my users, LM are working on it. Hope it comes soon!
  13. Thanks Annie, good to hear.
  14. Thumbs up from me for push notifications on the mobile app please. I'd like to be able to view device details too pls.
  15. Sound would be useful too, though mostly I'd like notifications in the same way the other service use browser notifications, i.e. they pop-up on the desktop as toasts.