Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

App Lighttpd by Zabbix Agent

Overview

A very simple Zabbix Agent template for monitoring Lighttpd using the ModStatus module.

Author

Dave Humphrey ([email protected])

Macros used

Name Description Default Type
{$LIGHTTPD.PROCESS_NAME}

Lighttpd server process name

lighttpd Text macro
{$LIGHTTPD.RESPONSE_TIME.MAX.WARN}

Maximum Lighttpd response time in seconds for trigger expression

10 Text macro
{$LIGHTTPD.STATUS.HOST}

Hostname or IP address of the Lighttpd status page

127.0.0.1 Text macro
{$LIGHTTPD.STATUS.PATH}

The URL path to the Lighttpd stats page

server-status?json Text macro
{$LIGHTTPD.STATUS.PORT}

The port of the Lighttpd status page

80 Text macro

Template links

There are no template links in this template.

Discovery rules

There are no discovery rules in this template.

Items collected

Name Description Type Key and additional info
Lighttpd: Total Requests

Total requests since server started

Dependent item lighttpd.requests.total

Update: 0

Lighttpd: Requets per second

Calculated as change rate for 'RequestsTotal' stat.

Dependent item lighttpd.requests.rate

Update: 0

Lighttpd: Uptime

Service uptime in seconds

Dependent item lighttpd.uptime

Update: 0

Lighttpd: Service response time

-

Zabbix agent net.tcp.service.perf[http,"{$LIGHTTPD.STATUS.HOST}","{$LIGHTTPD.STATUS.PORT}"]

Update: 1m

Lighttpd: Bytes per second

Calculated as change rate for 'TrafficTotal' stat.

Dependent item lighttpd.bytes.rate

Update: 0

Lighttpd: Number of processes running

-

Zabbix agent proc.num["{$LIGHTTPD.PROCESS_NAME}"]

Update: 1m

Lighttpd: Traffic Average 5 sec

Average traffic rate in the last 5 sec as recorded by Lighttpd.

Dependent item lighttpd.traffic.average5s

Update: 0

Lighttpd: CPU utilization

Process CPU utilization percentage.

Zabbix agent proc.cpu.util["{$LIGHTTPD.PROCESS_NAME}"]

Update: 1m

Lighttpd: Request Rate 5 sec

Average request rate in the last 5 sec as recorded by Lighttpd.

Dependent item lighttpd.requests.average5s

Update: 0

Lighttpd: Get status

Getting data from a machine-readable version of the Lighttpd status page. https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModStatus

Zabbix agent web.page.get["{$LIGHTTPD.STATUS.HOST}","{$LIGHTTPD.STATUS.PATH}","{$LIGHTTPD.STATUS.PORT}"]

Update: 1m

Lighttpd: Idle Servers

Current number of Lighttpd threads that are idle and waiting for a request

Dependent item lighttpd.servers.idle

Update: 0

Lighttpd: Memory usage (vsize)

Virtual memory size used by process in bytes.

Zabbix agent proc.mem["{$LIGHTTPD.PROCESS_NAME}",,,,vsize]

Update: 1m

Lighttpd: Memory usage (rss)

Resident set size memory used by process in bytes.

Zabbix agent proc.mem["{$LIGHTTPD.PROCESS_NAME}",,,,rss]

Update: 1m

Lighttpd: Total bytes

Total bytes served since restart

Dependent item lighttpd.bytes

Update: 0

Lighttpd: Service ping

-

Zabbix agent net.tcp.service[http,"{$LIGHTTPD.STATUS.HOST}","{$LIGHTTPD.STATUS.PORT}"]

Update: 1m

Lighttpd: Busy servers

Number of Lighttpd threads currently serving requests.

Dependent item lighttpd.servers.busy

Update: 0

Triggers

There are no triggers in this template.