Quantcast
Channel: Ivanti User Community : All Content - Reporting
Viewing all 308 articles
Browse latest View live

How to Report on Computers with Out-of-Date Inventory and Send it in E-mail

$
0
0

Description:

This article describes how to create a query looking for devices that have not sent in hardware inventory scan for 15 or more days; create a report from said query; schedule the report to be e-mailed periodically to users. This is to fulfill the need for the staff managing LANDesk to know when devices are not sending in current inventory scans.

 

 

====================================================================
Create Query:
1) In the 32bit console right click on My Queries and click New Query

2) In the Machine Components section go to Computer | Last Hardware Scan Date
3) Click on Last Hardware Scan Date, Click '<',
4) In Edit Values enter the following: GetDate()-15

Note: The -15 after GetDate() indicates 15 days before today's date. The -15 can be changed to any amount of days as desired.

For Oracle databases, replace GetDate() with SYSDATE.
5) Click the button labeled Insert

1-Query-15days.JPG

 

6) Click on Last Hardware Scan Date, Click Not Exists and remove the Edit Values entry
7) Change AND to OR and click Insert

2-Query-NotExists.JPG
Note: Your query should now look like
"Computer"."Last Hardware Scan Date" < "GetDate()-15
OR "Computer"."Last Hardware Scan Date" Not Exists
8) Click the button labeled Select Columns
Select columns will allow you to add or remove information that will be displayed in the report. In this report we should at least have the device name and Last Hardware Scan date as columns.
9) Under Select Columns Machine Components go to Computer | Last Hardware Scan Date
10) Click Last Hardware Scan Date, Click the >> button
11) Remove any column you do not need with the << button

3-Query-SelectColumns.JPG

 

 

====================================================================
Create Report:
1) In the 32bit console got to Tools | Reporting/Monitoring | Reports
2) Right click on My Reports and click New Custom Report
3) Name the report describing LastHardwareScanDate-OutOfDate

4-Report-SaveReport.JPG
4) Under Query click the button labeled Select
5) Select the query created in the Create Query steps and click Select

5-Report-SelectQueryLastHardwareScan.JPG
6) click the button labeled Preview to verify that the report looks the way you want it to
7) Click OK to save the report

 

 

====================================================================
Publish the Query to Email and Setup a Schedule:
1) In the 32bit console got to Tools | Reporting/Monitoring | Reports
2) Right click on the report created in the "Create Report" steps and click Schedule Publish
Note: This creates a scheduled task and will change the window to the Scheduled Tasks window with your new task highlighted.
3) Right click on the new task and click Properties
4) Click on Schedule task
5) Select Start Later, select a time of day, check "Repeat every" and select a frequency

6-ScheduleReport-ScheduleTask.JPG
6) Click on Recipients
Note: Only user with an e-mail address in their user settings will show here (See below to add an email address to a user)
7) Put a check in the boxes by the users who should receive and email with the report

7-ScheduleReport-Recipient.JPG
8) Click on SMTP Configuration
9) Enter the SMTP information for your SMTP Server
10) Enter a Test e-mail address and click the button labeled test (verify that you receive an e-mail)
11) Click Save

8-ScheduleReport-SMTPConfig.JPG
12) To test that the report will be delivered right click on the report task and click Start Now (verify that the report is sent properly)
Note: The format of the report is a PDF file; there is not an option other than PDF for reports that are e-mailed

 

 

====================================================================
Add Email Address to LANDesk Users:
1) In the 32bit console go to Tools | Administration | Users
2) Right click on a user and click Properties
3) Click on the User tab
4) Enter an e-mail address and click OK to save

9-ScheduleReport-UserEMail.JPG


How to use the 8.8 LDMS Report Designer

$
0
0

ENVIRONMENT: LDMS 8.8


How to use the LDMS Report Designer

This document applies to LDMS 8.8 and demonstrates how to write a query and to design a customized report.

 

Scenario 1

The goal of the included example is to return a report only for devices which have specific SQL Application Suites. The report is designed to break up sections by device and only display the desired application suites for each device while returning a count of machines..

 

Before designing the report, a query must be created.

Below is a sample query where a list of machines is returned where the Application Suite SQL Server 2005 as well as other SQL Server suites exist for the machine inventory record.

Be sure to select the columns (at the bottom of the query designer) that will contain the data you will want to return in your report for machines that meet your query criteria. In the example we want to see the Display Name, Application Suite names and versions for devices where SQL Server 2005 or specific SQL application suites exists.

Attached is the query shown in the example: Application Suite.xml

 

QueryApp.JPG

The design of the example query is to show machines that have any of the selected SQL Server Application Suites. This is accomplished by Inserting each Application Suite by name with an OR operator so it will return machines that have application A OR B OR C etc. Next the Application Suite name and version column sets are added so the query will display which of the Application Suites are on the machine(s).

 

Run the query to ensure it returns machine records.

Because the query was written with OR, it allowed the query to return "Microsoft SQL Server 2005 Tools Express Edition" only for the 88 Core as this was not present for the ALM Core. Adding the columns in the query designer then allowed it to display attributes like Application Suite Name and Version that match the query for each device.

Notice when the query returns results that the device name is displayed many times (one for each value to be returned). The more items you query on, the less clean this could look. This is where the Report Designer is needed.

 

 

queryoutput.JPG

 

Now open up the Reports Tool: Tools | Reporting /Monitoring | Reports

From the Reports tool Right click on "My Reports" and Choose "New Custom Report..."

 

NewCustomReport.JPG

 

1) Give the new Report a Title and a Description.

2) Now Select the query by using the Select function in the Query filter section.

3) Now that the query is selected, click "Design" to open the report designer.

 

SelectQuery.JPG

 

 

ReportDesigner1.JPG

 

First modify the report so the Device name does not repeat for every returned value.

 

1) To prevent the device name from repeating for every returned value, delete (device name) from the detail section. Or click on it and change visible to false in its properties, the end result is the same.

2 Next right click within that section and choose "Insert" | "Group Header"

3) Drag Device Name from the Data Fields box in the upper right, and drop it into the Group Header section.

4) Left click on the group header so you can modify its properties on the right hand toolbox.

5) In the Data Section of the properties select Device Name from the Dropdown.

6) Add any desired formatting to the group header as desired, such as a line or box.

To create a line, left click on the line tool in the toolbox. Then in the section you desire, draw a line. Once done you can modify the line's properties in the right window. Giving it weight, style, and color.

 

If the sections above are not correctly followed then the grouping will not work.

 

 

ReportDesigner2.JPG

 

Next, total the number of devices that were returned in the query.

 

1) Click on Textbox on the lefthand tool box, then inside of the Detail Footer section, make a box. Label this one as Total Devices. This box will act as your label.

2) Create another Textbox next to the label, this one can be called Count.

3) With the Count Textbox selected, modify the properties of this box on the right window. Set the following options.

Data

Count Null Values= False

Datafield= Device Name

Summary

DistinctField= Device Name

SummaryFunc= DCount

SummaryRunning= All

Summary Type= GrandTotal

4) Add formatting such as lines or boxes to the DetailFooter to section it out.

 

ReportD3.JPG

 

From here the report can be saved and previewed.

Modify any formatting to get the report to look as desired, saving your final changes.

 

Report.JPG

 

 


 

Scenario 2

 

What if I just want to see the count of the Application Suites for each machine?

In the event that there is a very large amount of values being returned for each machine, the details can be removed. The functional change in this scenario is that the items from detail are removed, a count is added to the group footer and two count fields are added to the detail footer. This example takes the report designed in Scenario 1 and modifies it further.

 

1) Delete the Objects from the Detail section.

2) Use the group footer section to total application suites by machine in the same method used in scenario one.

3) Then total the devices and application suites in the detail footer. This way, only total counts are returned on a per-machine basis, instead of several pages of detailed information.

4) Click the Group Header bar, for the properties set data field to Application Suite.

5) Select the count object within the group footer to change its properties.

With the Count Textbox selected, modify the properties of this box on the right window. Set the following options.

Data

Count Null Values= False

Datafield= Application Suite

Summary

DistinctField= Application Suite

SummaryFunc= Count

SummaryGroup= Group Header1

