We received a question in our Reddit asking if we have any integration with Zabbix. While looking for a solution our solutions architect put together a small PowerShell script (PoC) that pulls backup plan status via the MSP360 API and makes it usable in Zabbix.
Looking for your feedback and ideas on how we can expand this.
What this does
The script allows you to:
-
Retrieve backup plan status (Success, Error, Overdue, etc.)
-
Filter results by:
- Computer name
- Plan name
- Plan ID (priority)
-
Output either:
- Status text
- Status codes (better for Zabbix triggers)
Example usage
Text output:
./MBSAPI_GetPlanStatus_Zabbix.ps1 -ComputerName "Win10-Demo" -PlanName "Backup Image Based"
Output:
Success
Numeric output (for Zabbix):
./MBSAPI_GetPlanStatus_Zabbix.ps1 -PlanName "Backup files on SERVER" -OutputStatusCode
Output:
0
How to use with Zabbix
You can plug this into Zabbix via:
- UserParameter
- External scripts
- Agent checks
Typical mapping:
0→ OK1+→ Warning/Error
Linux support
The script works not only on Windows but also on Linux using PowerShell Core (pwsh).
Installation guide: https://learn.microsoft.com/en-us/powershell/scripting/install/install-powershell-on-linux?view=powershell-7.5
Important notes
-
This is a proof of concept, not a production-ready integration
-
API credentials must be added inside the script:
$APILogin = "" $APIPassword = "" -
Main limitation: credentials are stored in plain text
Feedback welcome
This started as a quick PoC while investigating the use case, so I’d really appreciate feedback:
- Would this approach work in your setup?
- What additional data would you want from MSP360 in Zabbix?
- Any specific use cases we should consider?
Happy to help refine this further