ContributionsMost RecentMost LikesSolutionsRe: Testing groovy script on local ubuntu machine One of our devolpers also created a Chrome Extension for debug that helps with syntax highlighting and such… LogicMonitor Script Debug Helper https://chromewebstore.google.com/detail/logicmonitor-script-debug/ijojgoccfeggejpbhdahmeijjhpdjklf?pli=1 LogicMonitor Script Debug Helper ...but I would love to see an official VSCode extension as well. Re: Let's talk about Swag...baby! 1. I like having both community and general swag. 2. I prefer hats and shirts - but like the ideas for top-level swag. 3. I'm open to collaborative projects, virtual scavenger hunts, or maybe evenmonthly swag lotteries to earn swag. 4. Swag for leveling up sounds great. Re: Info and Overview resource tabs We’ve also got some preview Docs of the new UIv4 Enhancements that are rolling out… Resources New UI Overview | LogicMonitor https://www.logicmonitor.com/support/resources-new-ui-overview Info Tab - New UI | LogicMonitor https://www.logicmonitor.com/support/info-tab-new-ui Graphs Tab (New UI) | LogicMonitor https://www.logicmonitor.com/support/graphs-tab-new-ui Re: Monitor version of Java It looks like the script came through. You can add a couple of Write-Host statements to your script to view the value of your variables like so… # Clears the CLI of any text Clear-Host # Clears memory of all previous variables Remove-Variable * -ErrorAction SilentlyContinue #------------------------------------------------------------------------------------------------------------ # Initialize Variables $wmi_pass = '##WMI.PASS##' $wmi_user = '##WMI.USER##' $hostname = '##SYSTEM.SYSNAME##' $collectorName = hostname write-host "hostname=" $hostname; write-host "collectorName=" $collectorName; # Insert additional variables here # If the hostname is an IP address query DNS for the FQDN if ($hostname -match "\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b") { $hostname = [System.Net.Dns]::GetHostbyAddress($hostname).HostName } ## This script block should contain all code that you want to execute remotely on the target host. $scriptBlock = { (Get-Command java | Select-Object -ExpandProperty Version).toString() } #------------------------------------------------------------------------------------------------------------ try { #-----Determin the type of query to make----- # check to see if this is monitoring the localhost collector, as we will not need to authenticate. if ($hostname -like $collectorName) { $response = Invoke-Command -ScriptBlock $scriptBlock } # are wmi user/pass set -- e.g. are these device props either not substiuted or blank elseif (([string]::IsNullOrWhiteSpace($wmi_user) -and [string]::IsNullOrWhiteSpace($wmi_pass)) -or (($wmi_user -like '*WMI.USER*') -and ($wmi_pass -like '*WMI.PASS*'))) { # no $response = Invoke-Command -ComputerName $hostname -ScriptBlock $scriptBlock } else { # yes. convert user/password into a credential string $remote_pass = ConvertTo-SecureString -String $wmi_pass -AsPlainText -Force; $remote_credential = New-Object -typename System.Management.Automation.PSCredential -argumentlist $wmi_user, $remote_pass; $response = Invoke-Command -ComputerName $hostname -Credential $remote_credential -ScriptBlock $scriptBlock } exit 0 } catch { # exit code of non 0 will mean the script failed and not overwrite the instances that have already been found throw $Error[0].Exception exit 1 } Re: Manual topology mapping From our Support Docs… Topology Mapping Overview | LogicMonitor https://www.logicmonitor.com/support/forecasting/topology-mapping/topology-mapping-overview LogicMonitor’s topology mapping capabilities are focused on layer 2 and layer 3 mapping. Specifically, the LogicMonitor platform leverages Link Layer Discovery Protocol (LLDP), Cisco Discovery Protocol (CDP), Border Gateway Protocol (BGP), Open Shortest Path First (OSPF), and Enhanced Interior Gateway Routing Protocol (EIGRP) to dynamically generate network topology maps that show how data flows among the many resources (switches, hosts, firewalls, routers, and other network components) in your environment. Re: Checkpoint IPsec Tunnel Monitoring. There’s also a quick 7min video tutorial on making an SNMPDataSource in our LearningBytes training serieshere… Learning Byte: Making an SNMP DataSource https://academy.logicmonitor.com/making-an-snmp-datasource/1329215 Re: Introduce Yourself! Hi All, My name is Eric Hale, and I’m a Technical Support Engineer here at LogicMonitor. I started back inNovember of 2019 and odds are, if you’ve spent any time in SupportChat in the past 3 or so years, we may havealready met. The previous community was a great resource of knowledge and I’m looking forward to seeing how the new community grows!
Top ContributionsRe: Testing groovy script on local ubuntu machine One of our devolpers also created a Chrome Extension for debug that helps with syntax highlighting and such… LogicMonitor Script Debug Helper https://chromewebstore.google.com/detail/logicmonitor...Re: Introduce Yourself! Hi All, My name is Eric Hale, and I’m a Technical Support Engineer here at LogicMonitor. I started back inNovember of 2019 and odds are, if you’ve spent any time in SupportChat in the past 3 or so...Re: Checkpoint IPsec Tunnel Monitoring. There’s also a quick 7min video tutorial on making an SNMPDataSource in our LearningBytes training serieshere… Learning Byte: Making an SNMP DataSource https://academy.logicmonitor.com/making-a...Re: Manual topology mapping From our Support Docs… Topology Mapping Overview | LogicMonitor https://www.logicmonitor.com/support/forecasting/topology-mapping/topology-mapping-overview LogicMonitor’s topology mapping ca...Re: Let's talk about Swag...baby! 1. I like having both community and general swag. 2. I prefer hats and shirts - but like the ideas for top-level swag. 3. I'm open to collaborative projects, virtual scavenger hunts, or maybe even...Re: Info and Overview resource tabs We’ve also got some preview Docs of the new UIv4 Enhancements that are rolling out… Resources New UI Overview | LogicMonitor https://www.logicmonitor.com/support/resources-new-ui-overview Info...Re: Monitor version of Java It looks like the script came through. You can add a couple of Write-Host statements to your script to view the value of your variables like so… # Clears the CLI of any text Clear-Host # Cl...