Recent Discussions
Disks volume capacity alert thresholds based on volume size
Hi folks, Does anyone have alerting thresholds set up based on disk volume capacity, or do you have an idea how to set it up? It could be good practice to have lower thresholds for larger data drives and higher thresholds for small drives. For example, we need to set up warning alerts if space used is ≥98% for data drives larger than 1 TB and for every other drive, warning ≥90%. I'm thinking about pulling the size of the disk as a property and using dynamic groups where I could set the threshold at the device group level; however, I'm not sure if this is the best approach. Thanks!SolvedEgis10 days agoNeophyte132Views1like8CommentsAlert Severity in LM vs Priority in ServiceNow
I know that LogicMonitor deals with Alert Severity. In ServiceNow, Incidents also have the concept of Priority. I'm wondering, does LogicMonitor have an equivalent of Priority that can be leveraged in the product innately? I am not referring to Alert Rules and Priority, I mean SNOW's P1, P2, P3, P4 style of concept, used in Incidents. I don't see anything right off in the product, and I've been using it for a few years, but sometimes I miss features in the busy day-to-day. I'm not even sure I have a business need. But we do send some alerts from LM to SNOW and I wanted to make sure there isn't some other "Priority" metric or equivalent? Occasionally I get asked about it. Thanks!SolvedLewis_Beard10 days agoExpert75Views1like2CommentsAPI v4
As per the REST API Change Log, API V4 exists and is REALLY powerful and efficient. We make a lot of heavy requests to the LogicMonitor API and want us (and the poor LogicMonitor servers) to benefit from these efficiency gains. As per the official docs, means of accessing the API v4 have been removed: https://www.logicmonitor.com/support/rest-api-change-log . A search for "V4" reveals: Block Access to LM REST API v4 using Bearer Token Starting with v198 release, you will not be able to use bearer token to authenticate yourself to use LogicMonitor REST API v4 external endpoints. We have already disabled Basic and LMv1 authentication to use API v4. Note that API v4 is not officially supported. We recommend you to use LogicMonitor REST API v3. Great, but the implication is that it there IS a way of authenticating. So.. UNOFFICIALLY... Has anyone successfully made an API V4 call in (e.g.) Postman?SolvedDavid_Bond15 days agoProfessor383Views2likes17CommentsNo instances on API response
Hello everyone, Sorry if this is a repeat topic here, but I'm having some trouble polling data from our new LogicMonitor setup via API. As I understand it, I'll need device ID, device datasource ID, instance ID, all together to get graph data over a specific time period. I can successfully pull the first two (device id and datasource id), but when I pull the instances resource, I'm not getting any response. Example resource path: /device/devices/{device id}/devicedatasources/{datasourceid}/instances The response I get is: { "total": 0, "items": [], "searchId": null, "isMin": false } indicating that there's no instances. This is where I seem to get stuck, I don't seem to be able to move on any further. Has anybody run into this, and can give me a direction for next steps? Anything is appreciated!Solvedjuramir23 days agoNeophyte256Views0likes6CommentsHow do access groups work? All options missing.
I need to allow a role to edit local Custom logicmodules only. I had seen the Access Groups but never tried them. I made a new one, but after doing so, it does NOT show up under the Access Groups list of any roles. Nor do I have an "Access Groups" tab on My Module Toolbox. Screens below. 1) I made a new Access Group, but there are no permissions on the group itself, just a name. Whatever. 2) I then managed the role, in a new browser windows, and went to the settings and Access Groups settings for that role, but NOTHING shows up there, not even the default one. 3) I also went to the My Module Toolbox and edited a module, looking for a tab the documentation claims exists (no picture of course) for controlling Access Groups, also in a new browser, and again, I see nothing. And even when I edit the logicmodule there is nothing on the page about access groups. So I just dont get it. All I want to do is make a new Access Group on the portal (DONE), and then have that guy show up under the settings for a role, so I can give a role access to that guy only, and also edit one module and add my MY TEST .... but nothing. Nothing show up anywhere. Can someone explain? Thanks. I'm at my wits-end.SolvedLewis_Beard30 days agoExpert165Views0likes12CommentsServiceNow Integration - Auto closing alerts
Greetings! Our ServiceNow/LogicMoitor integration has been in place close to 2 years now. Recently, one of our Infrastructure Engineers asked if it were possible to delay the auto-resolving of a ticket if it's actually being worked by someone. We have run into scenarios where a ticket gets created, an Engineer gets assigned the ticket, they are actively investigating the issue, the alert clears, and the ticket gets auto resolved, and the Engineer doesn't get credit for working the ticket. Is there any way to prevent auto-resolving a ticket if a user is actively working the ticket?SolvedRickRod2 months agoNeophyte164Views0likes2CommentsAlert tuning help
Hi team. Hopefuly someone can point me into the right direction when it comes to disabling alert tuning at a group level. We have a group with a large number of network devices, and would like to disable alerting on all interfaces at the group level. However, there are a few device interfaces we would like to keep alerting enabled. When we look at the device at the resource level, we can see the alert is disable at the group level, but can't figure out how to override it to allow alerting at the resource levelSolvedJsewell2 months agoNeophyte279Views1like2CommentsAPI endpoint for User Groups?
I am super terrible at searching or picking the right keywords, but I am completely stumped on whether I can use the API to get a list of User Groups. I searched the Swagger page ( https://www.logicmonitor.com/support/rest-api-v3-swagger-documentation ) for user group, group, and looked through everything, and I cannot find a GET command to pull back a list of User Groups. I'm talking about the section under settings where you can make Users or User Groups, like if you wanted to organize "Department 1" and "Department 2" or "Ungrouped" under your users list. Can anyone tell me the endpoint for getting a list of User Groups? I swear I've combed the API swagger doc for every occurrence of group on the page, and found nothing. Maybe it doesnt exist in V3? Or maybe I'm terrible at searching. :) I would just grab all the users and brute force a list, except I am specifically wanting to interact with any empty User Groups as well, so I have no idea how I would find them with the API Thanks, and sorry for such a basic question.SolvedLewis_Beard2 months agoExpert157Views1like4CommentsSSLError for HTTPS module
LogicMonitor is telling me that one of my FortiGate firewalls, which uses a self signed cert for the GUI, is giving a couple of errors. One error was "days remaining" for the SSL certificate and the other is just this generic "SSLError". I went into the FortiGate and renewed the self signed cert for the GUI and that cleared up the "days remaining" error but the generic "SSLError" persists. I'm not quite sure what's throwing the error so I'm not really sure what to do to resolve it. Suggestions?SolvedKirby_Timm2 months agoNeophyte148Views0likes22CommentsTrouble with setHTTPProxy creating discovery script.
For background I am currently working on onboarding Arista AP's that are managed from the Arista CUE platform, to build the discovery script at least I am using Groovy however when testing the Login element I am getting "setHTTPProxy MissingMethodException" the problem I have is that following the documentation presented here, I do not see what the issue is. I have tried single and double quotes for the string of the proxy and even though the port is documented as an Integer I have even tried string to no avail. The script is below: /******************************************************************************* * Arista WIFI Integration with CUE for discovery of the AP's ******************************************************************************/ import com.santaba.agent.groovyapi.http.* import com.santaba.agent.groovy.utils.GroovyScriptHelper as GSH import com.logicmonitor.mod.Snippets import com.santaba.agent.AgentVersion import java.text.DecimalFormat import groovy.json.JsonOutput import groovy.json.JsonSlurper // To run in debug mode, set to true Boolean debug = false // To enable logging, set to true Boolean log = false // Set props object based on whether or not we are running inside a netscan or debug console def props try { hostProps.get("system.hostname") props = hostProps debug = true // set debug to true so that we can ensure we do not print sensitive properties } catch (MissingPropertyException) { props = netscanProps } //String key = props.get("AristaWIFI.api.key") //String token = props.get("AristaWIFI.api.token") //String clientId = props.get("AristaWIFI.api.clientId") //Temp lines for testing String key = [KEY] String token = [token] String clientId = "logicmonitor" Integer collectorVersion = AgentVersion.AGENT_VERSION.toInteger() // Bail out early if we don't have the correct minimum collector version to ensure netscan runs properly if (collectorVersion < 32400) { def formattedVer = new DecimalFormat("00.000").format(collectorVersion / 1000) throw new Exception("Upgrade collector running netscan to 32.400 or higher to run full featured enhanced netscan. Currently running version ${formattedVer}.") } externalHost= [host dns record]; setHTTPProxy("proxy name",8080); httpClient = HTTP.open(externalHost,443); // Log in to arista loginurl = "https://[Our Instance].wifi.arista.com/wifi/api/session" payloadstring = '{}"type":"apiKeycredentials","keyId":'+key+',"keyValue":'+token+',"timeout":3600,"clientIdentifier": '+clientId+'}'; def payload = payloadstring; def loginResponse = httpClient.post(loginurl,payload,["Content-Type":"application/json"]); if ( !(httpClient.getStatusCode() =~ /200/) ) { // Error has occured println "Authentication Failure"; return(1); } println loginResponse; def LMDebugPrint(message) { if (debug) { println(message.toString()) } } Had a dive through the community and documentation and found nothing.SolvedSteveBamford2 months agoNeophyte46Views0likes2Comments