/build/static/layout/Breadcrumb_cap_w.png

Report NIC MAC addresses regarless of interface state?

Hello,

I'd like to have a report of all NIC MAC of all computers, regardless of the NIC connection state.

Currently (K1000 v5.3) when creating a Computer NIC report, the data is inconsistent. Some computers report all NIC, some report only the connected (with an IP assigned) ones and some others report the connected ones + Bluetooth.

Anyone got similar experience? Is it related to an agent setting? System setting? Report query?

For reference is is the SQL statement for the report:

SELECT MACHINE.NAME AS SYSTEM_NAME, MACHINE_NICS.NIC AS NIC,MACHINE_NICS.MAC AS NIC_MAC

FROM MACHINE_NICS  JOIN MACHINE ON (MACHINE.ID = MACHINE_NICS.ID)  

ORDER BY SYSTEM_NAME

0 Comments   [ + ] Show comments

Answers (1)

Posted by: dugullett 11 years ago
Red Belt
0

Take a look here.

http://www.itninja.com/question/how-to-improve-report-to-get-mac-address-from-client-machine-when-it-does-not-connect


Comments:
  • You can also try modifying your query to group the NICs.

    SELECT M.NAME AS SYSTEM_NAME, GROUP_CONCAT(distinct MN.NIC SEPARATOR '\n') as NIC,GROUP_CONCAT(distinct MN.MAC SEPARATOR '\n') AS NIC_MAC

    FROM MACHINE_NICS MN

    LEFT JOIN MACHINE M ON (M.ID = MN.ID)

    GROUP BY M.NAME
    ORDER BY SYSTEM_NAME - dugullett 11 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