In the Dell KACE K1000 appliance under Computer Inventory, it should be possible to find devices in a Smart Label that currently have active AMP (Agent Messaging Protocol) connections to the K1000.  Does this require creation of a custom inventory rule to allow searching for this value?  If so, how should the custom inventory rule be written?  If not, how else can I find only devices with currently active AMP connections?

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

4

I agree with chucksteel.  What are you trying to accomplish?

Keep in mind a custom inventory rule is only going to be as accurate as the last system check in and that requires an AMP connection.

That said, in Windows, this command will show an active AMP connection:

Netstat -nao | findstr "52230" | findstr "ESTABLISHED"

There will also be a file called "AMP_CONNECTED" located C:\ProgramData\Dell\Kace.

Answered 11/13/2012 by: jknox
Red Belt

Please log in to comment

Answers

2

You wouldn't want to use a smart label for this because they only get applied when a computer checks in. Because of that, a computer will get the label when it checks in, and the label will stay applied to the machine after it is turned off (or loses its connection). The effect would be that all machines would have the smart label applied.

What are you trying to accomplish by applying a label only to machines that have an AMP connection?

Answered 11/13/2012 by: chucksteel
Red Belt

Please log in to comment
1

The point of the Smart Label was to search for devices that had not successfuly run a script.  By creating a Smart Label, it was possible to find devices with the following criteria:

Software Titles contains [Script Name] AND OS Name does not contain server AND OS Name contains xp
 
This showed all Windows XP devices that had not yet received the script.  If it had been possible to further filter the resultant list within the Smart label, showing only those devices currently active, the label could have been used to resend the script just to those devices needing the script that were also currently active.  Without this filter, I had to export the list of devices and manually select the devices, then import the individual machine names of currently active devices into the script, and re-run the script.
 
My current issue is resolved.  However, it would still be useful to filter the results of a Smart Label to show only currently active devices (those with currently active AMP connections).  Maybe later.
Answered 11/13/2012 by: PMNilsen
Orange Belt

  • Are you running the script with KACE? If so, then you can use the Run Now function and it will only send it to machines with an active connection (the others will fail). It sounds like you might have been looking to create a list of computers to use outside of KACE, however. In that case then a report would be able to return active computers. The following SQL will return computers with an active connection:

    SELECT SC.CLIENT_CONNECTED,MACHINE.NAME AS SYSTEM_NAME FROM MACHINE LEFT JOIN KBSYS.SMMP_CONNECTION SC ON MACHINE.KUID = SC.KUID WHERE (SC.CLIENT_CONNECTED = '1') ORDER BY SYSTEM_NAME

    You could add the other criteria you need then generate the report. When using the report wizard the you add the Machine Connected field (In computer identity information) and then apply a filter where Machine Connected equals 1.
Please log in to comment
This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.

This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.

This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.

Answer this question or Comment on this question for clarity

Share