Dawnsentry
What it doesOne list of what affects you, worst firstThe Xsentry engineStarts from the version you run, not from the CVEHow it worksThree steps; the first is the only workSecurityWhere your inventory lives, who can see itSelf-hostedOn your own servers, also without internet
The live demoA full copy of the app with a sample company. No sign-up.Open the demo →
Pricing
CVE lookupOne product and version, or one CVE, nowCVE catalogueEvery product, every versionGuidesAdding items, imports, the map, scoresFAQData, privacy, plans
Sign inTry the demoDemo
ProductWhat it doesOne list of what affects you, worst firstThe Xsentry engineStarts from the version you run, not from the CVEHow it worksThree steps; the first is the only workSecurityWhere your inventory lives, who can see itSelf-hostedOn your own servers, also without internetPricingPay for how much you track
ResourcesCVE lookupOne product and version, or one CVE, nowCVE catalogueEvery product, every versionGuidesAdding items, imports, the map, scoresFAQData, privacy, plans

Guides · 5 of 8

Import from Zabbix, PRTG, NetBox or a spreadsheet

If a monitoring system or an asset database already knows your equipment, start from it instead of typing. Dawnsentry imports from Zabbix, PRTG, NetBox and from any CSV or Excel file, under Inventory → Import. All four follow the same three steps, and none of them changes anything until you say so.

The three steps

  1. Export. Download the small script from the import page and run it on any machine that can reach the source, with a read-only account or token. It needs Python 3.8 or newer and nothing else, only reads, and writes one file. For a spreadsheet, start from the template on the same page.
  2. Review. Upload the file. Dawnsentry maps every host to a model from its catalogue, with the operating system and the software it found and their versions, and shows the list: what matched, what became a custom item under the name you gave, and what has no version yet. Untick what you don't want.
  3. Import. Items are created with the exposure, site, owner, serial and notes the file carried; a site can become a network on the map. Run the export again later and upload it: versions are updated in place, by name and model, and the names, exposure and notes you set in Dawnsentry are kept.

Zabbix

The script reads hosts, their inventory fields and the items that report versions (operating system, packages, firmware), through the Zabbix API. Use an API token on Zabbix 6.4 and later, or a read-only user on older versions:

python3 dawnsentry_zabbix_export.py --url https://zabbix.example.com --token YOUR_API_TOKEN

It writes zabbix-hosts.json. The file holds no IP addresses and no passwords.

If you make a user role for the export, switch Access to API on in it. In Zabbix 8.0 a role created through the API has it off by default, and the script then stops with a permission error.

PRTG

Devices and the sensors that know a version, through the PRTG API, with an API key or a read-only user:

python3 dawnsentry_prtg_export.py --url https://prtg.example.com --token YOUR_API_KEY

The script uses PRTG's classic API. Since PRTG 26.4 the new interface and API v2 are switched on alongside it; Paessler plans to retire the classic API once v2 is complete and will announce a date. We will update the script before then.

NetBox

NetBox can be connected rather than imported: under Users & alerts → Integrations → NetBox, give Dawnsentry NetBox's address and a read-only API token, and it reads NetBox every hour (or every 6 hours, or daily). New devices and virtual machines become items, versions follow NetBox, and VLANs, prefixes and IP addresses go into IP addresses. An item that disappears from NetBox is listed there, never deleted, and what you set in Dawnsentry (names, exposure, notes) stays. An item you imported earlier from a file is linked by its name.

Setting it up takes three steps, two of them in NetBox:

  1. A version field. NetBox has no field for the software version a device runs, so add one: in NetBox, Customization → Custom Fields → Add, type Text, object types DCIM › Device and Virtualization › Virtual machine, name software_version (or another name, which you then enter on the settings card). Fill it in with the version each device runs, such as 7.4.5 on a FortiGate. Devices without a version are listed on the card, not added.
  2. A read-only token. In NetBox's user menu (top right), API Tokens → Add a token, with Write enabled off. Copy the token straight away: NetBox shows a new token only once.
  3. The settings card. In Dawnsentry, Users & alerts → Integrations → NetBox: enter NetBox's address and the token, press Test connection (it reads NetBox and shows how many devices, virtual machines, VLANs and addresses it found), then Save with Sync automatically on. Sync now runs the first sync straight away.

