Clinansmith

Members
  • Posts

    6
  • Joined

  • Last visited

Reputation

0 Neutral

About Clinansmith

  • Rank
    Member
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. That is a super handy hack, thank you for the quick response!
  2. Greetings, I've been an LM user for a couple years now but haven't done too much with modifying data sources so forgive me if I sound like I don't know what I'm doing. I don't! I want to be able to use the number of CPUs and GB of RAM in a cluster in widgets. I'm specifically trying to make a graph to look at oversubscription best practices for VMWare. My issue is I really need the total number o CPUs and GB of RAM to be a data point, not an auto system property. That data is only being put into the auto system property. (see below) I've tried to edit the datapoints in that are gathered with the datasource, but Groovy is pretty tricky. I've beat my head against this particular wall for long enough, it's time to ask for help. Has anybody done this, or can somebody help me out with what needs to change in my datasource? Thanks
  3. My LM rep was able to run this by the internal support people and got me the following answer. I hope this helps somebody else in the future till they fix this.
  4. This weekend I had a problem with one of my Palo Alto Firewalls. Luckily I wasn't concerned because I had LM backing up my config all the time. Unfortunately although the data is there, I could not get it into a format that I could load back into the firewall. Has anybody successfully done this? Any hints? Thanks What I've tried: 1. Download the file in *.conf format. Imports in but won't load. 2. Download *.conf and then change the extension to .xml. Imports but won't load. XML file is viewable in a browser fine. 3. The exports from a PA firewall have no file extension so I downloaded the .conf and removed it. imports but won't load. 4. Copied and pasted all the lines from the LM console into Notepad++ and then remove the line numbers from all the lines. I tried saving as xml and dropping the file extenstion. It imports but won't load.
  5. This would be an INCREDIBLY USEFUL feature in my environment right now. Mike's script looks great, but I can't seem to make it work. I downloaded it, installed it, and added the monitored service, but it only ever shows a "4" and I get the errors below. I thought it might be a permissions error or something so I jumped onto the collector using the same credentials and ran the commands in Powershell. This worked fine. Any ideas what might be wrong here? Get-Service : Cannot find any service with service name 'hidserv'. At C:\Program Files (x86)\LogicMonitor\Agent\tmp\scr1001001-Service_restart-Ser vice_restart-Human_Interface_Device_Service.ps1:8 char:20 + ... e_status = (Get-Service -Name $service -ComputerName $hostname).Statu ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (hidserv:String) [Get-Service], ServiceCommandException + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell. Commands.GetServiceCommand get-service : Cannot find any service with service name 'hidserv'. At C:\Program Files (x86)\LogicMonitor\Agent\tmp\scr1001001-Service_restart-Ser vice_restart-Human_Interface_Device_Service.ps1:11 char:6 + if ((get-service -name $service -ComputerName $hostname).Status -eq " ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (hidserv:String) [Get-Service], ServiceCommandException + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell. Commands.GetServiceCommand Get-Service : Cannot find any service with service name 'hidserv'. At C:\Program Files (x86)\LogicMonitor\Agent\tmp\scr1001001-Service_restart-Ser vice_restart-Human_Interface_Device_Service.ps1:15 char:32 + ... ervice -InputObject $(Get-Service -Computer $hostname -Name $service) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (hidserv:String) [Get-Service], ServiceCommandException + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell. Commands.GetServiceCommand Start-Service : Cannot validate argument on parameter 'InputObject'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. At C:\Program Files (x86)\LogicMonitor\Agent\tmp\scr1001001-Service_restart-Ser vice_restart-Human_Interface_Device_Service.ps1:15 char:30 + ... ervice -InputObject $(Get-Service -Computer $hostname -Name $service) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (:) [Start-Service], ParameterBindi ngValidationException + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Power Shell.Commands.StartServiceCommand get-service : Cannot find any service with service name 'hidserv'. At C:\Program Files (x86)\LogicMonitor\Agent\tmp\scr1001001-Service_restart-Ser vice_restart-Human_Interface_Device_Service.ps1:21 char:8 + if ((get-service -name $service -ComputerName $hostname).Status -e ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (hidserv:String) [Get-Service], ServiceCommandException + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell. Commands.GetServiceCommand Get-Service : Cannot find any service with service name 'hidserv'. At C:\Program Files (x86)\LogicMonitor\Agent\tmp\scr1001001-Service_restart-Ser vice_restart-Human_Interface_Device_Service.ps1:25 char:38 + ... ervice -InputObject $(Get-Service -Computer $hostname -Name $service) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (hidserv:String) [Get-Service], ServiceCommandException + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell. Commands.GetServiceCommand Start-Service : Cannot validate argument on parameter 'InputObject'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. At C:\Program Files (x86)\LogicMonitor\Agent\tmp\scr1001001-Service_restart-Ser vice_restart-Human_Interface_Device_Service.ps1:25 char:36 + ... ervice -InputObject $(Get-Service -Computer $hostname -Name $service) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (:) [Start-Service], ParameterBindi ngValidationException + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Power Shell.Commands.StartServiceCommand get-service : Cannot find any service with service name 'hidserv'. At C:\Program Files (x86)\LogicMonitor\Agent\tmp\scr1001001-Service_restart-Ser vice_restart-Human_Interface_Device_Service.ps1:31 char:14 + ... if ((get-service -name $service -ComputerName $hostname).Statu ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (hidserv:String) [Get-Service], ServiceCommandException + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell. Commands.GetServiceCommand
  6. I'm doing a POC with LM and this was one of the things that I was concerned about. I'm still learning the system and I appreciate any help I can get with this. I have a 25Mbps fiber connection in a Gig port so interface utiliaztion % was nearly useless. On that port, I added a custom property called "ActualSpeed" with a value of 25. Then I went in and added the datasource for snmp64_If from the LM repository. I let it ride over night but my utilization for that port still seems to be based on 1000Mbps, so am I missing another step? Thanks!