Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

toxinu/nagator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Nagator is a command line Nagios configuration viewer written in Python. It use pynag and clint as dependencies.

Installation

Install with pip: :

pip install nagator

Usage

Print list of every hosts (templates not include) with legend: :

nagator --list host --options small,legend --address '(.*)'

Print service templates: :

nagator --list service --register 0

Aliases

There are some aliases examples: :

# Print pretty list of every hosts (templates not include)
alias nagator-hosts="nagator --list host --options small --address '(.*)'"

# Same with services
alias nagator-services="nagator --list service --options small --host_name '(.*)'"

Todo

  • If service or host have no register option and give filter with register 1, print it
  • Implement hostdependency, hostdependency
  • Better view for timeperiods

See LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages