Skip to content

Monitoring the Passenger application server with Zabbix

Notifications You must be signed in to change notification settings

lfventura/zabbix-passenger

 
 

Repository files navigation

Zabbix Passenger monitoring utility

This small utility parses the output of passenger-status and produces values that can be used with the accompanying zabbix template (zabbix-template.xml).

Copy the binary to /usr/local/bin and put the userparameter_passenger.conf file to the correct location to be included in your agent configuration.

The helper binary looks for passenger-status in the path or a RVM wrapper for the default Ruby.

HOW TO COMPILE

mkdir ~/work/src/lucas/user/zabbix-passenger cp *.go src/lucas/user/zabbix-passenger/

export GOPATH=$HOME/work export PATH=$PATH:/usr/local/go/bin

go get golang.org/x/net/html/charset go get gopkg.in/alecthomas/kingpin.v2 go get launchpad.net/xmlpath

go install lucas/user/zabbix-passenger

Copy the binary to the desired system

HOW TO ADD TO ZABBIX AGENT

  1. Copy the binary to the application server
  2. Move the file to /usr/local/bin
  3. Put the userparameter_passenger.conf at your zabbix conf folder and restart it
  4. Ready to go! :)

About

Monitoring the Passenger application server with Zabbix

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%