Quantcast
Channel: Ivanti User Community: Message List
Viewing all 12704 articles
Browse latest View live

How can I get the name of the Webaccess application when building a URL in a v7.8 calculation?

$
0
0

Hi

 

I'm trying to create a calculation that lists all the attachments in a collection, on our main Change Window.

 

However I'm trying to avoid hard-coding the name of the webserver and the name of the Webaccess aplication.

 

In this instance it is DEV.webaccess, but I want to avoid having to change the calculation when it is moved into our live environment.

 

I can get the webserver name using:

     WebServer = System.Net.Dns.GetHostName()

 

However I'm looking for way finding the bold pat below at runtime:

 

     http://servername/DEV.WebAccess/

 

We are on v7.8.

 

Can any calculation experts give me a pointer in the right direction please?

 

Thanks,

 

Alasdair.


Re: How can I get the name of the Webaccess application when building a URL in a v7.8 calculation?

$
0
0

Hi,

 

Take a look at Process Approver in LDSD designer manual. You can configure process approver link on each instance (dev, prod) and use process approver link in calculations, and this way get proper link in emails and (hope, didn't tested it this way) on list You want to prepare

Re: How to create custom alerting for Default Gateway Address

$
0
0

Hi Jonny,

I managed to do some action if a client moved to another area (segment), like blocking the access, etc.

Alerting is the most suited for that task but if it's not customized I'll need to find the other method.

 

dean

Re: How to create custom alerting for Default Gateway Address

$
0
0

Hi Frank,

I already done with what you're suggesting but only send an alert is not my goal. I need to do some action to the client which is send the alert.

 

- Dean

Unlocking calls via Calcs...

$
0
0

I’ve been looking at unlocking calls again – we’ve kind of been hacking the javascript, but we have to remove this every time we upgrade or have an issue and need support.

 

A recent conversation discussing clever things people were doing with calculations and DB access got me thinking that there might be an easier answer in calculations.

 

The first stumbling block is that you can’t add calculations to the “Lock Item” BO.  We all know there are ways to add new attributes, but you can’t then go on to set a calc. (unless someone knows a way?).

 

This is a shame, as it would be very easy to have a fancy report in Webdesk showing a clickable Unlock icon against each item in this BO.  Or even a simple lookup on items in the table.  In fact you can’t even add a report template to Lock Item so you can’t even  generate a URL for each locked item to open an unrelated unlock object…

 

You can’t even link “Lock Item” to a new object to allow a relationship (and thus a lookup) as you get a constraint when trying to delete the linked record if you do.

 

Anyway, I thought I’d look at seeing how a calc would work regardless, and the following seems to work for me, albeit as a very primitive test:

 

I created a new BO in System called “Lock test” with just two fields (“Call ID” and “Calc”).  Once created,  I added  a single record to the Lock Test BO that we could access via a report template,  and styled the report to look like an Unlock button.  (The same single record is used again and again…)

 

Clicking on the report template opens the record.  If all has worked well,   simply entering the locked ticket  ID in the “Call ID” field and clicking Save should unlock that call.

 

The before Save Calc is:

 

import System

import System.Data from System.Data

import System.Data.SqlClient

import System.String

static def GetAttributeValue(_LockTest):

connectionString as string = ("Data Source=landeskDB;Initial Catalog=LDSD_DV;User ID=LandeskUserID;Password=**********")

Value = ''

//Get the Ticket GUID

sql = "Select pm_guid FROM PM_PROCESS  WHERE pm_ID = '" + _LockTest._CallID + "'"

dbcon1 as SqlClient.SqlConnection = SqlClient.SqlConnection(connectionString)    

dbcon1.Open()

cmd1 as SqlClient.SqlCommand = SqlClient.SqlCommand(sql, dbcon1);

Var1 =  cmd1.ExecuteScalar()

dbcon1.Close()

//Delete the Lock record

sql = "delete FROM TPS_LOCK_ITEM  WHERE TPS_OBJECT_GUID LIKE '%" + Var1 + "%'"

dbcon as SqlClient.SqlConnection = SqlClient.SqlConnection(connectionString)     

dbcon.Open()

cmd2 as SqlClient.SqlCommand = SqlClient.SqlCommand(sql, dbcon);

cmd2.ExecuteNonQuery()

dbcon.Close()

Value += _LockTest._CallID + "  (" + Var1 + ") has now been Unlocked."

       return Value

 

 

This is just a concept - there is still work to do – most notably is that at the moment it is looking up by ID, which could be shared by more than one ticket.

Also no  error checking at present.  We could also easily add a role lookup for access control.

But there is some scope here I believe…


Obviously LANDesk will (quite understandably) support none of this

Change role

$
0
0

Hi Guy's,

 

We have now split our department into 2 parts one for Service and one for Delivery.

 

We need to remove the ability for the Delivery Team to have access to Incidents and Service Requests as all incidents and requests should now be managed by the Service Teams, however they still need access to be able to raise changes.

 

Can any one advise how this can be done?

 

I am thinking we may be able to create a role and then apply certain permissions? However i'm unsure of which permissions to Add/Remove.

 

Many thanks,

 

Sam.

Calculation Help

$
0
0

Hi All

 

I have designed a Triage system to allow our service desk to log Incidents and Request more efficiently by utilising the Call domain.

 

Designed in our dev system and works fine but when put into our live environment window calculations don't work correctly.

 

When a request is triaged and a cost code is required a dynamic window calculation displays the Cost code field (works perfectly in dev) but in live this doesn't kick in until after Save

 

The calculation is a s follows so once configItemrequested requires a cost code the cost code field should appear

 

 

import System

 

static def GetAttributeValue(Call):

 

Hide = true

 

Mandatory = false

 

if Call._ConfigItemRequested != null:

 

if Call._ConfigItemRequested._RequiresCostCode.ToString() == 'True':

 

Hide = false

 

Mandatory = true

 

return String.Format(":SetHidden(_CostCode,{0});:SetMandatory(_CostCode,{1})",Hide,Mandatory)

 

Any ideas would be appreciated as cannot understand why it works in a dev environment but not live when the both environment are set up the same.

 

cheers

neil

Re: Interrupted software distribution policies seem to hang until job is restarted


Re: Is there a way to force manually the "reboot needed" value

$
0
0

aymeric,

 

What exactly are you trying to accomplish? Are you performing an operation (patch, swd, Agent install, etc) and want the value changed afterwards?

 

the following operations will change the reboot needed value

 

PendingFileRename exists - https://technet.microsoft.com/en-us/library/cc960241.aspx

Wuapi has a COM property that indicates whether reboot is needed.

Vulscan will call that api and will detect if reboot is needed. if HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\landesk\managementsuite\WinClient\Vulscan\vulscanreboot key exists.

 

Are you looking to see if a 'reboot needed' situation actually exists, or just want to query that key? If that isn't what you are looking for, please provide more details about what you are trying to accomplish.

 

-Tracy

Re: how to setup automatic unassigned devices in 6.1 to a folder

$
0
0

You can assign selection criteria to folders e,g. ModelName = MC3000 or other custom properties. Based on the selection criteria the devices will be assigned to appropriate folders.

Re: Unlocking calls via Calcs...

$
0
0

Stu, this is the greatest, thanks for posting it. I couldn't see a license (BSD etc) in any of the files, any chance you could add one?

Re: Change role

$
0
0

What I would suggest is to remove their published permissions to anything that has Incidents or Request queries in it.  Then, create a new shortcut group and publish it just to them and in there only have the Change Management stuff.  It's going to be hard to remove permission to Incidents, especially if you still need them to be able to create Incidents for themselves should they need to do that.

 

You'll need to remove the Incident/Request permissions that may give them the rights to Approve requests, resolve, close, etc...   Use this script to hide various actions while still allowing the automatic action to run in the background.

https://community.landesk.com/support/docs/DOC-3633

 

You'll want to make sure you do some serious testing by logging in as someone from that role to see what they may still have access too.

 

Good Luck

Re: Change window when clicking Shortcut Group button

$
0
0

Negative.  I don't think that's an option yet.  I know it's been asked for to have it operate like Self Service, but it's not there yet.  I think there in an Enhancement Request out for this somewhere.

Server 500 error when attempting to create/view Chat requests

$
0
0

Hi everyone,

 

My workplace are attempting to implement the Social media Package into our LANDesk 7.7

Thanks to help previously, we now have the discussions and questions working, however out Chat Requests are throwing a server 500 error:

Chat5001.png

 

It says there was an issue getting pending requests. BY Default it should say "No Pending Requests"

However I'm also unable to create chat requests because of a similar Server 500 error when creating chats:
chat5002.png

I've checked with out Server Admins to get a second opinion and they get the same as me. When loading in Chrome, the error shows straight away.

When testing in Firefox, the Pending Chat Requests work okay, but creating the Chat gets the screenshot above. Chrome does not even load the Chat window, just displays the error.

 

Has anyone encountered this issue before?

Help would be greatly appreciated

Re: Find a file in Linux

$
0
0

hi JonnyB,

 

I want to do the query from LANDesk.

 

Regards,

Sukumar. R.


Re: Find a file in Linux

$
0
0

So - by default we do *NOT* harvest / collect individual files in Linux inventory. We only report registered packages (Your RPM's, your DEB's, and so on).

 

One of the main reasons for this is to not blow up your database - a "mode=all" scan on even a fairly clean NIX os can be happily more than 10 MB of data. And you end up with a MASSIVE amount of data and very little information. It's pretty much a bad idea every time to just blanket-harvest everything that's on a NIX box. You just get swamped in garbage.

 

What I would suggest then is one of the following for you:

 

Option 1 - Use custom data.

You can use a shell script of yours to collect custom data & just add the relevant file data you care about to inventory. I've written an article detailing how to do custom data on NIX devices (with examples) here - DOC-31332 .

 

Option 2 - Use the vulnerability scanner with custom definitions

So you can write custom vulnerabilities for NIX as well and use that to your benefit.

 

Here's a script an older colleague of mine used as a basic test - it just checks for the existence of "/usr/" but you can use this concept for your own advantage.

#!/bin/sh

# Return value/. Default is 0 for not detected

RV=0

 

REASON="/usr was detected"

 

[ -d /usr ] && RV=1

 

if [ $RV -eq 1 ]; then

    echo "/usr was detected" >%1

    echo "/usr directory exists" >%2

fi

exit $RV

 

You can then use the logic essentially of "each box that is showing up as vulnerable has the file I'm after".

 

That should help you with your problem.

Re: Calculated fields are not displayed in Web Desk but can be seen in Console. Is there any changes need to be made to see it in Web Desk?

$
0
0

Hi Julian

 

We upgraded from 7.7.3 to 7.8.2 which has now fixed issue with Web desk.

 

Thanks

 

Harry

Re: Service Desk Email Not Creating Tickets - Sometimes

$
0
0

We have had similar issues, on the past couple of occasions emails in TNEF format completely stopped the inbound service, workaround being to identify and move that e-mail.  More info here:  https://community.landesk.com/support/docs/DOC-10731#comment-23032

I have an open support call regards this issue as we have other e-mails in the same format (tnef) which are processed. 

 

We have implemented the ticker on Service Desk Clients, it display a the count of number of tickets created via e-mail within the last hour, if the query returns 0 then is displays in red and we can quickly look to resolve the issue.  In the past we didn't find out until half a day leading to a massive backlog.  The resolution as mentioned before could be moving the tnef formatted e-mail, or as Jamie has instructed.

Error 322 on Distribution - The Install does not seems to start

$
0
0

Hello Guys,

 

we had the LANDesk System now running for about 4 Months now and it worked very good.

But since last week i get the error 322 on distributing a software package. I looked into the sdclient_task file corresponding to the distributed software,

but i am note able to locate the problem. It seems to me, that the download went just fine and landesk was about to start the installation of the package.

But somehow no action was taken and the task finishes without doing anything.

 

We are using LANDesk Management Suite 9.6 SP2 and the powershell software packages.

As Client we use Windows 7 Enterprise.

On all machine the windows management framework 4 is installed.

Normaly i would be able to see the logs of the powershell execution, but there is nothing.

The issue is not permantly and inconsitent. So sometimes the distribution to the same machine works and sometime it does not.

Note that this issue is not limited to one specific package.

I looked in the task logs and the windows logs, but i am not able to at least find a error in the timeframe of the distribution.

 

Logentry:

Wed, 23 Sep 2015 10:17:00 Installation result 229966379

Wed, 23 Sep 2015 10:17:00 CPolicyHistory::LoadHistoryDaysToKeep: No task history maintenance to perform, registry settings for task history maintenance mode is '-1'

Wed, 23 Sep 2015 10:17:00 ExpandEnvironmentVariables Result: "Install" "False"

Wed, 23 Sep 2015 10:17:00 PowerShell file Client Thread

Wed, 23 Sep 2015 10:17:00 file exists check runtime

Wed, 23 Sep 2015 10:17:00 runtime version: v2.0.50727

Wed, 23 Sep 2015 10:17:00 LaunchAsSpecifiedUser: no user loged on, set hide to true.

Wed, 23 Sep 2015 10:17:14 PowerShell script output:

Wed, 23 Sep 2015 10:17:14 Installation result -1917517502

Wed, 23 Sep 2015 10:17:14 CPolicyHistory::LoadHistoryDaysToKeep: No task history maintenance to perform, registry settings for task history maintenance mode is '-1'

Wed, 23 Sep 2015 10:17:14 RunPackageInstall: stop on returncode=8db50142 of package=UGS NX 7.5.5.4

Wed, 23 Sep 2015 10:17:14 processing of package is complete, result -1917517502 (0x8db50142 - code 322)

 

I assume that this issue has nothing to do with landesk or at least not directly. But i can´t find any lead to what the problem might be.

If you got a hint for me where i could find additional information or maybe a possible cause of the problem your comment would be much appreciated.

Re: Device is still showing in inventory when it has been moved to asset control

$
0
0

Patching done the trick it seems, devices aren't appearing in the inventory now when they are archived.

Viewing all 12704 articles
Browse latest View live