SummaryRunning= Group

Summary Type= Sub Total

Some additional formatting will be needed when using the group footer instead of detail.

 

Example of the what the query designer would look like:

 

ReportDesigner4.JPG

In the example image above note that Items from the group header and footer are moved to the vertical center. This is because the report designer reserves space for the detail section, which is unused. This helps the format and spacing.

 

The Final Result

 

Report2.JPG

 

Once saved, the report can be scheduled to be published by selecting that option when right clicking the report.

This creates a new scheduled task, you can right click on it to choose properties and make any necessary changes. This will output a pdf at the recipient location.

 

Notes:

Depending on report requirements, it can be useful to show all application suites either by all machines or a set of machines. In this case the query will need to change to either device ID exists, or can be set to a range of IPs or where a machine name is like X. This type of query returns application suites for all or a specific set of machines.

When formating, note that deleting sections or making sections visible=false can have negative effects on the overall report formatting. It is suggested to just make the objects invisible or delete them instead.

Create a query or a report on a specific registry key (Screenshot Step by Step)

$
0
0

Versions

 

LANDesk Management Suite 8.7 and 8.8

 

About pulling data from the different portions of the Registry

It is important to point out the registry key locations we can pull data from. The inventory scanner is launched by the LocalSystem account user. The LocalSystem user account has access to all of the registry however if you were trying to gather data from HKEY_CURRENT_USER (HKCU) you would be pulling data that is for the LocalSystem user account and not the logged in user. This data would not be useable since the data that we would like to pull for would be the logged in user such as Jane Smith.There are 3rd party work arounds to this issue. You are able to use tools at www.droppedpackets.org (not supported by LANDesk). Other users on this forum have created batch files and vbscripts to run at startup for the logged in user and copies and places the data into HKLM. Please keep this in mind for the type of data you wish to pull.

 

Step 1:

 

On the client machine locate where the registry key data is. Here we have HKLM\SOFTWARE\FindMeInTheRegistry\HereIAm and we want the value of YouFoundMe.

 

 

 

Step 2.

 

 

On the core server go to the \Program Files\Landesk\ManagementSuite\ldlogon folder and open the ldappl3.template file with notepad or wordpad. Go to the Registry Info section and add your registry key information here with the following syntax:

 

 

In this case we are looking for KEY=HKLM, Software\FindmeInTheRegistry\HereIAm, YouFoundMe, Custom Data - HereIAm - YouFoundMe

 

 

Syntax: KEY=hkey name, key, value, landesk database attribute name

 

 

 

 

Step 3.

 

 

In the console go to Software License Monitoring and click on Make Avaliable to Clients.

 

 

 

 

Step 4.

 

 

Run a full inventory scan. You can do this with a managed script from the console. Please see the following post on creating a full inventory scan and using a scheduled task to run from the console.

 

http://community.landesk.com/support/docs/DOC-2209

 

 

Step 5.

 

 

Look at the inventory of the machine to ensure the registry key data is showing. We specified the information to be stored under Custom Data and to be defined as HereIAm.

 

 

 

 

Step 6.

 

 

Now we can create a query or report on this data. Here we select under Custom Data and highlight the key we are searching for and choose Exsists. This will show us all devices that have this registry key.

 

 

NOTE: If Custom Data isn't showing up in inventory make sure that the data isn't being blocked. On the core go to Configure - Services - Inventory Tab. Click on Unknown Items and search for Custom Data and click Allow.

 

 

 

 

 

 

Patch and Compliance Reporting

$
0
0

I am looking for a report that will show the number of devices that are "in compliance" and "out of compliance" based on patches that are marked as being a "compliant" patch. Ideally I would like to see this broken down by device type and rolled up to a total, along with the list of patches and the totals of devices affected, all the way down to a listing of devices that are "out of compliance".

 

Anyone know if such a thing exists or am I looking at the wrong report?

 

Thanks in advance.

In Landesk reporting "Computer"."Security"."Quarantined Files"."Status" what do the numbers (1 to 5) represent?

$
0
0

In LANDesk reporting "Computer"."Security"."Quarantined Files"."Status" what do the numbers (1 to 5) represent?

