Hey everyone,
short version:
how to add own scripts and add alerting on specific behaviors?
long version:
I have written a script that monitors PHP-FPM pools, especially the processes - In detail it checks on execution or in real-time (loop) the php log file for "server reached pm.max_children setting".
I want to use this script with Zabbix to get an alarm when the script reports occurence.
Preferably an action should first try (I also have a script for this) to raise the maximum possible processes before an alarm comes. If the script cant raise it, a alarm comes up.
How can I configure something like this in Zabbix? It is enough for me to get the right documentation, because I can't find anything about this. Especially alarming on specific script notifications.
Best regards
NeoNomad
short version:
how to add own scripts and add alerting on specific behaviors?
long version:
I have written a script that monitors PHP-FPM pools, especially the processes - In detail it checks on execution or in real-time (loop) the php log file for "server reached pm.max_children setting".
I want to use this script with Zabbix to get an alarm when the script reports occurence.
Preferably an action should first try (I also have a script for this) to raise the maximum possible processes before an alarm comes. If the script cant raise it, a alarm comes up.
How can I configure something like this in Zabbix? It is enough for me to get the right documentation, because I can't find anything about this. Especially alarming on specific script notifications.
Best regards
NeoNomad
Comment