/build/static/layout/Breadcrumb_cap_w.png

Software Question


Create a report with inventory

11/11/2019 203 views

Hello everyone,

I need create a report with all machines don't make a report in last 7 days.


Some ideia? :)


0 Comments   [ + ] Show comments

Comments


All Answers

2

  There is a report already built in to Reporting: Computers that are MIA for 60 days.  You can click into and duplicate it , and go to filters and change agent disconnection time is not within last  7 days.  Make sure to adjust the name of the report. 


Answered 11/11/2019 by: larcher
Senior White Belt

2

you can do it with the reporting wizard

Simply click all fields you want and make it shiny.
As Filter Rule you can say "Agent Connection Time" "not within the last" "7" "days".

Or as SQL:
SELECT MACHINE.IP, MACHINE.NAME AS SYSTEM_NAME, LAST_INVENTORY, LAST_SYNC, MACHINE.ID as TOPIC_ID FROM MACHINE LEFT JOIN KBSYS.KUID_ORGANIZATION KUID_ORG ON KUID_ORG.KUID = MACHINE.KUID LEFT JOIN KBSYS.SMMP_CONNECTION SC ON MACHINE.KUID = SC.KUID AND substring(SCHEMA(),4) = KUID_ORG.ORGANIZATION_ID WHERE (((TIMESTAMP(SC.CONNECT_TIME) > NOW() OR TIMESTAMP(SC.CONNECT_TIME)
(it was created out of the query above)

Answered 11/11/2019 by: Nico_K
Red Belt