Need to create a report that shows how many pcs of each model I have.

$
0
0

I need to know how many PCs of each model I have, but I cannot find a way to make that the report count

like

 

Model                         Count

HP Z500                     300

Dell Optiplex 720         125

 

But cannot find a way to do it, as far as I get is that this list All the Pcs model one by one and on the right side it shows the number of devices with that model

like

HP Z500                     300

HP Z500                     300

HP Z500                     300

HP Z500                     300

HP Z500                     300

.....300 times

Dell Optiplex 720         125

Dell Optiplex 720         125

Dell Optiplex 720         125

Dell Optiplex 720         125

Dell Optiplex 720         125

....125 times

 

PLEASE HELP

Reporting Pulls Up Empty Window in 9.6 SP1

$
0
0

Problem:

When running a report, an empty window will pull up with the error "Failed to send request to /LDMS/ActiveReports.ReportService.asmx/RunReport - Internal Server Error"

 

Resolution:

Problem was fixed in 9.6 SP2. If upgrading to SP2 isn't a possibility, the following work around will help:

 

Start with the web.config file.

By default this is located here:

c:\inetpub\wwwroot\landesk\ldms\web.config

 

When testing it is always a good idea to make a backup. So copy it and add the extension.bak

 

Now edit the original:

 

At the end of the config file you will see this

</configuration> this indicates the end of a variable pair all the commands and statements needed for the landesk IIS configuration exist between these pairs. The pair being

<configuration> and </configuration>

With the one with '/' in indicating the end of the pair.

 

Place the following before the / one in the config file like so:

 

 

<system.web.extensions>

<scripting>

<webServices>

<jsonSerialization maxJsonLength="2147483644"/>

</webServices>

</scripting>

</system.web.extensions>

 

</configuration>

 

Once done, save the web.config and reset iis by opening a cmd prompt as admin and typing 'iisreset'

Remediated Vulnerabilities reports and a How To?

$
0
0

Hi Everyone!  I am trying to see all vulnerabilities remediated (a.k.a. patches I applied) to a given computer or group of computers.  I have my pilot test group and I would like to get a list of all patches I've applied to them, when, etc.

 

Basically, if you right click on a device and choose "Security and patch information" and then select "Clean/Repair history" - I would like to be able to click "Print" and print a report of this information; for this device or a query or public group of devices.

 

When I run the Remediated Vulnerabilities canned report it only gives me (per the description) vulnerabilities that were "Remediated by the latest repair job".  Which, is really not helpful.  I *need* to see ALL vulnerabilites that were remediated by LANDesk Patch Manager (8.8 SP2, btw)

 

What's even more confusing is why there's a report "Remediated Vulnerabilities by Date" and has an option for "All logged data" but yet I beleive the underlying query is only pulling the last repair job?

 

Also - on a side note (I hear there is a 2 for 1 forum post special today)  Just as the "Remediated Vulnerabilities by Date" report pops up the user input dialog, does anyone know how to make this happen if I build a report myself?  Where is, or how do *I* implement this functionality?  It would be very useful.


The standard reports are showing a lot of empty reports when ran the report

$
0
0

Environment:

LANDesk Management Suite 9.6 sp1


Problem:

When running some standard reports, the report appears empty with no information, for example the Detected vulnerabilities report as below.

1.png

 


Cause:

When you run the report, parameters panel does not pop up by default .

 

Solution:

1, Run the report, then click the "Toggle Sidebar"

2.png

 

2, Click the "Parameters Panel"

3.png

 

3, Select Enabled or disabled

4.png

4, View the report, then you would get the data now.

5.png

How to create a query for to show devices that have a specific Application installed

$
0
0

Environment: LDMS 8.7, 8.8, 9.0,9.5, 9.6 and newer


Description:

How to create a query that will return a list of devices with a specific application installed.

 

Resolution

 

1) Open the LANDesk Management Suite console

2) In the Network View, right-click on 'Queries' and select 'New Query'

3) In the new query window, create the following query:

 

LDMS 8.7 and 8.8

"Computer"."Software"."Application Suites"."Application Suite"."Name" = "name"

 

LDMS 9.0 and newer

