Ad Widget

Collapse

Monitoring custom alerts in PHP applications

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SHussainAkbar
    Junior Member
    • Apr 2023
    • 1

    #1

    Monitoring custom alerts in PHP applications


    I've set up Zabbix to monitor servers and network devices. I installed the agent and configured it to send stats on MySQL, Apache, etc. No issues so far.

    What I'm wondering is, can I send alerts from my PHP apps to Zabbix. They'd be custom alerts, not related to performance, e.g. "Warning: Low inventory of socks", "Info: Customer selected a single item only", "Error: Customer selected out of stock item", and so on. That way, I would have a single point of monitoring.

    I thought of sending such custom alerts using SNMP, but that won't work for those of my apps that are hosted on external clouds as my Zabbix server is on my local LAN. The apps run on VM's on GoDaddy, et al where I installed the agent service.

  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    1) https://www.zabbix.com/documentation...oncepts/sender
    2) https://www.zabbix.com/documentation.../items/trapper

    Comment

    Working...