I've developed a new add-on: The WarrantySync Add-on for automatic warranty lookups directly from the CMDB.
What does the add-on do?
The WarrantySync Add-on automatically retrieves warranty information for IT hardware assets from Dell and Lenovo and stores them directly in your CMDB ConfigItem class attributes. Runs as a daily cron job - zero manual effort.
Supported manufacturers:
- Dell - TechDirect API v5 (Client ID + Secret, free via techdirect.dell.com)
- Lenovo - PC Support API v4 (public API, no API key needed!)
- Warranty end date + start date
- Warranty type (e.g. "ProSupport Next Business Day", "5Y Premier Support Plus")
- Warranty status (Active/Expired - calculated locally)
- Vendor product name (e.g. "Dell PRECISION 5550")
- Ship date + ship-to country
- Configurable field mapping - Target fields freely selectable, adapts to your CMDB structure
- Smart recheck - Separate intervals for active/expired warranties
- Only real changes - New CMDB version only when data actually changes (no version bloat)
- Expiry notification - Automatically create ticket when warranty expires soon (queue, priority, filter configurable)
- Duplicate protection - One ticket per asset per end date, new ticket on warranty extension
- Retry logic - Exponential backoff on API errors (429, 5xx)
- Dell batch queries - Up to 100 serial numbers per request
- Out-of-the-box - Standard ITSM "Computer" class already has WarrantyExpirationDate
150 Dell laptops + 50 Lenovo ThinkPads in the CMDB:
1. Enter Dell API credentials
2. Enable Lenovo provider (no key needed)
3. Run sync:
Code: Select all
bin/znuny.Console.pl Maint::WarrantySync::Run --forceRequirements:
- Znuny 7.2.x
- ITSM ConfigurationManagement
- Internet access to manufacturer APIs
Code: Select all
bin/znuny.Console.pl Admin::Package::Install /path/to/WarrantySync-7.2.0.opm1. Enable feature: Admin > SysConfig > WarrantySync::Enabled
2. Configure API credentials
3. Verify vendor mapping
4. Run first sync
Links:
- Repository: codeberg.org/wolkig-it/znuny_warranty_sync
- Documentation: In repository under /docs
- Blog article: wolkig.it/blog/znuny-warranty-sync-addon
License: GPL v3 - Open Source, free, modifications allowed
Feedback and suggestions are welcome! The add-on was created with the help of Claude Code - feel free to ask if you're interested in the development methodology.
Best regards
Stephan Lang
wolkig.it