Ad Widget

Collapse

Apache - {$APACHE.PROCESS.NAME.PARAMETER}

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stevefxp
    Senior Member
    • Aug 2020
    • 168

    #1

    Apache - {$APACHE.PROCESS.NAME.PARAMETER}

    Is this parameter the actual service name of the Apache process, like httpd.service, or am I barking up the wrong tree? Right now it is blank in the template.
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    https://www.zabbix.com/integrations/apache
    {$APACHE.PROCESS.NAME.PARAMETER} The process name of the Apache web server used in the item key proc.get. It could be specified if the correct process name is known.
    Apache: Get processes summary The aggregated data of summary metrics for all processes. Zabbix agent proc.get[{$APACHE.PROCESS.NAME.PARAMETER},,,summary]
    https://www.zabbix.com/documentation/6.4/en/manual/appendix/items/proc_get?hl=proc.get

    If you set it to "httpd" (I think), it will display summary data for that process only, otherwise for all processes. I think there might be differences between distros, some use httpd, some apache2 as process name ...

    Comment

    • stevefxp
      Senior Member
      • Aug 2020
      • 168

      #3
      I tried putting httpd in there but then I got an error saying the Apache process was not running. I leave it blank and the error goes away. I am on CentOS 7.9, so Apache2 should not work.

      Comment

      Working...