"Computer"."Software"."Add or Remove Programs"."Program"."Name" = "name"

 

Where "name" is the name of the application that you are trying to query for.

 

query for specific application.png

 

4) Click on 'Save' and double-click on the new query to run it.

 

This query can also be used in a report by creating a new report and selecting the query that has just been created.

query for specific application creating report.png

Export report to Excel in LDMS Console error: DataDynamics.Reports.ReportsException: An unexpected error occured.

$
0
0

Issue:

 

In 9.5 SP3 the default reporting engine is DDR. This might cause the problem that when export the report to Excel, error will shows up stopping you to proceed with it. Error message looks like below:

error picutre.png

When selecting Copy and attempting to paste it onto a text editor (notepad), you will get the error message attached in this document.


Resolution:

 

On your Console machine, start the Registry Editor (regedit.exe) and navigate to the following registry hierarchy:

 

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\LANDesk\ManagementSuite\Reporting\DDR


Set the DDR value to false.If the registry entry doesn't exist, please create a new string value and set the value accordingly:

reg pic.png


Once complete, log into your console and export the desired report.


Explicit Authentication For Reports

$
0
0

Overview

 

This document goes over configuring explicit authentication for Reporting in LDMS. This impacts web-viewed reports, such as reports run from the web console, and ERP Reports.

 

Steps

 

Open IIS Manager and drill down to the "remote" site.

 

Select the "Report" folder under the "Remote" site.

 

Double click the "Authentication" action item and then right click "Basic Authentication" and click "Enable". Right click "Windows Authentication" and select "Disable"

 

Screenshot_2.jpgScreenshot_4.png

 

Head back to the "Report" folder and select "Authorization Rules". This is where you'll configure access.

 

By default there will be an Allow rule for All Users. Go ahead and right click that and then remove it.

 

Next, right click the open space and select "Add Allow Rule". In here, you can allow specific users, specific groups, roles, etc. In the example below I'm allowing domain administrators.

 

Screenshot_115.png

After this is done, you should now see that people attempting to access web reports are prompted to login. If they don't meet the criteria in the authorization rules, access will be denied. Below is an example of both when accessing an ERP Report, one with a member of Domain Admins, and one with a user that is not.

 

 

 

Screenshot_117.pngScreenshot_118.png

 

Screenshot_119.pngScreenshot_120.png

 

Note that the full impact of switching to Basic Authentication has not yet been measured. If you run into any issues, please inform Ivanti Support.

Adding multiple filters

$
0
0

How do I add another filter to a query that would act as an OR

For instance I would like to have a filter that shows the type to be equal to "virtual server" OR "server"

 

When I add multiple filters it gives me nothing. If I only do one filter it gives me results but then I have multiple reports. This is based on a Reboot Needed standard query.

Run a script before ldscan on a Mac?

$
0
0

I don't see a lot of info online about this topic.

I want to know if it's possible to kick off a script every time the ldscan automatically runs.  I'd like to use this method to dynamically update a custom inventory xml file.  This method is baked into Windows using ldscnhlp.ini (old method, I know, but works), I don't see how to do this on a Mac unless I'm utilizing something like a cron or a launch daemon.  Maybe it's related, I see there is a scripts folder in "/Library/Application Support/LANDesk/scripts", not sure what's that used for.

I could also create a daily landesk Scheduled Task too, maybe that would be the best option...

How does everyone else do this?

Creating a Query to search by MAC Address

$
0
0

Purpose

Sometime it may be necessary to search your inventory by MAC address to determine if there are any duplicate records in your inventory. Duplicate records can cause the scheduling of tasks to fail. This can effect Software Distribution and Provisioning.

 

Steps

  • From your Core, In Network View
  • Expand your Core
  • Expand Queries
  • Right Click My queries
  • Select New Query...

2015-03-05 16_21_43-RD Tabs 64.jpg

  • In the Machine Components expand
    • Network
    • TCPIP
    • Bound Adapter

2015-03-05 16_36_19-RD Tabs 64.jpg2015-03-05 16_39_00-RD Tabs 64.jpg

  • Select Physical Address
  • Select Qualifier
  • Type the MAC Address you are searching for in the Edit Values field
    • You can also select the MAC Address in the Display Scanned Values list
  • Click Insert

