Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
lib
 
 
 
 
 
 

zmonitor

A command line interface for viewing alerts from a Zabbix instance.

Requirements

Rubygems: json (json_pure is fine), colored

Usage

zmonitor [options]
    -a, --ack MATCH                  Acknowledge current events that match a pattern MATCH. No wildcards.
    -m, --disable-maintenance        Filter out servers marked as being in maintenance.
    -1, --print-once                 Only check Zabbix once and print out all alerts.
    -h                               Show this help

Setting Up

Build the gem and install it:

gem build zmonitor.gemspec
gem install zmonitor-1.0.9.gem

And run:

zmonitor

You'll be prompted initially for the server, and your login information. If you make a mistake or ned to use something different, just remove the associated files in your home directory:

rm ~/.zmonitor-token ~/.zmonitor-server

TODO

  • Fixup weird debugging / add verbose flag.
  • Move the output into an ncurses layout

About

UNMAINTAINED. Uses Zabbix 1.8's JSON API to return a list of unresolved alerts

Resources

Releases

No releases published

Packages

No packages published

Languages