ContributionsMost RecentMost LikesSolutionsRe: Any way to get the Memory Graphs to properly show data in Gigabytes? Hi, Yeah..it looks confusing. This is what we are doing atm..since graph uses a default scaling of bytes to GB in a manner that fits the data within the graph range. When the Scale by units of 1024 option is turned off, the graph uses raw bytes, which can inflate the memory representation in the graph. So, we have the max y-axis value to 128GB manually and it will lock the graph.. Hope this helps Re: No SMS or Call while setting up 2FA Hi Stuart, Thank you for the suggestion. I've advised them to use the Authenticator App, but they have also opened a case with us because they expect that solution to work as well. No one has responded on the support ticket yet. Looks like they need to work with the SMS provider to enable this solution.. Re: non SSL Port Monioring you can try using the below script which we have deployed. this runs everyday and decrement the number of day each day and we have created an alert that we should be notified when it reaches 30 (month) so that we can initiate the work to reinstate the server certificate import com.santaba.agent.groovyapi.expect.Expect; import com.santaba.agent.groovyapi.snmp.Snmp; import com.santaba.agent.groovyapi.http.*; import com.santaba.agent.groovyapi.jmx.*; import org.xbill.DNS.*; import javax.net.ssl.* import java.security.cert.* import java.security.* import java.text.SimpleDateFormat import java.util.concurrent.TimeUnit // Function to get the number of days left until the certificate expires def getDaysUntilExpiry(host, port) { try { // Create SSL context SSLContext sslContext = SSLContext.getInstance("TLS") sslContext.init(null, null, new java.security.SecureRandom()) SSLSocketFactory factory = sslContext.getSocketFactory() // Create socket to connect to the server Socket socket = factory.createSocket(host, port) SSLSocket sslSocket = (SSLSocket) socket // Start handshake to get the certificate sslSocket.startHandshake() SSLSession session = sslSocket.getSession() Certificate[] certificates = session.getPeerCertificates() X509Certificate cert = (X509Certificate) certificates[0] // Get expiry date Date expiryDate = cert.getNotAfter() Date currentDate = new Date() // Calculate days left long diffInMillies = expiryDate.getTime() - currentDate.getTime() long diffInDays = TimeUnit.DAYS.convert(diffInMillies, TimeUnit.MILLISECONDS) println("${diffInDays}") // Close resources sslSocket.close() } catch (Exception e) { e.printStackTrace() } } // Main execution def host = "website.com" // Replace with your server hostname or IP def port = 443 // Port number getDaysUntilExpiry(host, port) Re: No SMS or Call while setting up 2FA I've created the user and when he is trying to login, he is getting message Send Code failed. He tried both SMS and call option. Re: No SMS or Call while setting up 2FA Opened Support ticket with LM support as nothing more I can do from UI/Portal No SMS or Call while setting up 2FA Error : Send code failed - Unknown error Got this while setting user based out of Nepal. Any clue how to fix this? Re: LogicMonitor lmsupport user Suggest let it be like this only..lmsupport is needed during issues :) Re: Restore removed device in Device Group sanstorm Good to have same device under more than one group, as it will allow them to recover without any issue.. I've created a default group named Collectors and main one as Jump Boxes. So, If I delete Jump Boxes group then I can get them back because they are also the part of Collectors group. Hope this helps Re: non SSL Port Monioring you can try using the groovy script Collection method - script process = [ 'bash', '-c', 'timeout 60 bash -c "</dev/tcp/<IP address>/7083"; echo $?'].execute() println process.text; this will check every 1 minute whether port 7083 is opening or not. Re: Email Alerting Acknowledge the alert and then you will see only when the alert will be cleared.
Top ContributionsLM Logs:PricingRe: Restore removed device in Device GroupRe: LogicMonitor collectors running vulnerable version of Log4j are affected by "Log4shell" CVE-2021-44228 vulnerability?Re: Alerting across multiple sites with different business hoursStripe Metrics in LogicmonitorRe: Any way to get the Memory Graphs to properly show data in Gigabytes?Re: No SMS or Call while setting up 2FARe: non SSL Port MonioringRe: No SMS or Call while setting up 2FARe: No SMS or Call while setting up 2FA