Hi
I would like to monitor whether a process is running where I get the process name from a text file.
I have a bash command
/usr/bin/find /home/user/*/current/config -name "sidekiq.yml"|awk -F"/" '{print $4}' that gives me
app1
app2
app3
app4
There will be processes running which will be named app1, app2, app3 etc
Zabbix will then alert if a process has failed.
Is this possible?
I have other proc.num commands, but have always hard coded the process name.
I would like to monitor whether a process is running where I get the process name from a text file.
I have a bash command
/usr/bin/find /home/user/*/current/config -name "sidekiq.yml"|awk -F"/" '{print $4}' that gives me
app1
app2
app3
app4
There will be processes running which will be named app1, app2, app3 etc
Zabbix will then alert if a process has failed.
Is this possible?
I have other proc.num commands, but have always hard coded the process name.
Comment