What is Zabbix?
Zabbix is an open-source monitoring solution used to track the performance and health of IT infrastructure, including servers, networks, and applications. It collects data on various system metrics, such as CPU usage, memory, disk space, and network traffic, and provides real-time insights into the status and performance of these systems. Zabbix can detect issues and trigger alerts when predefined thresholds are reached, helping IT teams identify and resolve potential problems before they cause downtime. The platform supports different monitoring methods, including agent-based monitoring, SNMP, and IPMI, and it provides customizable dashboards, detailed reports, and historical data analysis. Zabbix is ideal for businesses that need a scalable and centralized solution for ensuring the reliability and performance of their IT infrastructure.
Functions
SMS Dispatch
Once seven has been integrated into Zabbix, alarms can be sent via SMS using the seven gateway.
Installation
- 1
Check requirements
Make sure that Python 2+ is installed on the system.
- 2
Copy script
Copy seven.py to the Zabbix script directory, usually
/usr/share/zabbix/alertscripts
. - 3
Open Zabbix web interface
Open the Zabbix web interface, usually under http://localhost/zabbix.
- 4
Create media type
- Navigate to
Administration > Media Types
. - Click on "Create media type" and fill out the form - (Screenshot).
- Navigate to
- 5
Send test message
You can send a test SMS by clicking on "Test". Fill out the form and send it - (Screenshot).
- 6
Add user media
- Go to 'Users', select one, go to 'Media' and click on "Add".
- Fill out the form - (Screenshot).
- Click on "Add" and "Update" to save the changes.
Usage
Options
seven.py
[-h]
[--debug]
[--delay DELAY]
[--details]
[--flash]
[--foreign_id FOREIGN_ID]
[--from FROM]
[--json]
[--label LABEL]
[--no_reload]
[--performance_tracking]
[--return_msg_id]
[--ttl TTL]
[--udh UDH]
[--unicode]
[--utf8]
api_key to text