David Lee

LogicMonitor Staff
  • Content Count

  • Joined

  • Last visited

Everything posted by David Lee

  1. Hi Mosh, Been a while hope you are okay, and yes thanks for pointing this out, we have already seen this and raised an urgent ticket for resolution, please feel free to hop onto chat for more information if you need it, David Lee UK Team Lead, Technical support
  2. Although this is custom work and normally Support wont be able to assist we have implemented this for other customers and can happily assist you with this request, please open a support ticket when doing so it might help to pass the TSE that answers you my name or a link to this page.
  3. I have published it to the exchange with the locator code of PMWWJN, you can use this code to import it directly into your account
  4. apologies I have been away, I can share it but it will take quite a while to go through security review, it will be faster if you open a chat with support and ask for me or let me know your portal and I can import it for you
  5. We recently had this question asked to support "Is it possible to set conditional alert thresholds for a certain datapoints? For example for all servers, the "AvailableGB" under Disks > Volume Usage > Alert Tuning. If we wanted volumes that are... - Up to 100GB total in size, the alert threshold is 10GB - 101GB - 500GB total in size, the alert threshold is 40GB - 501GB - 3TB total in size, the alert threshold is 200GB - 3TB - 10TB total in size, the alert threshold is 400GB" Out of the box , then no we dont support this. Our standard thresholds would alert
  6. Dan, Thanks for the extra information, another quicker fix would be to clone the snmp64_if and change the discovery type from value to wildcard. This will then work where the normal one fails, but instead of a name interfaces will show the oid value. I.E. instead of FastEthernet 0/4 it might show 17. so not as intuitive to undertstand which interface is which
  7. Recently we have seen a number of issues whith Fortigate not showing interface datasources. With the release of FortiOS 5.4.1 Fortigate changed the behaviour of the description oid. This results in Logicmonitor being unable to discover the interfaces. The SNMP get value for the interface description now returns the value from "set description " instead of the interface name. You must add descriptions to each interface using these CLI commands: config system interface edit set description “<int>” end Once completed, forcing Active Discovery
  8. Configuration backups in LogicMonitor is a great feature to help you be aware of changes being made ,store version history and restore your device configurations. Newer devices are can have subscriptions that pull the latest data from the manufacturer, such as malicious IP address lists. Encrypted information may be re-hashed for added security and these are expected behaviours - NOT a config change. So you need to ignore these changes, as they are not operational changes and you do not need to be woken at 3 in the morning to see that there are some newly added malicious
  9. Hi Ray, As you are no doubt aware you can edit your configsource to ignore certain lines with regex. So you can add an ignore change for lines that contain builldno for example. But stipulating every line except one would be a nightmare and you never know what the lines contain all the time. So flip it on its head. Make an ignore check, select ignore lines with this regular expression and use the expression !("#conf_file_ver=") Basically this means ignore every line that does not contain #conf_file_ver= You can see in my example above I have changed the file version a
  10. Hi, There are no stock configsources but if you hop onto support chat and ask for me, (UK hours) I would be glad to assist you in writing one for you. David
  11. Dan, You will probably get a faster response by contacting support, feel free to ask for me if you would like, I have worked with configsources a lot and have a few tricks to try, I took a look at your devices but wasnt sure which ones were these switches. David
  12. Hi, You may be interested to know we have 2 Beta datasources Google_Analytics_RealTime_Stats Google_Analytics_PageStats Which if you contact support can be imported into your account. The need a bit of set up setup for Google Analytics Datasources: Step-by-step guide (a)The following items must be included in the Device Properties analytics.client.id analytics.clientsecret.pass analytics.refreshtoken.pass system.categories -> GoogleAnalytics (1) Follow these steps in order to get an Access Token and the Refresh Tok
  13. You might have received an alert saying your linux based device has just rebooted, but you know that it has been up a long time. A switch might have just sent an alert for every interface flapping when they have all been up solidly. The important question to ask here is how long has the device been up? If its been up for 497 days,994 days,1491 days or any multiple of 497 then you are seeing the 497 day bug, that hits almost every linux based device that is up for a good length of time. Anything using a kernel less than 2.6 computes the system uptime based on the internal ji
  14. Hi, Should also add the Kris wants to maintain alerts on critical items so putting devices into SDT or even certain datasources wont assist him. He only wants to disable warning/errors
  15. Windows Drive Space Alerts By default, LogicMonitor alerts on the percentage used on any drive. This in general is fine, but sometimes not. Let’s imagine you have a 2.2 terabytes drive. You might have your critical threshold set at 90%, which sounds fine, until you realise that you are going to get a critical alert when you still have 220 GB free. In my case that would be a cause for some celebration, not really an urgent need to get up at 3 A.M. and delete files so the world doesn’t end. Now Imagine your 2.2TB drive is divided up as: C: 10 GB (OS) D: 500 GB (Mission cr
  16. David Lee

    SQL query

    Hi Idan, "1. Add value to the server properties so I can see it under the info." You can use a property source here, leveraging groovy to connect to your SQL and make a query which will then be dispalyed under info. https://www.logicmonitor.com/support/other-logicmodules/propertysources/creating-propertysources/
  17. Hi Christopher, any device that has a webpage interfce with metrics on it can usually be quiered with our http datasources which can use regex datapoints to pull out metrics. https://www.logicmonitor.com/support/datasources/data-collection-methods/webpage-httphttps-data-collection/ If you have a device in your portal that serves a webpage, support can take a look and determine if this type if datasource would be what you need, and create a datasource request for you, or assist you in creating a datasource yourself. David
  18. Hi, There is a sample jdbc datasource for DB2 available, if you would like to contact support, they can have it installed into your account. Once you do so you just have to add the queries you want and and valid datapoints.
  19. Mosh, configsources use a script to connect to the devices and as such the script task queue already reflects this information for you. Looking at this in more detail can show scripts being queued and times taken by the configsources. Although this might not differentiate between some normal scripts and configsources it would allow you to see if the queue was too much for the collector FYI, the above graph doesnt show scripts as it is a top ten and scripts are lower than that on that particular collector.
  20. Hi Ben, https://www.logicmonitor.com/support/settings/collectors/using-the-collector-debug-facility/ Uing the collectors debug facility detailled in this help page can show you which devices are failing to respond to wmi. The command to use would be !tlist c=wmi This will show a long list of all wmi tasks on all 56 devices, search through for any that do not say OK, (a good tip here is to use control-F and search for "WMI query task failed")and the relevant device name will be shown along with an error message, If you need further help just hop onto chat where I or a collea
  21. Hi Mac, LMsupport would love to assist you with this issue, but we are not certian which portal is yours. FYI, you should really raise a chat request these forums are not monitored routinely by support engineers. David
  22. Hi Josh, It's been a while since your request, sorry I didnt spot this a couple of months ago. We have propertysources now, a simple groovy script will do this for you. def hostname = hostProps.get("system.hostname") def OID_contact = "" // the OID we want def contact = Snmp.get(hostname, OID_contact); println "contact=" + contact def OID_system_name = "" // the OID we want def system_name = Snmp.get(hostname, OID_system_name); split_name=system_name.tokenize( '.' ) println "system_name=" + split_name[0] def OID_location = "1.3.
  23. Helping us to help you Our job here at Logicmonitor technical support is to help you in your day-to-day work. Whether your report isn’t emailing out, a device is not responding to WMI or you don’t understand why a particular alert is occurring – we’re here to help. But when you submit a ticket it is usually in a queue, being British I love queues! But the support team hate making people wait so anything we can do to make the queue smaller means you must wait less for a response. So here are some tips to help us help you faster. Write a Descriptive Summary
  24. We sometimes see datasource scripts with passwords in the body of their script. For testing this is fine, but in production datasource scripts, passwords in plain view isn’t just bad, it should be a cardinal sin. You can use Powershell to secure a password by creating a PSCredential object that uses the cmdlet Get-Credential and stores the output into a file. Note that it saves as a System.Security.SecureString. Now you can use the file in your script: $hostname= "##HOSTNAME##" $pass= Get-Content "\\Encryptedfile.txt" $user= "##PS.USER##" $password1= ConvertTo-SecureString