Ad Widget

Collapse

Apache WebServer monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shardapawar
    Junior Member
    • Oct 2013
    • 4

    #1

    Apache WebServer monitoring

    I have used this link to monitor the apache webserver https://www.zabbix.com/wiki/templates/apache

    and using the method 3 for monitoring the same.

    But using the localhost conifiguration in the zpache script its providing the items in the not supported mode and even the link is not reflectiing any values.

    https://*.*.*.*/server-status
    Please help
  • Pada
    Senior Member
    • Apr 2012
    • 236

    #2
    Remove the \ from the line in the configuration. So it would change from:
    Code:
    UserParameter=apache[*],/home/zabbix/bin/zapache \$1
    to:
    Code:
    UserParameter=apache[*],/home/zabbix/bin/zapache $1
    Secondly, make sure that the script is working under the zabbix user, by running the script from command line as the zabbix user (when logged in as root):
    Code:
    su zabbix -c '/home/zabbix/bin/zapache TotalAccesses'
    If that does not work, then first fix that before attempting to fix the Zabbix settings.

    Lastly, please take note that you cannot post a custom URL in the forum like you did - because it gets filtered out.

    Comment

    • shardapawar
      Junior Member
      • Oct 2013
      • 4

      #3
      I need to monitor the Max Clients(Number of Threads) of apache web server ,but the script zapache.sh doesnt have that parameter.

      Can anyone help how to go about this.

      Comment

      Working...