/build/static/layout/Breadcrumb_cap_w.png

I need a report to show systems currently connected to the KACE system

I need to create a report that will show what system are currently connected via the amp connection to the server at a certian time.

I need system name, Logged in user, IP address to show next to the entry.

Any help would be awesome.

Thanks


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: dimitris 11 years ago
Purple Belt
2

The report template for topic -> computer will create this report and show if a machine is connected.  I tested this by just selecting Machine Connected and the other necessary fields from the Fields to Display page.  A '0' is not connected a '1' is connected. 

If you only want the machines that are currently connected you could modify the query like this:

SELECT MACHINE.IP, SC.CLIENT_CONNECTED, MACHINE.NAME AS SYSTEM_NAME, USER_LOGGED  FROM MACHINE  LEFT JOIN KBSYS.SMMP_CONNECTION SC ON MACHINE.KUID = SC.KUID
WHERE SC.CLIENT_CONNECTED LIKE '1'

I just added the WHERE clause to the query the report template created.

You could have also just added the Filter "Machine Connected" = 1 when creating the report at the Filters page.

 

Posted by: mmeyer@vu.com 11 years ago
Fifth Degree Brown Belt
0

I was able to update one report I found in the system. I did not get the IP information I was after but that is not critial. Here is the SQL information if any one is interested.

select M.USER_LOGGED AS LAST_LOGGED_IN_USER, M.NAME, if (S.CLIENT_CONNECTED, "On", "Off") as POWER_STATE, S.DISCONNECT_TIME
from MACHINE M
join KBSYS.SMMP_CONNECTION S on S.KUID = M.KUID
order by POWER_STATE, M.NAME

 
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