2015-03-05 16_42_19-RD Tabs 64.jpg

  • Click Save

 

Display Options

  • Select Columns to display once the Query is run on the lower portion of the window.
  • Navigate the Machine Components just like you would the Inventory
  • Select items to display by clicking the >> button
  • When the desired column set is configured, click Save

Creating Reports

$
0
0

Hi,

 

Is there any way to create a report on list of all the installed patch for selected device?

Column set copied to Scheduled task bug?

$
0
0

I took a personalized column set and right click copied to the failed devices on a scheduled task, I saw no indication that it changed my column view (I was looking for reason of failure, i.e. incorrect agent, reboot needed etc. etc.) However, unannounced to me it created a targeted queries group in the Targeted items, then later that evening when the job was rescheduled and started it targeted 4000 additional machines based on a query that has something to do with the column view.  Is this a know bug or a designed feature?

No data in report

$
0
0

Hi,

 

I tried to run the default report template created by Ivanti but the reports have no data inside it. Any idea what cause this error? Did I configure something wrong?

 

Customizing ERP reports for Executive Report Pack

$
0
0

Built in reports in Data Analytics \ Executive Report Pack are by default not changeable from the Management Console view.

 

In order to customize any report from Executive Report Pack you have to clone report and modify copied item.

It is recommended to edit attributes by modifying SQL queries instead of editing report by wizard tool.

 

Preparing report

First of all you have to export base report (i.e. Patch Status by Device by Patch Type in ERP secton) to XML file.

Select the proper report from built in list and choose export.

 

Specify the proper name and location

In the file you have to modify manually XML values with proper XML convention rules. It is recommended to use advanced text editor to make the code clear and avoid including any special not visible marks in xml code.

The below case describes report named Patch Status by Device by Patch Type, avaiable in ERP \Patch section.

 

First of all you have to report name to unique and specify location

 

 

Product value and subgroup should be in user location as incorrectly created file will overwrite existing one.

It is recommend o change product Value to "User" and delete Subcategory tag.

 

Keep in mind only user catalog will allow you later to edit or delete newly created customized reports.

 

In <SUBREPORT> section tag you can values and customize columns, visible in final report, by removing existing or adding new one. 

In this place you can edit other options like visible label name, with of column etc.

 

Keep in mind you have to modify it using proper XML syntax. Columns are connected both to properties and sql values.

 

 

Removing or adding new column to report

In order to delete column from Inventory section (computer name, IP adderss, last scan date etc), you have to remove proper values connected to particular column.

For example removal process of 2nd column named Device Name requires to cut the below values marked as gray:

 


If the report section with particular ERP data (i.e for Patch detection :Date detected, severity)should be removed, the second <Subreport> section has to be modified.

 

Adding new values

Process of adding new columns should be done in similar way, while the data for required value should be properly pasted both for field types and SQL query.

Keep in mind the proper type of value (INT, String, etc) should be specified in field type as well.

 

 

Import report

Modified file should be saved and imported into ERP Data Analytics from Management Console using Import feature,  available from context menu.

 

Example of modified ERP report for Patch Status by Device by Patch Type with removed below columns is attached:

- last logged in user

- last updated by inventory

- address IP

Windows firewall status misleading ?

$
0
0

Hello everyone,

 

First time poster, but I regularly follow the community to find answer when i'm stuck on query design on LANDesk. I use the product since 6 months.

 

I want to create a query in order to retrieve the firewall status on device connections. To do so i look into BoundAdapter table and look at the "Firewall Enabled" row. The 3 status seems straightforward : Enabled, Disabled and Not Installed. However, during the test, i found a lot of device with the firewall turned off, but when i compare on the computer, the firewall is up and running !

Is there anyone who have this issue before and how can i deal with this ? More generally, is there a documentation or a ressource where i can find how a certain information is retrieved by LANDesk ?

 

I looked into older subject and i found 2 relevant :

Query to find Windows Firewall Status? : It seems the same issue but left without answer

Building a report on firewall settings  : More related to the reporting and how to do it.

 

Thanks

Viewing all 308 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>