Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

How do we process and store data?

Each system (computer, network device, printer, et al) has an entry in the "system" table. Each system (from the "system" table) has a "system_id" column. This value is unique - it's an auto incrementing id. A system is determined to be unique by a the table below.

...

 computernetwork printerlocal printernetwork devicenon-network device
audit scriptuuid + hostnamefqdn, ip addresshostname + deviceID--
active directoryfqdn, ip addressfqdn, ip address---
nmapfqdn, ip addressfqdn, ip address-fqdn, ip address-
snmpfqdn, ip address, type + serialfqdn, ip address, type + serial-fqdn, ip address, type + serial-
spreadsheetfqdn, ip address, type + serialfqdn, ip address, type + serial-fqdn, ip address, type + serialtype + serial
html formfqdn, ip address, type + serialfqdn, ip address, type + serial-fqdn, ip address, type + serialtype + serial

How do we match a system key?

The order of preference to match one system against another is as follows: Obviously if we have the system_id, we simply match on that first.  If we don't have the system_id, in the model m_system.php is a function called find_system. This will attempt to:

...