/build/static/layout/Breadcrumb_cap_w.png

How do I find devices with active amp connections?

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

Answers (3)

Posted by: jknox 12 years ago
Red Belt
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.

Posted by: chucksteel 12 years ago
Red Belt
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?

Posted by: PMNilsen 12 years ago
Orange Belt
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.

Comments:
  • 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. - chucksteel 12 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