Optional on the same card: a tag that marks internet-facing devices (it sets an item's exposure when it is first added), only some sites or device roles, virtual machines, inactive devices, and whether VLANs, prefixes and addresses go into IP addresses. After each sync the card lists what was added and updated, devices without a version, devices it didn't recognise, and items that have gone from NetBox.

Both kinds of token work: NetBox 4.5's v2 tokens (nbt_…) and the older ones, which NetBox 5.0 removes. The cloud service connects to NetBox over the internet, so NetBox needs an https address that can be reached from outside; an internal address is refused. A self-hosted Dawnsentry connects from your own server, so an internal address works there. If the cloud service can't reach NetBox, run the export script on a machine that can, from cron, and let it push what it reads. It needs a Dawnsentry API key set to Read and write (Users & alerts → Integrations → API keys):

python3 dawnsentry_netbox_export.py --url https://netbox.example.com --token YOUR_TOKEN \
  --vms --internet-tag internet --push https://app.dawnsentry.com --api-key dsk_…

Without --push the script writes netbox-devices.csv, the same format as a hand-made spreadsheet, for a one-off upload through Import a file. --site and --role limit either to parts of NetBox, --include-offline keeps devices that aren't active.

Microsoft IPAM, DHCP and DNS

IP addresses come from Windows the same way, pushed from inside your network. Under Users & alerts → Integrations, download the PowerShell script and run it once, as an administrator, on the server with IPAM (or DHCP and DNS), with a Dawnsentry API key set to Read and write:

.\dawnsentry_windows_ipam.ps1 -Push https://app.dawnsentry.com -ApiKey dsk_… -Site "HQ" -Install

-Install registers a scheduled task that sends the data every hour (-Every 6 or24 for less often). It reads whatever it finds: IPAM's subnets with their VLAN and its addresses, DHCP's scopes with range and router and its reservations (-Leases adds active leases), and the A and AAAA records of the primary DNS zones. A subnet with a VLAN becomes that VLAN's scope, DHCP ranges and gateways fill in empty fields, an address goes on the item whose name matches its host name, and DNS names are added to the address. Nothing is deleted. Run it with only -Out ipam.json to see what it reads without sending anything.

For BIND, Unbound, Knot or PowerDNS, a Python script sends the A and AAAA records the same way, by zone transfer (allow it for the machine that runs the script) or through PowerDNS's API; run it from cron:

python3 dawnsentry_dns_export.py --server ns1.corp.example --zone corp.example \
  --push https://app.dawnsentry.com --api-key dsk_…

A spreadsheet

One item per row; columns are found by their headers, in any order: name, vendor, model, version, and optionally type (hardware or software), exposure, site, owner, serial, TLS host and notes. Download the template from the import page and fill it in; CSV and Excel both work. Vendors and models are matched to the catalogue the same way as for the other three.

Keeping it current

An import is a snapshot you take; apart from a connected NetBox, Dawnsentry doesn't poll the source. Re-run the export after an upgrade round and upload it again, and the findings the new versions fix close by themselves. For a system of your own, the API does the same with an API key (Users & alerts → Integrations): list, add and change items from a script.

Next: Import Linux and Windows servers · Questions? info@dawnsentry.com

Dawnsentry · Denmark · CVR 30093186 · info@dawnsentry.com
The Xsentry engineQuick lookupVulnerabilities by productTermsPrivacyDPASub-processorsSelf-hostedSelf-hosted termsGuidesContactStatusSign in

This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation.