check_eve_ng

command module
v0.0.0-...-7c91608 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2020 License: BSD-2-Clause Imports: 9 Imported by: 0

README

check-eve-ng

Go Report Card GitHub license

Description

monitoring check plugin for the EVE-NG API (written in golang). The plugin complies with the Monitoring Plugins Development Guidelines and should therefore be compatible with nagios, icinga2, zabbix, checkmk, etc.

Example / Usage

Usage:
  check_eve_ng [OPTIONS]

Application Options:
      --hostname=                    Hostname
      --username=                    Username
      --password=                    Password
      --lab=                         Lab that will be included in monitoring
      --all-nodes-up                 Check if all nodes in the given labs are up
      --performance-data-json-label  Output performance data label in json format
      --exclude-node=                Exclude a node by its uuid
      --labs-exist                   Check if all given labs exist (only checks for implicit named labs in the input parameters)
      --lab-performance-data         Print performance data for all included labs
      --force-http                   Force http instead of https

Help Options:
  -h, --help                         Show this help message



Examples:
Check if a lab exists:
./check_eve_ng --hostname $hostname --username $username --password $password --lab myLab --labs-exist 
CRITICAL: lab myLab does not exist! | 'vpcs'=0;;;; 'iol'=0;;;; 'dynamips'=0;;;; 'qemu'=4;;;; 'docker'=0;;;;

Check if all nodes are up on all labs:
./check_eve_ng --hostname $hostname --username $username --password $password --lab all --all-hosts-up
OK: checked!

Installation

To install, use go get and go build:

go get github.com/inexio/check_eve_ng
go build github.com/inexio/check_eve_ng

Staying up to date

To update to the latest version, use go get -u github.com/inexio/check_eve_ng.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL