ContributionsMost RecentMost LikesSolutionsRe: Unable to authenticate Rest api with servicenow to get devices I did have to add a response = httpRequest.get() before the getBody() call. Then I could actually get the response codes. However, I am still failing authentication! I’ll see if I can find the issue and let you know here! Re: WMI Method Call Collection type for Win32_EncryptableVolume Lock Status I wasn't able to get this module working using the WMI collection method, but I did accomplish this via Remote-PowerShell. I published the module to the exchange you can find it with locator code: WM23AX. This module will monitor the lock status of encrypted drives using the Win32_EncryptableVolume WMI Class, and the GetLockStatus method. Happy Collecting! Re: To obtain a report from LM of datasources and how many devices are using those datasources. On 12/17/2021 at 10:53 AM, Stuart Weenig said: This would need logic to handle portals with more than 1000 devices in it since the first api call only gets the first 1000 devices. The subsequent calls would also need to take into consideration rate limiting and probably introduce some throttling. @ArjunaYou might be able to use the module mentioned in this thread /topic/1581-datasources_list-propertysource/ Then you could run an inventory report and add that property to the report. Hijacking the thread a bit... @Stuart WeenigDo you have an example on how to access the return headers when using the SDK? I've been tinkering with it and have hit the rate limit a few times but couldn't figure out how to get the headers using the base functions. I ended up calling the subfunctions in each class that returns the tuple object instead of the actual object class, but I feel like there's a better way. For instance, instead of using add_device_group() I used add_device_group_with_http_info() then I could access the headers. WMI Method Call Collection type for Win32_EncryptableVolume Lock Status Hey LM Community! I hope this finds you well. I was asked to find a way to monitor the Lock Status on the protected drives for a handful of our servers. Initially, I wanted to tackle this with remote-PowerShell and wrote a script that I believe will accomplish this. I wanted to use the WMI collection method, and I'm curious if any of you have implemented a DataSource that uses the WMI Method Call collection type. It doesn't' seem to matter how I configure this; I can't get it to work, and I couldn't find much documentation around it. Here is a screen shot of my Active Discovery (Which is working): And two different Collector Attributes I've tried. Notice on the second one, I've added slashes around the auto.DeviceID. This was because when testing with wbemtest, the relative path had those in it, and I was able to connect to that instance with wbemtest when they were included. I've also attempted to use the !wmimethod in the collector Debug a handful of times with no luck.I'm hoping one of you can easily point out what I might be doing wrong, or if this particular query isn't possible for some reason. I'll failback to my PowerShell method, if needed! Thanks for a second set of eyes! Adam Re: Modify Alert trigger Interval on the Instance level Bumping. Would love the functionality to tune trigger intervals at any level, similar to thresholds. Re: Feature to Push/Execute commands on a Network gear from LM Config I've done this before by writing a config source that logs into the device via ssh, executes the command or an array of commands, then captures the command outputs and alerts on certain keywords. We've done this to make large scale changes on hundreds of devices relatively all at once. I highly recommend you test on a test device first, but it is possible! Re: Un-Acknowledge Alerts Another request for this! Currently, we turn alerting on the instance off, then back on. It gets the job done, but we don't always want to give every team permission to do that. Re: Modify Alert trigger Interval on the Instance level This functionality would be nice to have. We currently have many teams in our portal, and I've routinely had to clone DataSources to solve this issue. You can already alter the threshold at the groupand instance levelbut it would be nice to modify the trigger interval for that threshold. For instance, we have several teams that want to be made aware immediately when the status of their interfaces goes down, but other teams would rather it be down for several polling cycles before being alerted. Having multiple DataSources solves this but turns into a decent amount of upkeep. Re: Stop having the Add Device Wizard adding properties to root group +1 we run into this issue as well. Would love a fix. Re: Add device via 'Wizard' bug - When will it be considered/solved? This actually answers an issue I've been having to correct in our portal. We are also an MSP and monitor client gear. However, we also monitor all of our internal devices via LM as well. We have all our internal roles and permissions separated out to only allow users to see their respective folder structure. However, we needed to be able to allow some users to create dynamic groups, which means we have to give them manage access to the root of the portal. Which, I understand but it would be nice if users could create dynamic folders and it was aware of their permissions and would filter out what they don't have permission to see. Regardless, the users that do have root folder access must be using the wizard and applying properties while doing so, then causing these properties on the root of our folder. I have to delete esx users, api users, snmp community strings, etc pretty consistently. In several instances this has caused us issues with service accounts getting locked out when a property got inherited incorrectly. Some sort of check in the wizard would be helpful. Perhaps if you do have a check box that asks to save the credentials allow the user to specify the folder level to save them?
Top ContributionsRe: Add device via 'Wizard' bug - When will it be considered/solved?Additional User Properties for API CallsGive roles the ability to manage specific role groupsRe: Modify Alert trigger Interval on the Instance levelRe: To obtain a report from LM of datasources and how many devices are using those datasources.Re: WMI Method Call Collection type for Win32_EncryptableVolume Lock StatusWMI Method Call Collection type for Win32_EncryptableVolume Lock StatusRe: Feature to Push/Execute commands on a Network gear from LM ConfigRe: Stop having the Add Device Wizard adding properties to root groupRe: Un-Acknowledge Alerts