How to check whether my Apache is running or not using ncpa
Posted: Fri Aug 03, 2018 4:19 am
Hi,
Is there any way I can check whether my other services like httpd is running on a remote VM using ncpa passive checks?
[passive checks]
%HOSTNAME%|__HOST__|120 = system/agent_version
%HOSTNAME%|Disk Usage = disk/logical/| --warning 80 --critical 90 --units Gi
%HOSTNAME%|CPU Usage = cpu/percent --warning 80 --critical 90 --aggregate avg
%HOSTNAME%|Swap Usage = memory/swap --warning 80 --critical 90 --units Gi
%HOSTNAME%|Memory Usage = memory/virtual --warning 80 --critical 90 --units Gi
%HOSTNAME%|Process Count = processes --warning 300 --critical 400
%HOSTNAME%|Process Check = processes -q 'name=httpd' -c 1:1
I tried to use the above config, but Process Count and Process Check both are giving me the same results.
Thanks,
Charan
Is there any way I can check whether my other services like httpd is running on a remote VM using ncpa passive checks?
[passive checks]
%HOSTNAME%|__HOST__|120 = system/agent_version
%HOSTNAME%|Disk Usage = disk/logical/| --warning 80 --critical 90 --units Gi
%HOSTNAME%|CPU Usage = cpu/percent --warning 80 --critical 90 --aggregate avg
%HOSTNAME%|Swap Usage = memory/swap --warning 80 --critical 90 --units Gi
%HOSTNAME%|Memory Usage = memory/virtual --warning 80 --critical 90 --units Gi
%HOSTNAME%|Process Count = processes --warning 300 --critical 400
%HOSTNAME%|Process Check = processes -q 'name=httpd' -c 1:1
I tried to use the above config, but Process Count and Process Check both are giving me the same results.
Thanks,
Charan